[Openstack] [Quantum] Can't Ping Private/Public IP of CentOS Cloud Image 6.4 Instance in Grizlly

jeffty wantwatering at gmail.com
Sat Jan 18 11:14:23 UTC 2014


Hi 安仲奇,

Although this image is still not allowed to be ssh, I installed another
CentOS 6.5 without cloud-init, get the public key from meta service and
write to the authorized-keys, disabled the firewall rules and SELinux.

Now I can SSH such instances.

Thanks.

On 1/10/2014 3:32 PM, 安仲奇 wrote:
> Hey, Jeffty
> 
> SSH-key login works for me. 
> 
> I'm running Havana, and my OS is CentOS 6.4.
> 
> Is the compute log complaining about error mounting the instance disk or
> error injecting key data?
> 
> Best wishes!
> 
> azq
> 
> 
> 在 2014-01-10 12:20:03,jeffty <wantwatering at gmail.com> 写道:
>>Thanks 安仲奇, that works!
>>
>>I can ssh it but only with the provided username and password.
>>
>>When ssh it shows 'Server refused our key'.
>>
>>Which means we can't use the keypair for login?
>>
>>Thanks.
>>
>>On 1/10/2014 10:26 AM, 安仲奇 wrote:
>>> i also tried that image, and couldn't ping it either ...
>>> 
>>> edit the image and shutdown the firewall completely,
>>> or try the centos 6.4 image from CatN lab, that one works.
>>> 
>>> http://catn.com/labs/project/centos-images/
>>> 
>>> good luck, have fun!
>>> 
>>> azq
>>> 
>>> 
>>> At 2014-01-10 00:39:12,jeffty <wantwatering at gmail.com> wrote:
>>>>Hi,
>>>>
>>>>I'm running Grizzly in two nodes. One controller and one compute node.
>>>>
>>>>I tested Cirros and Ubuntu instance. I can ping them with assigned
>>>>public IP and SSH them. But for the CentOS cloud image downloaded from
>>>>http://wiki.centos.org/Cloud/OpenNebula I failed.
>>>>
>>>>After assign public IP to CentOS instance it can't be reached(ping or
>>>>ssh) by neither of private or public IP.
>>>>
>>>>After ssh in the Ubuntu/Cirros instance and try to ping the CentOS
>>>>instance it still failed. But Ubuntu and Cirros instance succeeded to
>>>>ping each other after ssh. And all these instances use the same security
>>>>group.
>>>>
>>>>I found below know issue in OpenNubula:
>>>>http://wiki.centos.org/Cloud/OpenNebula
>>>>--------------------------------------------------------------------
>>>>Known Issues
>>>>
>>>>Images are built with firewall turned on, with only ssh allowed to
>>>>connected in. On a Cloud instance where the access is controlled via
>>>>security and network policy, this might not be an ideal state.
>>>>--------------------------------------------------------------------
>>>>
>>>>But now it's not only for ssh but also for ping. Is CentOS cloud image
>>>>configured by reject all network access in its firewall rule? If so
>>>>since it has no default root password how can we log in them?
>>>>
>>>>Thanks.
>>>>
>>>>_______________________________________________
>>>>Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>Post to     : openstack at lists.openstack.org
>>>>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> 
>>> 
>>> 
>>
> 
> 
> 





More information about the Openstack mailing list