isolated metadata in dhcp_agent.ini

Bug #1455155 reported by Andrey Grebennikov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sergey Vasilenko

Bug Description

I suggest to turn on the option "enable_isolated_metadata=true" in dhcp_agent.ini of Neutron.

It will allow automatically create provider network and preserve metadata functionality.

This needs to be changed to "true" in neutron/lib/puppet/parser/functions/sanitize_neutron_config.rb

Changed in fuel:
milestone: none → 7.0
assignee: nobody → Fuel Library Team (fuel-library)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Sergey Vasilenko (xenolog) wrote :

I think an options like 'isolated matadata', 'l2_population' should be configurable from UI.
In the settings tab we should create Neutron section and put these checkboxes here.

Revision history for this message
Giuseppe Cossu (giuseppecossu) wrote :

I confirm that with "enable_isolated_metadata=false" isolated network cannot contact the metadata agent. This means that VMs not attached to a vrouter cannot receive metadata (e.g., keypair and cloud-init configuration) and definitely compromise the VM usability. This is a not a good behavior, so I suggest to set the default value to true.

Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Does it make sense to make possibility of change the values Sergey provided earlier through UI?

Revision history for this message
Andrey Grebennikov (agrebennikov) wrote :

I'd say no. The way it works is that if the network doesn't have a virt rourer created - neutron creates metadata listeners in the dhcp namespace. If there is a router - it will be resided in the router's namespace. That's why I'd suggest to persistently turn it on.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Alexander Arzhanov (aarzhanov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
assignee: Alexander Arzhanov (aarzhanov) → Sergey Vasilenko (xenolog)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/200040
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=661afb9d0247e2b7f8aa52843f3603ede0bd88d5
Submitter: Jenkins
Branch: master

commit 661afb9d0247e2b7f8aa52843f3603ede0bd88d5
Author: Alexander Arzhanov <email address hidden>
Date: Thu Jul 9 14:44:43 2015 +0300

    Turn on the option "enable_isolated_metadata=true"

    This is changes:
    - allow automatically create provider network and preserve metadata functionality.
    - create noop test for this option.

    Change-Id: Id7c4ee2a548eabad09ff979234ee770f6b7e13db
    Closes-bug: 1455155

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Bartłomiej Piotrowski (bpiotrowski) wrote :

Verified on 7.0-259.

root@node-1:~# grep ^enable_isolated /etc/neutron/dhcp_agent.ini
enable_isolated_metadata = True

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.