[chef] Re: Re: ERROR: No IP address available for bootstrapping.


Chronological Thread 
  • From: "Ifeanyi P. Egwutuoha" < >
  • To: " " < >
  • Subject: [chef] Re: Re: ERROR: No IP address available for bootstrapping.
  • Date: Tue, 24 Sep 2013 08:48:24 +1000

I am not using floating ip nor private ip. I can see the public ip  (115.146.xxx.xxx) assigned from dashboard.
However none of the -V outputs show the ip-address.

The outputs are:
~/chef-repo $ knife openstack group list -V
Name     Protocol  From  To    CIDR       Description         
default  tcp       22    22    0.0.0.0/0  default             
http     tcp       80    80    0.0.0.0/0  Allow HTTP/S        
http     tcp       443   443   0.0.0.0/0  Allow HTTP/S        
http     tcp       8080  8080  0.0.0.0/0  Allow HTTP/S        
http     tcp       8081  8081  0.0.0.0/0  Allow HTTP/S        
http     tcp       8009  8009  0.0.0.0/0  Allow HTTP/S        
http     tcp       8443  8443  0.0.0.0/0  Allow HTTP/S        
http     tcp       3306  3306  0.0.0.0/0  Allow HTTP/S        
icmp     icmp      -1    -1    0.0.0.0/0  Allow ICMP (eg. ping)
ssh      tcp       22    22    0.0.0.0/0  Allow SSH           

~/chef-repo$ knife openstack server list -V
Instance ID                                         Name      Public IP  Private IP  Flavor  Image                                 Keypair  State
8a3bbf8b-70cf-431f-94c8-38fd5dbf4872  adelta-3                                       0       279d6bba-a287-4bff-a162-40f7d99125f1  adelta   active
e54c82d1-b4d6-41ea-9b70-241014c71fa2  node                                        0       e3a0dd4d-8d36-4a85-a9ce-8d7c4ccfa4fb  adelta   active

~/chef-repo$ knife openstack flavor list -V
ID  Name        Virtual CPUs  RAM       Disk
0   m1.small    1             4096 MB   10 GB
1   m1.medium   2             8192 MB   10 GB
2   m1.xlarge   8             32768 MB  10 GB
3   m1.xxlarge  16            65536 MB  10 GB
4   m1.large    4             16384 MB  10 GB

Regards, Ifeanyi

On Tue, Sep 24, 2013 at 12:12 AM, Matt Ray < " target="_blank"> > wrote:
That sounds like the IP address the server handed back isn't called
'public', it may be something else. Should you be using a floating IP
or the private IP instead? Feel free to send me the output with -V for
debug output and I'll offer other suggestions.
https://github.com/opscode/knife-openstack/blob/master/lib/chef/knife/openstack_server_create.rb#L328

Thanks,
Matt Ray
Cloud Integrations Product Lead :: Opscode
512.731.2218 :: ">
mattray :: GitHub :: IRC :: Twitter


On Mon, Sep 23, 2013 at 12:00 AM, Ifeanyi P. Egwutuoha
< "> > wrote:
> I executed the following command to create an instance on openstack cloud
> but got this error:
> ERROR: No IP address available for bootstrapping.
>
> chef-repo $ knife openstack server create --node-name node --image m1.small
> --ssh-user ubuntu --flavor 0 -I e3a0dd4d-8d36-4a85-a9ce-8d7c4ccfa4fb -i
> ~/.ssh/adelta
> Instance Name: node
> Instance ID: e8a99bc7-873b-4750-abf2-f3fd569b4c7d
>
> Waiting for server...................
> Flavor: 0
> Image: e3a0dd4d-8d36-4a85-a9ce-8d7c4ccfa4fb
> SSH Identity File: /home/abolap/.ssh/adelta
> SSH Keypair: adelta
>
> ERROR: No IP address available for bootstrapping.
>
> Note that the instance was created with public ip address?
> Any idea of the solution please?
>
> Regards, Ifeanyi
>




Archive powered by MHonArc 2.6.16.

§