[fabric-utils] Metadata service: metadata_proxy_secret is not provisioned in /etc/contrail/contrail-vrouter-agent.conf on compute (vrouter) nodes from the Openstack node
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Undecided
|
Kumar Harsh | |||
R4.0 |
Fix Committed
|
Undecided
|
Kumar Harsh | |||
Trunk |
Fix Committed
|
Undecided
|
Kumar Harsh |
Bug Description
Hi,
On a setup with 3 nodes (running Centos 7.3):
-Openstack node (Mitaka)
-Contrail config, controller, analytics node (Contrail 3.2)
-compute node
The Openstack was installed first, then Contrail was installed and provisioned using the fab tool.
Problem:
1)Boot up a VM from openstack (I used a Cirros VM)
2)Go to the VM console and try to access the metadata service using the link local address:
curl http://
It will return an error message (403 Forbidden):
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<h1>403 Forbidden</h1>
Invalid proxy request signature.<br /><br />
</body>
</html>
The problem is that the metadata_
After manually configured it and restart the vrouter service on the compute node (service supervisor-vrouter restart) it worked. See Contrail feature guide 3.2 chapter 24 Common Support Answers, Troubleshooting Procedure for Link-Local Metadata Service page 650.
The contrail-
The value to be put in metadata_
Looking into the code from get_metadata_
Looking into the log generated when running the fab tool:
opt/contrail/
So it seems that it wrongly looked for the field neutron_
The code that implemented the logic for deciding the name on the field was the following (in get_metadata_
When I executed manually the command "rpm -q --queryformat=
Looking into the OpenStack Nova release versioning scheme (https:/
it seems that before Liberty, the versions started with the year (like 2014.2.x for Juno, 2015.1.x for Kilo), then the versioning was changed from Liberty (12.0.x for Liberty, 13.1.x for Mitaka, 14.0.x for Newton etc)
Thank you,
Mihai
information type: | Proprietary → Public |
tags: | added: provisioning |
tags: | added: vrouter |
Review in progress for https:/ /review. opencontrail. org/33599
Submitter: Kumar Harsh (<email address hidden>)