[rhos-list] metadata service not working for VMs
Xin Zhao
xzhao at bnl.gov
Wed Nov 20 22:48:08 UTC 2013
Hello,
I am installing grizzly with quantum/OVS using
kernel-2.6.32-358.123.2.openstack.el6.x86_64 and openstack-XXX-2013.1.4-3.
From inside the VM, I can ping 169.254.169.254 (it's available in the
routing table), but curl commands fail with the following errors:
$>curl http://169.254.169.254
About to connect to 169.254.169.254 port 80 ...
Connection refused
Does the metadata service run on the controller node or the network
node, on which port and which namespace ? The VMs can only talk to the
network
host via the physical VM network, they don't have access to the
management network.
Below is the relevant configuration information. Another info is that I
still have some DNS issue for the VMs, external DNS and internal DNS
can't work at the same time,
meaning if I assign public DNS servers to the VM virtual subnets, VM can
resolve external hostnames, but doesn't work for other VMs inside the
same subnet, and if I use
the default internal DNS, VMs can't resolve external hostnames but they
can resolve names within the same VM subnet. I am not sure if this is
related to the metadata issue or not, I
would think not, as the above metadata command uses ip directly...
Thanks,
Xin
on controller node:
nova.conf:
service_neutron_metadata_proxy=true
quantum_metadata_proxy_shared_secret=
On network node:
dhcp_agent.ini:
enable_isolated_metadata = True
metadata_agent.ini:
[DEFAULT]
auth_url = http://localhost:35357/v2.0
auth_region = RegionOne
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
auth_strategy = keystone
metadata_proxy_shared_secret =
[keystone_authtoken]
auth_host = <ip of controller on the management network>
admin_tenant_name = services
admin_user = quantum
admin_password = <pwd>
The VM internal subnet info:
+------------------+--------------------------------------------+
| Field | Value |
+------------------+--------------------------------------------+
| allocation_pools | {"start": "10.0.1.2", "end": "10.0.1.254"} |
| cidr | 10.0.1.0/24 |
| dns_nameservers | 8.8.4.4 |
| | 8.8.8.8 |
| enable_dhcp | True |
| gateway_ip | 10.0.1.1 |
| host_routes | |
| id | 505949ed-30bb-4c5e-8d1b-9ef2745f9455 |
| ip_version | 4 |
| name | |
| network_id | 31f9d39b-012f-4447-92a4-1a3b5514b37d |
| tenant_id | 22b1956ec62a49e88fb93b53a4f10337 |
+------------------+--------------------------------------------+
More information about the rhos-list
mailing list