[Openstack] Building a new CentOS 6.7 glance image

Remo Mattei Remo at Italy1.com
Sat Mar 26 23:03:28 UTC 2016


Seems like cloud init not completely working I would check the logs and see what is says. 

Inviato da iPhone

> Il giorno 26 mar 2016, alle ore 16:54, Jagga Soorma <jagga13 at gmail.com> ha scritto:
> 
> Ahh so looks like selinux was on.  I disabled it by setting SELINUX=disabled in /etc/selinux/config and rebooted the instance.  However when it comes up it has the same issue.  I do see a error right after cloud-init runs saying "Route info failed".  I have attached a screenshot.
> 
> Also here is the error I get when trying the curl:
> 
> curl http://169.254.169.254/latest/meta-data/
> curl: (7) Failed to connect to 169.254.169.254: Network is unreachable
> 
> Thanks again for your help, its much appreciated!
> 
>> On Sat, Mar 26, 2016 at 3:42 PM, Remo Mattei <remo at italy1.com> wrote:
>> can you do a curl to 
>> 
>> curl http://169.254.169.254/latest/meta-data/ 
>> 
>> this needs to be done from the inside of the Instance 
>> 
>> I would export it from glance in case and test it from there.. Also check and see if your selinux is on! 
>> 
>> Remo 
>> 
>>> On Mar 26, 2016, at 16:34, Jagga Soorma <jagga13 at gmail.com> wrote:
>>> 
>>> I am trying to launch a instance from horizon using this new image.  It was working on the centos 6 server that I built it on.  The server comes up eventually on horizon but with no networking or keys due to the cloudinit not working and running into that issue with reaching that 169 address.
>>> 
>>> Thanks for your help with this.
>>> 
>>>> On Sat, Mar 26, 2016 at 3:32 PM, Remo Mattei <remo at italy1.com> wrote:
>>>> did you try the machine local boot with virsh?
>>>> Does it show up?
>>>> 
>>>> I am on a trip now but I could look at it later next week if you still have some issues…
>>>> 
>>>> Remo 
>>>> 
>>>>  
>>>>> On Mar 26, 2016, at 16:22, Jagga Soorma <jagga13 at gmail.com> wrote:
>>>>> 
>>>>> Hi Guys,
>>>>> 
>>>>> I am building a new CentOS 6.7 based image for our kilo based openstack environment.  I have followed the instructions on http://docs.openstack.org/image-guide/centos-image.html.
>>>>> 
>>>>> However when I boot my new image in openstack it does not come all the way up and I see the following errors on console:
>>>>> 
>>>>> --
>>>>> [CLOUDINIT] url_helper.py[WARNING]: Calling 'http://169.254.169/254/2009-04-04/meta-data/instance-id' failed [75/120s]: unexpected error ['NoneType' object has no attribute 'status_code']
>>>>> --
>>>>> 
>>>>> Not really sure what I am missing here.  Any help would be appreciated.
>>>>> 
>>>>> 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
>>> 
>>> !DSPAM:1,56f70fbb304453562127646!
> 
> !DSPAM:1,56f7134d309425042071643!
> <cloudinit_issue.tiff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160326/34db696d/attachment.html>


More information about the Openstack mailing list