openvswitch-nova runs after firstboot scripts

Bug #888719 reported by Ewan Mellor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Ewan Mellor

Bug Description

The openvswitch-nova init.d script used on XenServer has been set to run at 96 in the boot order (i.e. very late). This is inconvenient, because it means that it runs after the firstboot scripts, so if you want to do an automated install of a compute VM, say, you can't rely on the Open vSwitch rules being ready.

It was moved to 96 from 10, after finding that the Open vSwitch itself wasn't initialized properly at this point. This is not a surprise, since network runs at 10, management-interface runs at 13, and loadbrsysctl is at 14. It looks like any time between 15 and 23 would be good (firstboot is at 24).

All init.d numbers are wrt XenServer dom0, which is derived from CentOS 5. XCP installations may vary, but I expect that they are similarly set up.

Ewan Mellor (ewanmellor)
Changed in nova:
status: New → In Progress
assignee: nobody → Ewan Mellor (ewanmellor)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/1510
Committed: http://github.com/openstack/nova/commit/f11f6f789e2af83bfc9c25e7485625e81aa90633
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit f11f6f789e2af83bfc9c25e7485625e81aa90633
Author: Ewan Mellor <email address hidden>
Date: Wed Nov 9 23:24:25 2011 -0800

    Bug #888719: openvswitch-nova runs after firstboot scripts

    Move openvswitch-nova to 23 in the boot order.

    The openvswitch-nova init.d script used on XenServer has been set to run
    at 96 in the boot order (i.e. very late). This is inconvenient, because it
    means that it runs after the firstboot scripts, so if you want to do an
    automated install of a compute VM, say, you can't rely on the Open vSwitch
    rules being ready.

    23 places it after the networking start up (9 through 14) and before the
    firstboot scripts (24).

    Change-Id: I5c4f2f02c78bd7b8ccc6cac4d6549209a6dcbdb0

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.