Hello,
I am trying to create a rhel7 distro in cobbler and am getting the following Python stack trace:
root@hostname # cobbler import --name=rhel70-x86_64 --arch=x86_64 --path=/mnt task started: 2014-11-06_124830_import task started (id=Media import, time=Thu Nov 6 12:48:30 2014) Exception occured: <class 'cobbler.cexceptions.CX'> Exception value: 'Command failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 232, in runner self.logger File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 879, in import_tree utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger) File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 920, in run_this die(logger,"Command failed") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 137, in die raise CX(msg)
!!! TASK FAILED !!!
In cobbler.log it says that rpms have "failed verification" and the "update discarded". Any help will be greatly appreciated.
Wadud Miah Sent from Samsung Galaxy
On 11/06/2014 12:51 PM, W. Miah wrote:
I am trying to create a rhel7 distro in cobbler and am getting the following Python stack trace:
root@hostname # cobbler import --name=rhel70-x86_64 --arch=x86_64 --path=/mnt task started: 2014-11-06_124830_import task started (id=Media import, time=Thu Nov 6 12:48:30 2014) Exception occured: <class 'cobbler.cexceptions.CX http://cobbler.cexceptions.CX'> Exception value: 'Command failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 232, in runner self.logger File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 879, in import_tree utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger) File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 920, in run_this die(logger,"Command failed") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 137, in die raise CX(msg)
!!! TASK FAILED !!!
In cobbler.log it says that rpms have "failed verification" and the "update discarded". Any help will be greatly appreciated.
This is a rsync error. You could copy the entire rsync output to a pastebin and paste its URL here so we could evaluate better.
Often, there is a "Input/output error" error msg along with those errors msgs you mentioned. If this is the case, this indicates the impossibility of reading/writing from/to a file; I'd guess either there are insufficient permissions on /mnt, mounted ISO is corrupt or there are disk defects in source/target directory.
Regards, Alan Evangelista
Hi Alan,
You are spot on. The iso image was incomplete so I downloaded the image again.
I am trying update the distro signature file to include rhel7 but my server is on a private network so cannot access cobbler.github.com so cannot run "cobbler signature update". I have copied cobbler.github.com/signatures/latest.json manually to /var/lib/cobbler/distro_signatures.json but cobbler doesn't see rhel7. Any help will be appreciated.
Thanks in advance,
Wadud Miah Sent from Samsung Galaxy On 6 Nov 2014 18:40, "Alan Evangelista" alanoe@linux.vnet.ibm.com wrote:
On 11/06/2014 12:51 PM, W. Miah wrote:
I am trying to create a rhel7 distro in cobbler and am getting the following Python stack trace:
root@hostname # cobbler import --name=rhel70-x86_64 --arch=x86_64 --path=/mnt task started: 2014-11-06_124830_import task started (id=Media import, time=Thu Nov 6 12:48:30 2014) Exception occured: <class 'cobbler.cexceptions.CX < http://cobbler.cexceptions.CX%3E%27%3E Exception value: 'Command failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 232, in runner self.logger File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 879, in import_tree utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger) File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 920, in run_this die(logger,"Command failed") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 137, in die raise CX(msg)
!!! TASK FAILED !!!
In cobbler.log it says that rpms have "failed verification" and the "update discarded". Any help will be greatly appreciated.
This is a rsync error. You could copy the entire rsync output to a pastebin and paste its URL here so we could evaluate better.
Often, there is a "Input/output error" error msg along with those errors msgs you mentioned. If this is the case, this indicates the impossibility of reading/writing from/to a file; I'd guess either there are insufficient permissions on /mnt, mounted ISO is corrupt or there are disk defects in source/target directory.
Regards, Alan Evangelista
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
Did you restart cobblerd ?
On Fri, Nov 7, 2014 at 3:50 PM, W. Miah wadud.miah@gmail.com wrote:
Hi Alan,
You are spot on. The iso image was incomplete so I downloaded the image again.
I am trying update the distro signature file to include rhel7 but my server is on a private network so cannot access cobbler.github.com so cannot run "cobbler signature update". I have copied cobbler.github.com/signatures/latest.json manually to /var/lib/cobbler/distro_signatures.json but cobbler doesn't see rhel7. Any help will be appreciated.
Thanks in advance,
Wadud Miah Sent from Samsung Galaxy On 6 Nov 2014 18:40, "Alan Evangelista" alanoe@linux.vnet.ibm.com wrote:
On 11/06/2014 12:51 PM, W. Miah wrote:
I am trying to create a rhel7 distro in cobbler and am getting the following Python stack trace:
root@hostname # cobbler import --name=rhel70-x86_64 --arch=x86_64 --path=/mnt task started: 2014-11-06_124830_import task started (id=Media import, time=Thu Nov 6 12:48:30 2014) Exception occured: <class 'cobbler.cexceptions.CX < http://cobbler.cexceptions.CX%3E%27%3E Exception value: 'Command failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 232, in runner self.logger File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 879, in import_tree utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger) File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 920, in run_this die(logger,"Command failed") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 137, in die raise CX(msg)
!!! TASK FAILED !!!
In cobbler.log it says that rpms have "failed verification" and the "update discarded". Any help will be greatly appreciated.
This is a rsync error. You could copy the entire rsync output to a pastebin and paste its URL here so we could evaluate better.
Often, there is a "Input/output error" error msg along with those errors msgs you mentioned. If this is the case, this indicates the impossibility of reading/writing from/to a file; I'd guess either there are insufficient permissions on /mnt, mounted ISO is corrupt or there are disk defects in source/target directory.
Regards, Alan Evangelista
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
Hi Jorgen,
A restart did solve the problem. Thanks for the quick reply!
Wadud Miah Sent from Samsung Galaxy On 8 Nov 2014 07:18, "Jörgen Maas" jorgen.maas@gmail.com wrote:
Did you restart cobblerd ?
On Fri, Nov 7, 2014 at 3:50 PM, W. Miah wadud.miah@gmail.com wrote:
Hi Alan,
You are spot on. The iso image was incomplete so I downloaded the image again.
I am trying update the distro signature file to include rhel7 but my server is on a private network so cannot access cobbler.github.com so cannot run "cobbler signature update". I have copied cobbler.github.com/signatures/latest.json manually to /var/lib/cobbler/distro_signatures.json but cobbler doesn't see rhel7. Any help will be appreciated.
Thanks in advance,
Wadud Miah Sent from Samsung Galaxy On 6 Nov 2014 18:40, "Alan Evangelista" alanoe@linux.vnet.ibm.com wrote:
On 11/06/2014 12:51 PM, W. Miah wrote:
I am trying to create a rhel7 distro in cobbler and am getting the following Python stack trace:
root@hostname # cobbler import --name=rhel70-x86_64 --arch=x86_64 --path=/mnt task started: 2014-11-06_124830_import task started (id=Media import, time=Thu Nov 6 12:48:30 2014) Exception occured: <class 'cobbler.cexceptions.CX < http://cobbler.cexceptions.CX%3E%27%3E Exception value: 'Command failed' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 232, in runner self.logger File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 879, in import_tree utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger) File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 920, in run_this die(logger,"Command failed") File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 137, in die raise CX(msg)
!!! TASK FAILED !!!
In cobbler.log it says that rpms have "failed verification" and the "update discarded". Any help will be greatly appreciated.
This is a rsync error. You could copy the entire rsync output to a pastebin and paste its URL here so we could evaluate better.
Often, there is a "Input/output error" error msg along with those errors msgs you mentioned. If this is the case, this indicates the impossibility of reading/writing from/to a file; I'd guess either there are insufficient permissions on /mnt, mounted ISO is corrupt or there are disk defects in source/target directory.
Regards, Alan Evangelista
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
-- Grtz, Jörgen Maas
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
On 11/07/2014 12:50 PM, W. Miah wrote:
Hi Alan,
You are spot on. The iso image was incomplete so I downloaded the image again.
I am trying update the distro signature file to include rhel7 but my server is on a private network so cannot access cobbler.github.com http://cobbler.github.com so cannot run "cobbler signature update". I have copied cobbler.github.com/signatures/latest.json http://cobbler.github.com/signatures/latest.json manually to /var/lib/cobbler/distro_signatures.json but cobbler doesn't see rhel7. Any help will be appreciated.
Have you restarted cobblerd after copying the signatures?
Regards, Alan Evangelista
Hi Alan,
The restart resolved the problem. Many thanks for your help.
Regards, Wadud On 10 Nov 2014 11:33, "Alan Evangelista" alanoe@linux.vnet.ibm.com wrote:
On 11/07/2014 12:50 PM, W. Miah wrote:
Hi Alan,
You are spot on. The iso image was incomplete so I downloaded the image again.
I am trying update the distro signature file to include rhel7 but my server is on a private network so cannot access cobbler.github.com < http://cobbler.github.com%3E so cannot run "cobbler signature update". I have copied cobbler.github.com/signatures/latest.json < http://cobbler.github.com/signatures/latest.json%3E manually to /var/lib/cobbler/distro_signatures.json but cobbler doesn't see rhel7. Any help will be appreciated.
Have you restarted cobblerd after copying the signatures?
Regards, Alan Evangelista
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org