Bug 461693 - Cobbler update failed
Summary: Cobbler update failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael DeHaan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-09 22:24 UTC by john5342
Modified: 2008-09-11 20:06 UTC (History)
1 user (show)

Fixed In Version: 1.2.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-11 14:27:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description john5342 2008-09-09 22:24:42 UTC
Description of problem:
Update of cobbler failed

Version-Release number of selected component (if applicable):
cobbler-1.2.0-1.fc9.noarch.rpm

How reproducible:


Steps to Reproduce:
1. yum update
2.
3.
  
Actual results:
Failed during update and gave a traceback:

Traceback (most recent call last):                                                                                                                                                  
  File "/usr/bin/cobbler", line 17, in <module>                                                                                                                                     
    import cobbler.cobbler as app                                                                                                                                                   
  File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 26, in <module>                                                                                                  
    import api                                                                                                                                                                      
  File "/usr/lib/python2.5/site-packages/cobbler/api.py", line 207                                                                                                                  
    <<<<<<< HEAD:cobbler/api.py                                                                                                                                                     
     ^                                                                                                                                                                              
SyntaxError: invalid syntax                                                                                                                                                         
Stopping cobbler daemon: [  OK  ]                                                                                                                                                   
Starting cobbler daemon: Traceback (most recent call last):                                                                                                                         
  File "/usr/bin/cobblerd", line 19, in <module>                                                                                                                                    
    import cobbler.api as bootapi                                                                                                                                                   
  File "/usr/lib/python2.5/site-packages/cobbler/api.py", line 207                                                                                                                  
    <<<<<<< HEAD:cobbler/api.py                                                                                                                                                     
     ^                                                                                                                                                                              
SyntaxError: invalid syntax                                                                                                                                                         
[FAILED]                                                                                                                                                                            
error: %post(cobbler-1.2.0-1.fc9.noarch) scriptlet failed, exit status 1


Expected results:
cobbler updates without issue

Additional info:

Comment 1 Michael DeHaan 2008-09-11 14:27:28 UTC
Hi John,

For whatever reason, Fedora has 1.2.0 in updates since updates have just been turned back on, though fixes have been in queue for some time and I submitted 1.2.1 a couple of days after 1.2.0 came out.   While Fedora mirrors will have 1.2.4 soon, you can also find the latest at 

http://people.fedoraproject.org/~mdehaan/files/cobbler/

Upgrading to 1.2.4 is recommended, and you can do this with RPM if you do not want to wait for the mirrors.

--Michael

Comment 2 john5342 2008-09-11 17:13:08 UTC
Fetched 1.2.4 straight from koji. Install was successful.

Would however note that the install was noisy which it shouldn't be. Output was:

Running Transaction
  Updating       : cobbler                                           [1/3]
reading from old config format: /var/lib/cobbler/distros
auto-removing old config format: /var/lib/cobbler/distros
reading from old config format: /var/lib/cobbler/repos
auto-removing old config format: /var/lib/cobbler/repos
reading from old config format: /var/lib/cobbler/profiles
auto-removing old config format: /var/lib/cobbler/profiles
reading from old config format: /var/lib/cobbler/systems
auto-removing old config format: /var/lib/cobbler/systems
  Cleanup        : cobbler                                           [2/3]
  Cleanup        : cobbler                                           [3/3]

Comment 3 Michael DeHaan 2008-09-11 19:44:57 UTC
Cobbler should not migrate your configs unless you replaced your modules.conf with modules.conf.rpmnew.

Comment 4 john5342 2008-09-11 19:57:27 UTC
I have never touched modules.conf and there is also no modules.con.rpmnew. In fact i have never even touched cobbler. Only installed a few months to solve a possible problem with another system but never ended up needing it so never touched any configs. It just sits there and gets updated with the rest of y packages.

Noise is not big deal for me. Just thought you should know it was appearing despite the fact the general rule in packaging is to keep the noise down to only showing errors.

New package does at least solve the issue with failing update.

Comment 5 Michael DeHaan 2008-09-11 20:06:42 UTC
That message for upgrading users is pretty signfigant and they would want to see it, for new installs, that should /not/ be there.

I am guessing it is a side effect of the past install not completing all the way though I can't be certain.  I would not be worried about it though I'll do some clean install testing to make sure in normal scenarios that output is not printed as it clearly doesn't apply.

Glad your update issue is resolved.

Thanks!


Note You need to log in before you can comment on or make changes to this bug.