Be sure you enable access to your VMs by using the euca-authorize or nova secgroup-add-rule command. These commands enable you to ping and ssh to your VMs:
Note | |
---|---|
You must run these commands as root only if the
credentials used to interact with |
Run nova commands:
$ nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0 $ nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
Using euca2ools:
$ euca-authorize -P icmp -t -1:-1 -s 0.0.0.0/0 default $ euca-authorize -P tcp -p 22 -s 0.0.0.0/0 default
If you still cannot ping or SSH your instances after issuing the nova
secgroup-add-rule commands, look at the number of
dnsmasq
processes that are running. If you have a running
instance, check to see that TWO dnsmasq
processes are running. If
not, perform the following commands as root:
# killall dnsmasq # service nova-network restart