If you’re installing the OpenShift Origin LiveCD to a local hard disk, you must have NetworkManager running  before starting the install process.

Before you start the install-to-disk routine, make sure you start NetworkManager.

$ su -c 'NetworkManager'

The other day I set out to setup my own PAAS (platform as a service), just because it was possible, and because I liked the possibility of a rapid development and deploy environment that didn’t require a connection to the internet.

I though it would be cool to have an environment where I can easily create multiple WordPress instances without having to monkey around with lots of local config settings (apache virtual hosts) or other unnecessary details.

Maybe you’re like me.  I run and install software the way I’d expect it to work without reading the instructions–particularly something as simple as installing Fedora ;-).

So I booted the Fedora 16 OpenShift Origin LiveCD in a KVM guest, started the installer, and boom–an Anaconda traceback.  Having seen a fair amount of these testing many early releases of Fedora I assumed it was a bug.  I filed bug #832562.

If you are using or experimenting with OpenShift, filing bugs is a good way to help the development team and it also might help you find the solution to your problem and move forward faster.  New OpenShift bugs can be filed at https://bugzilla.redhat.com/enter_bug.cgi?product=OpenShift

It turns out this is a known issue and there are some good documents explaining the best steps to perform in order to get Origin running locally.

The Anaconda traceback looks like this.  It’s not very interesting, but I’m putting it here in the bottom of the post in case someone out there searches based on the error message.

Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 175, in getActiveNetDevs
    nm = bus.get_object(isys.NM_SERVICE, isys.NM_MANAGER_PATH)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 101, in getDefaultHostname
    for dev in getActiveNetDevs():
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/network_gui.py", line 43, in getScreen
    self.hostname = network.getDefaultHostname(anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1270, in display_step
    new_screen = self.currentWindow.getScreen(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1157, in display_step
    return self.icw.display_step(step)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 377, in dispatch
    rc = self.anaconda.intf.display_step(self.step)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 241, in go_forward
    self.dispatch()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
    self.anaconda.dispatch.go_forward()
DBusException: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.