Ask Your Question
0

Instance fail to get IP

asked 2017-08-10 22:47:36 -0500

CaptainFung gravatar image

updated 2017-08-11 02:00:19 -0500

Hi, I am Openstack newbie and trying to install ocata version for evaluation. Everything went smooth but when I create instance (say cirros / centos), they can't get the IP allocated. Here is some background:

vCenter 5.1, ESXi 5.1, 1 Controller and 1 Compute node on CentOS 7.3 installed on same ESXi host, both 2vCPU 4GB ram, firewalld is off, time sync with chrony, under same portgroup with specified VLAN and Promiscous mode, MAC Address Changes and Forged transmits are allowed. Openstack installed as flat network.

[root@controllerc home]# openstack host list

| Host Name | Service | Zone |

| controllerc | consoleauth | internal |

| controllerc | scheduler | internal |

| controllerc | conductor | internal |

| computec | compute | nova |

[root@controllerc home]# openstack compute service list

| ID | Binary | Host | Zone | Status | State | Updated At |

| 1 | nova-consoleauth | controllerc | internal | enabled | up | 2017-08-11T01:33:23.000000 |

| 2 | nova-scheduler | controllerc | internal | enabled | up | 2017-08-11T01:33:23.000000 |

| 3 | nova-conductor | controllerc | internal | enabled | up | 2017-08-11T01:33:22.000000 |

| 6 | nova-compute | computec | nova | enabled | up | 2017-08-11T01:33:22.000000 |

[root@controllerc home]# openstack network agent list

| ID | Agent Type | Host | Availability Zone | Alive | State | Binary

| 4f0cad1a-bc0b-49a8-9f64-816f90151d0d | Metadata agent | controllerc | None | True | UP | neutron-metadata-agent

| 51ce8a1c-b373-45d8-871c-805b075e19a8 | Linux bridge agent | controllerc | None | True | UP | neutron-linuxbridge-agent |

| a6aaa804-b9e4-4e6c-a4d4-18ee9dbd732c | Linux bridge agent | computec | None | True | UP | neutron-linuxbridge-agent

| cf1117d4-4115-4864-90a2-3c33cb747057 | DHCP agent | controllerc | nova | True | UP | neutron-dhcp-agent

No error found on glance, keystone, neutron, nova, rabbitmq logs when instance boot on controller node, just found following:

mariadb log:

[Warning] GSSAPI plugin : default principal 'mariadb/controllerc@' not found in keytab

[ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093) : gss_acquire_cred failed -Unspecified GSS failure. Minor code may provide more information. Keytab FILE:/etc/krb5.keytab is nonexistent or empty.

[ERROR] Plugin 'gssapi' init function returned error.

rabbitmq log:

=INFO REPORT==== 11-Aug-2017::09:49:10 === accepting AMQP connection <0.8987.0> (10.0.1.216:44962 -> 10.0.1.216:5672)

=INFO REPORT==== 11-Aug-2017::09:49:10 === Connection <0.8987.0> (10.0.1.216:44962 -> 10.0.1.216:5672) has a client-provided name: nova-novncproxy:27488:73087162-d27d-4a94-b1f5-61e4fc8ac3b1

=INFO REPORT==== 11-Aug-2017::09:49:10 === accepting AMQP connection <0.9004.0> (10.0.1.216:44964 -> 10.0.1.216:5672)

=INFO REPORT==== 11-Aug-2017::09:49:10 === Connection <0.9004.0> (10.0.1.216:44964 -> 10.0.1.216:5672) has a client-provided name: nova-novncproxy:27488:50a324b8-42e6-430a-acfc-176685ca5a08

=WARNING REPORT==== 11-Aug-2017::09:50:05 === closing AMQP connection <0.8987.0> (10.0.1.216:44962 -> 10.0.1.216:5672 - nova-novncproxy:27488:73087162-d27d-4a94-b1f5-61e4fc8ac3b1): client unexpectedly closed TCP connection

=WARNING REPORT==== 11-Aug-2017::09:50:05 === closing AMQP connection <0.9004.0> (10.0.1.216:44964 -> 10.0.1.216:5672 - nova-novncproxy:27488:50a324b8-42e6-430a-acfc-176685ca5a08): client unexpectedly closed TCP connection

And this is what I find on compute node: nova-compute.log, receiving this every few minutes WARNING nova.compute.manager [req-5bb2836d-7f6a-4474-a046-7442355f5d81 2ad486b97b4a462db0b53082281afa45 b181e45193934cd28fd874bd3d11deae - - -] [instance: 5644d414-8c8c-445b-876b-9d1ba7392365] Received unexpected event network-vif-plugged-a6c16816-63b9-4783-b3b6-415410f68219 for instance

linuxbridge-agent.log,

INFO neutron.agent.securitygroups_rpc [req-f2f6afbd-26d8-4a48-a344-24a7362853dd - - - - -] Preparing filters for devices set(['tapa6c16816-63'])

INFO neutron.plugins.ml2.drivers.agent._common_agent [req-f2f6afbd-26d8-4a48-a344-24a7362853dd - - - - -] Port tapa6c16816-63 updated. Details ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-11 04:14:23 -0500

ppeereb1 gravatar image

Could be a metadata issue. Can you see if you see timeouts on the 169.254.169.254 address on the nova console-log? nova console-log <instance id="">

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-08-10 22:15:58 -0500

Seen: 97 times

Last updated: Aug 11