Chris, should we open a bug capturing the discrepancies you list?  Or did you already deal with it?


From: cdearborn [mailto:notifications@github.com]
Sent: Thursday, May 09, 2013 7:32 PM
To: crowbar/barclamp-quantum
Cc: Allen, Wayne
Subject: Re: [barclamp-quantum] Smooth out how nova nd quantum interact. [2/2] (#24)


In chef/cookbooks/quantum/recipes/server.rb:

> +novas = search(:node, "roles:nova-multi-controller") || []

> +if novas.length > 0

> +  nova = novas[0]

> +  nova = node if nova.name == node.name

> +else

> +  nova = node

> +end

> +metadata_address = Chef::Recipe::Barclamp::Inventory.get_network_by_type(nova, "public").address rescue nil

> +metadata_port = "8773"

> +

> +template "/etc/quantum/metadata_agent.ini" do

> +  source "metadata_agent.ini.erb"

> +  owner "quantum"

> +  group "root"

> +  mode "0640"

> +  variables(

It looks like there is a disconnect between the variables set here and the variables used in metadata_agent.ini.erb. Comparing the variables, it appears that metadata_agent.ini is expecting service_user, service_password, and auth_region, which are not set below. Likewise, admin_user and admin_password are set below, but are not used in metadata_agent.ini.

—
Reply to this email directly or view it on GitHub<https://github.com/crowbar/barclamp-quantum/pull/24/files#r4164576>.