Bug 980663 - upgrade hangs on boot: global name 'log' is not defined
Summary: upgrade hangs on boot: global name 'log' is not defined
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-03 01:08 UTC by Richard Keech
Modified: 2013-10-09 19:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1060595 (view as bug list)
Environment:
Last Closed: 2013-10-09 19:11:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard Keech 2013-07-03 01:08:13 UTC
I'm upgrading F18->F19 on 32-bit on an HP Mini.  

Upgrade initiated with fedup --network 19.

Download and check of packages worked OK.

Initial symptoms are a hang on first re-boot into upgrade boot with the progress bar about 20% across.

After disabling plymouth, and turning off 'rhgb' and 'quiet', I can see that the boot process is stalling at the point:

  systemd-journald[56]: Received SIGTERM

  Welcome to Fedora 18 (Spherical Cow)!

  systemd-cgroups-agent[394]: Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: connection refused

Comment 1 Harald Hoyer 2013-07-03 12:20:29 UTC
Attachment #767729 [details]

[  2130.208] (II) fedup:<module>() /bin/fedup exiting at Tue Jul  2 11:30:05 2013
[     1.044] (II) fedup:<module>() /usr/bin/fedup-cli starting at Tue Jul  2 13:06:27 2013
[     1.116] (II) fedup.sysprep:remove_cache() removing /var/tmp/fedora-upgrade
[     1.701] (II) fedup.sysprep:remove_cache() removing /var/lib/fedora-upgrade
[    14.492] (II) fedup:<module>() Exception:
Traceback (most recent call last):
  File "/usr/bin/fedup-cli", line 181, in <module>
    main(args)
  File "/usr/bin/fedup-cli", line 82, in main
    do_cleanup(args)
  File "/usr/lib/python2.7/site-packages/fedup/commandline.py", line 183, in do_cleanup
    remove_cache()
  File "/usr/lib/python2.7/site-packages/fedup/sysprep.py", line 195, in remove_cache
    rm_rf(d)
  File "/usr/lib/python2.7/site-packages/fedup/util.py", line 51, in rm_rf
    rm_f(d, rm=rmtree)
  File "/usr/lib/python2.7/site-packages/fedup/util.py", line 48, in rm_f
    log.warn("failed to remove %s: %s", f, str(e))
NameError: global name 'log' is not defined
[    14.493] (II) fedup:<module>() /usr/bin/fedup-cli exiting at Tue Jul  2 13:06:41 2013

Comment 2 Ricky 2013-07-04 04:25:32 UTC
I experienced the same issues when upgrading from F18.

Welcome to Fedora 18 (Spherical Cow)!

  systemd-cgroups-agent[525]: Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: connection refused

Comment 3 Ricky 2013-07-04 16:48:00 UTC
The issues is gone after I use latest version fedup. Run yum update before running fedup.

(In reply to Ricky from comment #2)
> I experienced the same issues when upgrading from F18.
> 
> Welcome to Fedora 18 (Spherical Cow)!
> 
>   systemd-cgroups-agent[525]: Failed to get D-Bus connection: Failed to
> connect to socket /org/freedesktop/systemd1/private: connection refused


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