the cloud-init do not work when there is no route connected to the network

Bug #1606756 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Jeffrey Zhang

Bug Description

in the default configure, the cloud-init do not work when there is no route connected to the network. we need enable the

[DEFAULT]
enable_isolated_metadata = True
force_metadata = True

to make it work.

Changed in kolla:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Changed in kolla:
status: New → In Progress
Changed in kolla:
milestone: none → newton-3
Changed in kolla:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/347457
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=615b0ecb19d40b04b324fe11503b4067dcc9c20d
Submitter: Jenkins
Branch: master

commit 615b0ecb19d40b04b324fe11503b4067dcc9c20d
Author: Jeffrey Zhang <email address hidden>
Date: Tue Jul 26 23:34:00 2016 +0800

    Make the enable_isolated_metadata and force_metadata to yes in default

    The cloud-init will not work when those two value are no in a
    none router environment

    Closes-Bug: #1606756
    Change-Id: I2436a8a512b3190605ba97c22b350ea0478b7a84

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/352706

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/352709

Revision history for this message
Bartosz Bezak (bbezak) wrote :

according to following doc:

http://docs.openstack.org/mitaka/config-reference/networking/networking_options_reference.html#dhcp-agent

enable_isolated_metadata - "This option doesn’t have any effect when force_metadata is set to True"

So "enable_isolated_metadata" is not needed to be set to True.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/mitaka)

Reviewed: https://review.openstack.org/352706
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=e0a49d886053a331bbfe16aff92ea1362445861a
Submitter: Jenkins
Branch: stable/mitaka

commit e0a49d886053a331bbfe16aff92ea1362445861a
Author: Jeffrey Zhang <email address hidden>
Date: Tue Jul 26 23:34:00 2016 +0800

    Make the enable_isolated_metadata and force_metadata to yes in default

    The cloud-init will not work when those two value are no in a
    none router environment

    Closes-Bug: #1606756
    Change-Id: I2436a8a512b3190605ba97c22b350ea0478b7a84
    (cherry picked from commit 615b0ecb19d40b04b324fe11503b4067dcc9c20d)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/liberty)

Reviewed: https://review.openstack.org/352709
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=1354800ee38bc51c7ec5da42832c5099a44d0e44
Submitter: Jenkins
Branch: stable/liberty

commit 1354800ee38bc51c7ec5da42832c5099a44d0e44
Author: Jeffrey Zhang <email address hidden>
Date: Tue Jul 26 23:34:00 2016 +0800

    Make the enable_isolated_metadata and force_metadata to yes in default

    The cloud-init will not work when those two value are no in a
    none router environment

    Closes-Bug: #1606756
    Change-Id: I2436a8a512b3190605ba97c22b350ea0478b7a84
    (cherry picked from commit 615b0ecb19d40b04b324fe11503b4067dcc9c20d)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0b3

This issue was fixed in the openstack/kolla 3.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 2.0.3

This issue was fixed in the openstack/kolla 2.0.3 release.

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.