Hi,<div><br></div><div>  I am right trying to set up the metadata service. </div><div>  But I met some problem: I could not fetch metadata directly using curl.  netstat can verify that 'nova-api' is listening on the port 8775. However, curl "<nova-api-host>:8775" produce 404 error. Does anyone meet such problems before?</div>
<div>  An addition question related is that I didn't see any iptables rules added . I wonder whether should I add this manually? If so, where should it go?</div><div>  </div><div><br></div><div>My arch is: one control node with nova-api, nova-network and other services. Two compute nodes using Xenserver, with nova-compute, nova-api-metadata, nova-volume, and nova-network running in a PV-guest.</div>
<div>My related configurations are:</div><div><br></div><div><div>osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions</div><div>ec2_dmz_host=192.168.99.1</div><div>s3_host=192.168.99.1</div><div>
multi_host=True</div><div>cc_host=192.168.99.1</div><div>ec2_host=192.168.99.1</div><div>nova_url=<a href="http://192.168.99.1:8774/v1.1/">http://192.168.99.1:8774/v1.1/</a></div><div>ec2_url=<a href="http://192.168.99.1:8773/services/Cloud">http://192.168.99.1:8773/services/Cloud</a></div>
<div>keystone_ec2_url=<a href="http://192.168.99.1:5000/v2.0/ec2tokens">http://192.168.99.1:5000/v2.0/ec2tokens</a></div><div>api_paste_config=/etc/nova/api-paste.ini</div><div>allow_admin_api=true</div><div>use_deprecated_auth=false</div>
<div>ec2_private_dns_show_ip=True</div><div>dmz_cidr=<a href="http://169.254.169.254/32">169.254.169.254/32</a></div><div>ec2_dmz_host=192.168.99.1</div><div>metadata_host=192.168.99.1</div><div>metadata_listen=0.0.0.0</div>
<div>enabled_apis=ec2,osapi_compute,metadata</div></div><div><br></div><div><br></div><div>thanks for your help </div><div>- Yan<br>     
</div>