Bug 1409506
| Summary: | Traceback during cobbler setup while upgrading | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Lukáš Hellebrandt <lhellebr> |
| Component: | Upgrades | Assignee: | Tomáš Kašpárek <tkasparek> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 570 | CC: | lhellebr, tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-22 10:31:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1358815 | ||
Description of problem: I encountered the following traceback when upgrading a Satellite 570 on EmbPostgreSQL RHEL6 to 580: """ trying symlink /var/satellite/rhn/kickstart/ks-rhel-x86_64-server-6-6.7/images/pxeboot/vmlinuz -> /var/www/cobbler/images/ks-rhel-x86_64-server-6-67/vmlinuz trying symlink /var/satellite/rhn/kickstart/ks-rhel-x86_64-server-6-6.7/images/pxeboot/initrd.img -> /var/www/cobbler/images/ks-rhel-x86_64-server-6-67/initrd.img copying files for distro: ks-local-parent-stable-channel-x86_64:1:RedHatSatTeamQA Exception occured: <type 'exceptions.AttributeError'> Exception value: 'NoneType' object has no attribute 'lower' Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run rc = self._run(self) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 186, in runner return self.remote.api.sync(self.options.get("verbose",False),logger=self.logger) File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 608, in sync return sync.run() File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line 115, in run self.pxegen.copy_distros() File "/usr/lib/python2.6/site-packages/cobbler/pxegen.py", line 135, in copy_distros self.copy_single_distro_files(d) File "/usr/lib/python2.6/site-packages/cobbler/pxegen.py", line 164, in copy_single_distro_files if utils.file_is_remote(kernel): File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 507, in file_is_remote file_loc_lc = file_location.lower() !!! TASK FAILED !!! """ How reproducible: Sometimes; I will leave a comment when I learn a reproducer Actual results: Traceback Expected results: 1) A nice error message 2) Fix a traceback cause if it is a bug