In init.py, the service var is not initialized before metadata service discovery

Bug #1666258 reported by Adrian Vladu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloudbase-init
Fix Released
Undecided
Adrian Vladu

Bug Description

The service variable needs to be initialized before the
metadata discovery check, as a plugin might request a reboot
after the pre-metadata stage and the service variable will remain
uninitialized, causing cloudbase-init to throwing an error.

Adrian Vladu (avladu)
Changed in cloudbase-init:
status: New → In Progress
assignee: nobody → Adrian Vladu (avladu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cloudbase-init (master)

Reviewed: https://review.openstack.org/436069
Committed: https://git.openstack.org/cgit/openstack/cloudbase-init/commit/?id=c26ea83ad64d3a312b1f472f00f7e427613cb1f2
Submitter: Jenkins
Branch: master

commit c26ea83ad64d3a312b1f472f00f7e427613cb1f2
Author: Adrian Vladu <email address hidden>
Date: Mon Feb 20 17:28:53 2017 +0200

    Initialize service var before the metadata discovery

    The service variable needs to be initialized before the
    metadata discovery check, as a plugin might request a reboot
    after the pre-metadata stage and the service variable will remain
    uninitialized.

    Closes-bug: #1666258
    Change-Id: I4028b76f787267476b5320e5a480f54b58c59293

Changed in cloudbase-init:
status: In Progress → Fix Released
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.