Skip to content

Instantly share code, notes, and snippets.

@pkilambi
Created December 3, 2013 21:50
Show Gist options
  • Save pkilambi/7778071 to your computer and use it in GitHub Desktop.
Save pkilambi/7778071 to your computer and use it in GitHub Desktop.
root@build-server:/etc/puppet/modules/cobbler/files# ./cobbler_sync.py -y /etc/puppet/data/cobbler.yaml
--2013-12-03 21:49:03-- http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/installer-amd64/current/images/netboot/mini.iso
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.92.156, 91.189.92.201, 91.189.91.13, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.92.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34603008 (33M) [application/x-iso9660-image]
Saving to: `/tmp/cobbler-ubuntu-import.rc3MiN/precise-x86_64-mini.iso'
0K ........ ........ ........ ........ ........ ........ 9% 539K 57s
3072K ........ ........ ........ ........ ........ ........ 18% 754K 44s
6144K ........ ........ ........ ........ ........ ........ 27% 735K 37s
9216K ........ ........ ........ ........ ........ ........ 36% 762K 31s
12288K ........ ........ ........ ........ ........ ........ 45% 750K 26s
15360K ........ ........ ........ ........ ........ ........ 54% 761K 22s
18432K ........ ........ ........ ........ ........ ........ 63% 750K 17s
21504K ........ ........ ........ ........ ........ ........ 72% 763K 13s
24576K ........ ........ ........ ........ ........ ........ 81% 743K 9s
27648K ........ ........ ........ ........ ........ ........ 90% 762K 4s
30720K ........ ........ ........ ........ ........ ........100% 717K 0s
33792K 100% 0.00 =47s
Last-modified header invalid -- time-stamp ignored.
2013-12-03 21:49:51 (724 KB/s) - `/tmp/cobbler-ubuntu-import.rc3MiN/precise-x86_64-mini.iso' saved [34603008/34603008]
httpd does not appear to be running and proxying cobbler
mount: warning: /tmp/cobbler-ubuntu-import.rc3MiN/mnt seems to be mounted read-only.
httpd does not appear to be running and proxying cobbler
failed to import precise-x86_64
Traceback (most recent call last):
File "./cobbler_sync.py", line 152, in <module>
main()
File "./cobbler_sync.py", line 137, in main
update_profile(nodes['profile'])
File "./cobbler_sync.py", line 64, in update_profile
pid = server.get_profile_handle('%s-%s' % (distname,distarch),token)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "<class 'cobbler.cexceptions.CX'>:'internal error, unknown profile name precise-x86_64'">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment