Unable to start nova-compute in a fresh XenServer environment.

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

Bug Description

http://paste.openstack.org/show/5358/

Unable to start nova-compute in a fresh XenServer environment.

Basically what seems to be happening is that we assume a service has been inserted into the database, however the first time a service is started that record is created so we need to have a check to ensure this case is taken into account.

Most likely all this will be is a "is None" check.

Brian Lamar (blamar)
Changed in nova:
assignee: nobody → Brian Lamar (blamar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/4649

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4649
Committed: http://github.com/openstack/nova/commit/315a45a35bd577129a49c4c3b08a1319f7d2e9a6
Submitter: Jenkins
Branch: master

commit 315a45a35bd577129a49c4c3b08a1319f7d2e9a6
Author: Brian Lamar <email address hidden>
Date: Tue Feb 28 16:09:28 2012 -0500

    Fix issue starting nova-compute w/ XenServer

    In a fresh-install environment, nova-compute will fail to start
    due to missing record in compute_nodes table. I have moved the
    db update to be included in the update_available_resources function.

    Fixes bug 942893

    Change-Id: I4b4f6a493ef0bbe81224c7408d0985e14fa9f1bc

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 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.