Ask Your Question

Nirmik Kale's profile - activity

2015-01-09 03:38:09 -0600 received badge  Notable Question (source)
2014-12-28 12:04:27 -0600 received badge  Popular Question (source)
2014-12-20 19:39:10 -0600 asked a question Instance net does not work with FlatDHCP


I have a multinode set up with 1 compute and a controller node.

The issue i face is the internet from inside the VM does not work unless i manually add this rule to the IPTABLES -

iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE

Although, one thing i did observe is that the net worked with ipv6 and not with ipv4!! Its strange coz i have actually disabled ipv6 on host and also added use_ipv6=False in nova.conf on compute node. adding the above rule enables ipv4 traffic too!

Its quite strange why this is happening!

2014-11-07 14:23:56 -0600 received badge  Famous Question (source)
2014-07-28 11:27:10 -0600 received badge  Notable Question (source)
2014-07-07 23:28:49 -0600 received badge  Popular Question (source)
2014-07-07 06:30:23 -0600 asked a question Cannot Access Instance With Assigned Floating IP

I installed openstack using devstack script...

everything seems to work fine but i am not able to ping or access my instances using the assigned Floating IPs..!!

I can ping from the server host using the internal IP as well as the floating IP but cannot do the same from any other machine!

What may be the problem?

I enabled IP forwarding on the server host machine but still it doesnt help!

Please help! ThankYou! :)

2014-06-18 20:29:27 -0600 received badge  Famous Question (source)
2014-06-18 07:40:45 -0600 received badge  Notable Question (source)
2014-06-18 05:53:34 -0600 received badge  Popular Question (source)
2014-06-18 01:00:57 -0600 asked a question How to use the compute extended REST api to suspend an instance

I want to suspend and resume instances using the REST apis using a python script. I cannot figure out the exact curl request required to use so as to do the required...

i see in the OpenStack documentation that the following url is to be used -


here is the cURL request i think should be used , but i might be 100% wrong

$ curl -X POST -H "X-Auth-Token: {token}" -H "Content-Type: application/json" -d '{ "suspend" : "null" }' http://XXX.XXX.XXX.XXX:8774/v2/​{tenant_id}​/servers/​{server_id}​/action

But after running this i get an XML response with 404 Resource not found error!

  <title>404 Not Found</title>
  <h1>404 Not Found</h1>
  The resource could not be found.<br /><br />


Where am i going wrong?

Sorry if i am being totally stupid! But I am new,and finding right and easy to understand info about OpenStack is a little hard!!