[Openstack] Απάντ.: [Quantum] Can't Ping Private/Public IP of CentOS Cloud Image 6.4 Instance in Grizlly

Georgios Dimitrakakis giorgis at acmac.uoc.gr
Mon Jan 20 12:41:01 UTC 2014


 Could you ellaborate a little bit more on this...

 What do you mean by saying that you have installed and created the 
 image?
 Did you install it inside OpenStack? How did you create the image?

 Best,

 G.

 On Mon, 20 Jan 2014 11:02:15 +0800, jeffty wrote:
> Hi Girogis,
>
> No available CentOS 6.5 cloud image found. I just downloaded the iso 
> and
> installed and created the image. You can install cloud-init to create
> your own cloud image.
>
>
> On 1/20/2014 7:21 AM, giorgis at acmac.uoc.gr wrote:
>> Could you tell us where did you find the CentOS 6.5 that worked?
>>
>> Best,
>>
>> G.
>>
>>
>> ----- Reply message -----
>> Από: "jeffty" <wantwatering at gmail.com>
>> Προς: "安仲奇" <stone_an at 163.com>
>> Κοιν.: <openstack at lists.openstack.org>
>> Θέμα: [Openstack] [Quantum] Can't Ping Private/Public IP of CentOS 
>> Cloud
>> Image 6.4 Instance in Grizlly
>> Ημ/νία: Σαβ, Ιαν 18, 2014 13:14
>>
>>
>> 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
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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