OpenStack Compute (Nova)

metadata is missing the dhcp_domain flag

Reported by Todd Willey on 2011-12-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Todd Willey

Bug Description

Can be fixed by a flags.DECLARE

(nova.api.metadata): TRACE: Traceback (most recent call last):(nova.api.metadata): TRACE: File "/opt/stack/nova/nova/api/metadata/handler.py", line 248, in __call__(nova.api.metadata): TRACE: meta_data = self.get_metadata(remote_address)(nova.api.metadata): TRACE: File "/opt/stack/nova/nova/api/metadata/handler.py", line 156, in get_metadata(nova.api.metadata): TRACE: hostname = "%s.%s" % (instance_ref['hostname'], FLAGS.dhcp_domain)(nova.api.metadata): TRACE: File "/opt/stack/nova/nova/flags.py", line 114, in __getattr__(nova.api.metadata): TRACE: return getattr(self._conf, name)(nova.api.metadata): TRACE: File "/opt/stack/nova/nova/common/cfg.py", line 777, in __getattr__(nova.api.metadata): TRACE: return self._substitute(self._get(name))(nova.api.metadata): TRACE: File "/opt/stack/nova/nova/common/cfg.py", line 930, in _get(nova.api.metadata): TRACE: info = self._get_opt_info(name, group)(nova.api.metadata): TRACE: File "/opt/stack/nova/nova/common/cfg.py", line 1010, in _get_opt_info(nova.api.metadata): TRACE: raise NoSuchOptError(opt_name, group)(nova.api.metadata): TRACE: NoSuchOptError: no such option: dhcp_domain(nova.api.metadata): TRACE:2011-12-26 18:29:17,731 INFO nova.api [-] 0.522312s 10.144.0.3 GET /latest None:None 500 [Wget] text/plain text/plain

Changed in nova:
status: New → In Progress

Reviewed: https://review.openstack.org/2616
Committed: http://github.com/openstack/nova/commit/6ce042cafbf410a213c5d7937b93784e8f0a1655
Submitter: Jenkins
Branch: master

commit 6ce042cafbf410a213c5d7937b93784e8f0a1655
Author: Todd Willey <email address hidden>
Date: Mon Dec 26 13:36:12 2011 -0500

    Add a DECLARE for dhcp_doamin flag to metadata handler.

    Fixes bug 908846

    Change-Id: I3d04ebee94cd23666d803987bd691276984d292d

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

Other bug subscribers