Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

        [root@controller opt]#   openstack network agent list
        +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
        | ID                                   | Agent Type         | Host       | Availability Zone | Alive | State | Binary                    |
        +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
        | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02  | None              | :-)   | UP    | neutron-linuxbridge-agent |
        | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent         | controller | nova              | :-)   | UP    | neutron-dhcp-agent        |
        | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01  | None              | :-)   | UP    | neutron-linuxbridge-agent |
        | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None              | :-)   | UP    | neutron-linuxbridge-agent |
        | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent           | controller | nova              | :-)   | UP    | neutron-l3-agent          |
        | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent     | controller | None              | :-)   | UP    | neutron-metadata-agent    |
        +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

        ----------------------------------------------------
        [root@controller opt]# openstack compute service list 
    +----+------------------+------------+----------+---------+-------+----------------------------+
    | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
    +----+------------------+------------+----------+---------+-------+----------------------------+
    |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
    |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
    |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
    | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
    | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
    +----+------------------+------------+----------+---------+-------+----------------------------+

    **Controller nova.conf**
+----+------------------+------------+----------+---------+-------+----------------------------+
[root@controller opt]#   grep -v -e "#"  /etc/nova/nova.conf | awk /./
[DEFAULT]
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:huawei123@10.10.10.33
my_ip = 10.10.10.33
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[api]
auth_strategy = keystone
[api_database]
connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova_api
[barbican]
[cache]
[cells]
[cinder]
[compute]
[conductor]
[console]
[consoleauth]
[cors]
[crypto]
[database]
connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova
[devices]
[ephemeral_storage_encryption]
[filter_scheduler]
[glance]
api_servers = http://10.10.10.33:9292
[guestfs]
[healthcheck]
[hyperv]
[ironic]
[key_manager]
[keystone]
[keystone_authtoken]
auth_url = http://10.10.10.33:5000/v3
memcached_servers = 10.10.10.33:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = huawei123
[libvirt]
[matchmaker_redis]
[metrics]
[mks]
[neutron]
url = http://10.10.10.33:9696
auth_url = http://10.10.10.33:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = huawei123
service_metadata_proxy = true
metadata_proxy_shared_secret = huawei123
[notifications]
[osapi_v21]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[pci]
[placement]
region-name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://10.10.10.33:5000/v3
username = placement
password = huawei123
[quota]
[rdp]
[remote_debug]
[scheduler]
discover_hosts_in_cells_interval = 300
[serial_console]
[service_user]
[spice]
[upgrade_levels]
[vault]
[vendordata_dynamic_auth]
[vmware]
[vnc]
enabled = true
server_listen = 10.10.10.33
server_proxyclient_address = 10.10.10.33
[workarounds]
[wsgi]
[xenserver]
[xvp]
[root@controller opt]# 
**controller -- neutron.conf**
[root@controller opt]#   grep -v -e "#"  /etc/neutron/neutron.conf | awk /./
[DEFAULT]
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = true
transport_url = rabbit://openstack:huawei123@10.10.10.33
auth_strategy = keystone
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true
[agent]
[cors]
[database]
connection = mysql+pymysql://neutron:huawei123@10.10.10.33/neutron
[keystone_authtoken]
auth_uri = http://10.10.10.33:5000
auth_url = http://10.10.10.33:35357
memcached_servers = 10.10.10.33:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = huawei123
[matchmaker_redis]
[nova]
auth_url = http://10.10.10.33:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = huawei123
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[quotas]
[ssl]
[root@controller opt]# 
----------------
[root@controller neutron]#   grep -v -e "#"  dhcp_agent.ini | awk /./
[DEFAULT]
interface_driver = linuxbridge
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = true
[agent]
[ovs]
[root@controller neutron]# 
---------------------------------------
    --------------------------------
        **/var/log/message log**
            ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

 

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

    ----------------------------------------------------
     [root@controller opt]# openstack compute service list 
 +----+------------------+------------+----------+---------+-------+----------------------------+
 | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
 +----+------------------+------------+----------+---------+-------+----------------------------+
 |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
 |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
 |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
 | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
 | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
 +----+------------------+------------+----------+---------+-------+----------------------------+

 **Controller nova.conf**

+----+------------------+------------+----------+---------+-------+----------------------------+ [root@controller opt]# grep -v -e "#" /etc/nova/nova.conf | awk /./ [DEFAULT] enabled_apis = osapi_compute,metadata transport_url = rabbit://openstack:huawei123@10.10.10.33 rabbit://openstack:welcome123@10.10.10.33 my_ip = 10.10.10.33 use_neutron = True firewall_driver = nova.virt.firewall.NoopFirewallDriver [api] auth_strategy = keystone [api_database] connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova_api [barbican] [cache] [cells] [cinder] [compute] [conductor] [console] [consoleauth] [cors] [crypto] [database] connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova [devices] [ephemeral_storage_encryption] [filter_scheduler] [glance] api_servers = http://10.10.10.33:9292 [guestfs] [healthcheck] [hyperv] [ironic] [key_manager] [keystone] [keystone_authtoken] auth_url = http://10.10.10.33:5000/v3 memcached_servers = 10.10.10.33:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = huawei123 [libvirt] [matchmaker_redis] [metrics] [mks] [neutron] url = http://10.10.10.33:9696 auth_url = http://10.10.10.33:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = neutron password = huawei123 service_metadata_proxy = true metadata_proxy_shared_secret = huawei123 [notifications] [osapi_v21] [oslo_concurrency] lock_path = /var/lib/nova/tmp [oslo_messaging_amqp] [oslo_messaging_kafka] [oslo_messaging_notifications] [oslo_messaging_rabbit] [oslo_messaging_zmq] [oslo_middleware] [oslo_policy] [pci] [placement] region-name = RegionOne project_domain_name = Default project_name = service auth_type = password user_domain_name = Default auth_url = http://10.10.10.33:5000/v3 username = placement password = huawei123 [quota] [rdp] [remote_debug] [scheduler] discover_hosts_in_cells_interval = 300 [serial_console] [service_user] [spice] [upgrade_levels] [vault] [vendordata_dynamic_auth] [vmware] [vnc] enabled = true server_listen = 10.10.10.33 server_proxyclient_address = 10.10.10.33 [workarounds] [wsgi] [xenserver] [xvp] [root@controller opt]# **controller controller -- neutron.conf** neutron.conf [root@controller opt]# grep -v -e "#" /etc/neutron/neutron.conf | awk /./ [DEFAULT] core_plugin = ml2 service_plugins = router allow_overlapping_ips = true transport_url = rabbit://openstack:huawei123@10.10.10.33 auth_strategy = keystone notify_nova_on_port_status_changes = true notify_nova_on_port_data_changes = true [agent] [cors] [database] connection = mysql+pymysql://neutron:huawei123@10.10.10.33/neutron [keystone_authtoken] auth_uri = http://10.10.10.33:5000 auth_url = http://10.10.10.33:35357 memcached_servers = 10.10.10.33:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = neutron password = huawei123 [matchmaker_redis] [nova] auth_url = http://10.10.10.33:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = nova password = huawei123 [oslo_concurrency] lock_path = /var/lib/neutron/tmp [oslo_messaging_amqp] [oslo_messaging_kafka] [oslo_messaging_notifications] [oslo_messaging_rabbit] [oslo_messaging_zmq] [oslo_middleware] [oslo_policy] [quotas] [ssl] [ssl]

[root@controller opt]# ----------------

[root@controller neutron]# grep -v -e "#" dhcp_agent.ini | awk /./ [DEFAULT] interface_driver = linuxbridge dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq enable_isolated_metadata = true [agent] [ovs] [ovs]

[root@controller neutron]# ---------------------------------------

--------------------------------
     **/var/log/message log**
         ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

  ----------------------------------------------------
     [root@controller opt]# openstack compute service list 
 +----+------------------+------------+----------+---------+-------+----------------------------+
 | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
 +----+------------------+------------+----------+---------+-------+----------------------------+
 |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
 |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
 |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
 | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
 | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
 +----+------------------+------------+----------+---------+-------+----------------------------+

 **Controller nova.conf**

+----+------------------+------------+----------+---------+-------+----------------------------+ [root@controller opt]# grep -v -e "#" /etc/nova/nova.conf | awk /./ [DEFAULT] enabled_apis = osapi_compute,metadata transport_url = rabbit://openstack:welcome123@10.10.10.33 my_ip = 10.10.10.33 use_neutron = True firewall_driver = nova.virt.firewall.NoopFirewallDriver [api] auth_strategy = keystone [api_database] connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova_api [barbican] [cache] [cells] [cinder] [compute] [conductor] [console] [consoleauth] [cors] [crypto] [database] connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova [devices] [ephemeral_storage_encryption] [filter_scheduler] [glance] api_servers = http://10.10.10.33:9292 [guestfs] [healthcheck] [hyperv] [ironic] [key_manager] [keystone] [keystone_authtoken] auth_url = http://10.10.10.33:5000/v3 memcached_servers = 10.10.10.33:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = huawei123 [libvirt] [matchmaker_redis] [metrics] [mks] [neutron] url = http://10.10.10.33:9696 auth_url = http://10.10.10.33:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = neutron password = huawei123 service_metadata_proxy = true metadata_proxy_shared_secret = huawei123 [notifications] [osapi_v21] [oslo_concurrency] lock_path = /var/lib/nova/tmp [oslo_messaging_amqp] [oslo_messaging_kafka] [oslo_messaging_notifications] [oslo_messaging_rabbit] [oslo_messaging_zmq] [oslo_middleware] [oslo_policy] [pci] [placement] region-name = RegionOne project_domain_name = Default project_name = service auth_type = password user_domain_name = Default auth_url = http://10.10.10.33:5000/v3 username = placement password = huawei123 [quota] [rdp] [remote_debug] [scheduler] discover_hosts_in_cells_interval = 300 [serial_console] [service_user] [spice] [upgrade_levels] [vault] [vendordata_dynamic_auth] [vmware] [vnc] enabled = true server_listen = 10.10.10.33 server_proxyclient_address = 10.10.10.33 [workarounds] [wsgi] [xenserver] [xvp] [root@controller opt]# controller **controller -- neutron.conf neutron.conf** [root@controller opt]# grep -v -e "#" /etc/neutron/neutron.conf | awk /./ [DEFAULT] core_plugin = ml2 service_plugins = router allow_overlapping_ips = true transport_url = rabbit://openstack:huawei123@10.10.10.33 auth_strategy = keystone notify_nova_on_port_status_changes = true notify_nova_on_port_data_changes = true [agent] [cors] [database] connection = mysql+pymysql://neutron:huawei123@10.10.10.33/neutron [keystone_authtoken] auth_uri = http://10.10.10.33:5000 auth_url = http://10.10.10.33:35357 memcached_servers = 10.10.10.33:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = neutron password = huawei123 [matchmaker_redis] [nova] auth_url = http://10.10.10.33:35357 auth_type = password project_domain_name = default user_domain_name = default region_name = RegionOne project_name = service username = nova password = huawei123 [oslo_concurrency] lock_path = /var/lib/neutron/tmp [oslo_messaging_amqp] [oslo_messaging_kafka] [oslo_messaging_notifications] [oslo_messaging_rabbit] [oslo_messaging_zmq] [oslo_middleware] [oslo_policy] [quotas] [ssl]

[ssl] [root@controller opt]#

---------------- [root@controller neutron]# grep -v -e "#" dhcp_agent.ini | awk /./ [DEFAULT] interface_driver = linuxbridge dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq enable_isolated_metadata = true [agent] [ovs]

[ovs] [root@controller neutron]#

---------------------------------------
    --------------------------------
     **/var/log/message log**
         ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
         Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

        ----------------------------------------------------
        [root@controller opt]# openstack compute service list 
    +----+------------------+------------+----------+---------+-------+----------------------------+
    | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
    +----+------------------+------------+----------+---------+-------+----------------------------+
    |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
    |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
    |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
    | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
    | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
    +----+------------------+------------+----------+---------+-------+----------------------------+

    **Controller nova.conf**
+----+------------------+------------+----------+---------+-------+----------------------------+
[root@controller opt]#   grep -v -e "#"  /etc/nova/nova.conf | awk /./
[DEFAULT]
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:welcome123@10.10.10.33
my_ip = 10.10.10.33
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[api]
auth_strategy = keystone
[api_database]
connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova_api
mysql+pymysql://nova:welcome123@10.10.10.33/nova_api
[barbican]
[cache]
[cells]
[cinder]
[compute]
[conductor]
[console]
[consoleauth]
[cors]
[crypto]
[database]
connection = mysql+pymysql://nova:huawei123@10.10.10.33/nova
mysql+pymysql://nova:welcome123@10.10.10.33/nova
[devices]
[ephemeral_storage_encryption]
[filter_scheduler]
[glance]
api_servers = http://10.10.10.33:9292
[guestfs]
[healthcheck]
[hyperv]
[ironic]
[key_manager]
[keystone]
[keystone_authtoken]
auth_url = http://10.10.10.33:5000/v3
memcached_servers = 10.10.10.33:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = huawei123
welcome123
[libvirt]
[matchmaker_redis]
[metrics]
[mks]
[neutron]
url = http://10.10.10.33:9696
auth_url = http://10.10.10.33:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = huawei123
welcome123
service_metadata_proxy = true
metadata_proxy_shared_secret = huawei123
welcome123
[notifications]
[osapi_v21]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[pci]
[placement]
region-name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://10.10.10.33:5000/v3
username = placement
password = huawei123
welcome123
[quota]
[rdp]
[remote_debug]
[scheduler]
discover_hosts_in_cells_interval = 300
[serial_console]
[service_user]
[spice]
[upgrade_levels]
[vault]
[vendordata_dynamic_auth]
[vmware]
[vnc]
enabled = true
server_listen = 10.10.10.33
server_proxyclient_address = 10.10.10.33
[workarounds]
[wsgi]
[xenserver]
[xvp]
[root@controller opt]# 
**controller -- neutron.conf**
[root@controller opt]#   grep -v -e "#"  /etc/neutron/neutron.conf | awk /./
[DEFAULT]
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = true
transport_url = rabbit://openstack:huawei123@10.10.10.33
rabbit://openstack:welcome123@10.10.10.33
auth_strategy = keystone
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true
[agent]
[cors]
[database]
connection = mysql+pymysql://neutron:huawei123@10.10.10.33/neutron
mysql+pymysql://neutron:welcome123@10.10.10.33/neutron
[keystone_authtoken]
auth_uri = http://10.10.10.33:5000
auth_url = http://10.10.10.33:35357
memcached_servers = 10.10.10.33:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = huawei123
welcome123
[matchmaker_redis]
[nova]
auth_url = http://10.10.10.33:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = huawei123
welcome123
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[quotas]
[ssl]
[root@controller opt]# 
----------------
[root@controller neutron]#   grep -v -e "#"  dhcp_agent.ini | awk /./
[DEFAULT]
interface_driver = linuxbridge
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = true
[agent]
[ovs]
[root@controller neutron]# 
---------------------------------------
    --------------------------------
        **/var/log/message log**
            ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
available`enter code here`

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

        ----------------------------------------------------
        [root@controller opt]# openstack compute service list 
    +----+------------------+------------+----------+---------+-------+----------------------------+
    | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
    +----+------------------+------------+----------+---------+-------+----------------------------+
    |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
    |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
    |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
    | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
    | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
    +----+------------------+------------+----------+---------+-------+----------------------------+

    **Controller nova.conf**
+----+------------------+------------+----------+---------+-------+----------------------------+
[root@controller opt]#   grep -v -e "#"  /etc/nova/nova.conf | awk /./
[DEFAULT]
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:welcome123@10.10.10.33
my_ip = 10.10.10.33
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[api]
auth_strategy = keystone
[api_database]
connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova_api
[barbican]
[cache]
[cells]
[cinder]
[compute]
[conductor]
[console]
[consoleauth]
[cors]
[crypto]
[database]
connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova
[devices]
[ephemeral_storage_encryption]
[filter_scheduler]
[glance]
api_servers = http://10.10.10.33:9292
[guestfs]
[healthcheck]
[hyperv]
[ironic]
[key_manager]
[keystone]
[keystone_authtoken]
auth_url = http://10.10.10.33:5000/v3
memcached_servers = 10.10.10.33:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = welcome123
[libvirt]
[matchmaker_redis]
[metrics]
[mks]
[neutron]
url = http://10.10.10.33:9696
auth_url = http://10.10.10.33:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = welcome123
service_metadata_proxy = true
metadata_proxy_shared_secret = welcome123
[notifications]
[osapi_v21]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[pci]
[placement]
region-name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://10.10.10.33:5000/v3
username = placement
password = welcome123
[quota]
[rdp]
[remote_debug]
[scheduler]
discover_hosts_in_cells_interval = 300
[serial_console]
[service_user]
[spice]
[upgrade_levels]
[vault]
[vendordata_dynamic_auth]
[vmware]
[vnc]
enabled = true
server_listen = 10.10.10.33
server_proxyclient_address = 10.10.10.33
[workarounds]
[wsgi]
[xenserver]
[xvp]
[root@controller opt]# 
**controller -- neutron.conf**
[root@controller opt]#   grep -v -e "#"  /etc/neutron/neutron.conf | awk /./
[DEFAULT]
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = true
transport_url = rabbit://openstack:welcome123@10.10.10.33
auth_strategy = keystone
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true
[agent]
[cors]
[database]
connection = mysql+pymysql://neutron:welcome123@10.10.10.33/neutron
[keystone_authtoken]
auth_uri = http://10.10.10.33:5000
auth_url = http://10.10.10.33:35357
memcached_servers = 10.10.10.33:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = welcome123
[matchmaker_redis]
[nova]
auth_url = http://10.10.10.33:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = welcome123
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[quotas]
[ssl]
[root@controller opt]# 
----------------
[root@controller neutron]#   grep -v -e "#"  dhcp_agent.ini | awk /./
[DEFAULT]
interface_driver = linuxbridge
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = true
[agent]
[ovs]
[root@controller neutron]# 
---------------------------------------
    --------------------------------
        **/var/log/message log**
            ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
            Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available`enter code here`

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

  ----------------------------------------------------
         [root@controller opt]# openstack compute service list 
     +----+------------------+------------+----------+---------+-------+----------------------------+
     | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
     +----+------------------+------------+----------+---------+-------+----------------------------+
     |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
     |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
     |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
     | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
     | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
     +----+------------------+------------+----------+---------+-------+----------------------------+

     **Controller nova.conf**
 +----+------------------+------------+----------+---------+-------+----------------------------+
 [root@controller opt]#   grep -v -e "#"  /etc/nova/nova.conf | awk /./
 [DEFAULT]
 enabled_apis = osapi_compute,metadata
 transport_url = rabbit://openstack:welcome123@10.10.10.33
 my_ip = 10.10.10.33
 use_neutron = True
 firewall_driver = nova.virt.firewall.NoopFirewallDriver
 [api]
 auth_strategy = keystone
 [api_database]
 connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova_api
 [barbican]
 [cache]
 [cells]
 [cinder]
 [compute]
 [conductor]
 [console]
 [consoleauth]
 [cors]
 [crypto]
 [database]
 connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova
 [devices]
 [ephemeral_storage_encryption]
 [filter_scheduler]
 [glance]
 api_servers = http://10.10.10.33:9292
 [guestfs]
 [healthcheck]
 [hyperv]
 [ironic]
 [key_manager]
 [keystone]
 [keystone_authtoken]
 auth_url = http://10.10.10.33:5000/v3
 memcached_servers = 10.10.10.33:11211
 auth_type = password
 project_domain_name = default
 user_domain_name = default
 project_name = service
 username = nova
 password = welcome123
 [libvirt]
 [matchmaker_redis]
 [metrics]
 [mks]
 [neutron]
 url = http://10.10.10.33:9696
 auth_url = http://10.10.10.33:35357
 auth_type = password
 project_domain_name = default
 user_domain_name = default
 region_name = RegionOne
 project_name = service
 username = neutron
 password = welcome123
 service_metadata_proxy = true
 metadata_proxy_shared_secret = welcome123
 [notifications]
 [osapi_v21]
 [oslo_concurrency]
 lock_path = /var/lib/nova/tmp
 [oslo_messaging_amqp]
 [oslo_messaging_kafka]
 [oslo_messaging_notifications]
 [oslo_messaging_rabbit]
 [oslo_messaging_zmq]
 [oslo_middleware]
 [oslo_policy]
 [pci]
 [placement]
 region-name = RegionOne
 project_domain_name = Default
 project_name = service
 auth_type = password
 user_domain_name = Default
 auth_url = http://10.10.10.33:5000/v3
 username = placement
 password = welcome123
 [quota]
 [rdp]
 [remote_debug]
 [scheduler]
 discover_hosts_in_cells_interval = 300
 [serial_console]
 [service_user]
 [spice]
 [upgrade_levels]
 [vault]
 [vendordata_dynamic_auth]
 [vmware]
 [vnc]
 enabled = true
 server_listen = 10.10.10.33
 server_proxyclient_address = 10.10.10.33
 [workarounds]
 [wsgi]
 [xenserver]
 [xvp]
 [root@controller opt]# 
 **controller -- neutron.conf**
 [root@controller opt]#   grep -v -e "#"  /etc/neutron/neutron.conf | awk /./
 [DEFAULT]
 core_plugin = ml2
 service_plugins = router
 allow_overlapping_ips = true
 transport_url = rabbit://openstack:welcome123@10.10.10.33
 auth_strategy = keystone
 notify_nova_on_port_status_changes = true
 notify_nova_on_port_data_changes = true
 [agent]
 [cors]
 [database]
 connection = mysql+pymysql://neutron:welcome123@10.10.10.33/neutron
 [keystone_authtoken]
 auth_uri = http://10.10.10.33:5000
 auth_url = http://10.10.10.33:35357
 memcached_servers = 10.10.10.33:11211
 auth_type = password
 project_domain_name = default
 user_domain_name = default
 project_name = service
 username = neutron
 password = welcome123
 [matchmaker_redis]
 [nova]
 auth_url = http://10.10.10.33:35357
 auth_type = password
 project_domain_name = default
 user_domain_name = default
 region_name = RegionOne
 project_name = service
 username = nova
 password = welcome123
 [oslo_concurrency]
 lock_path = /var/lib/neutron/tmp
 [oslo_messaging_amqp]
 [oslo_messaging_kafka]
 [oslo_messaging_notifications]
 [oslo_messaging_rabbit]
 [oslo_messaging_zmq]
 [oslo_middleware]
 [oslo_policy]
 [quotas]
 [ssl]
 [root@controller opt]# 
 ----------------
 [root@controller neutron]#   grep -v -e "#"  dhcp_agent.ini | awk /./
 [DEFAULT]
 interface_driver = linuxbridge
 dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
 enable_isolated_metadata = true
 [agent]
 [ovs]
 [root@controller neutron]# 
 ---------------------------------------
     --------------------------------
         **/var/log/message log**
             ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
             Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available`enter code here`

-------------------------------------------------------------------------
[root@controller ~]#  neutron-db-manage upgrade heads
Traceback (most recent call last):
  File "/usr/bin/neutron-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 652, in main
    return_val |= bool(CONF.command.func(config, CONF.command.name))
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 171, in do_upgrade
    run_sanity_checks(config, revision)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 636, in run_sanity_checks
    script_dir.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in <module>
    run_migrations_online()
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 106, in run_migrations_online
    with DBConnection(neutron_config.database.connection, connection) as conn:
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/connection.py", line 32, in __enter__
    self.engine = session.create_engine(self.connection_url)
  File "/usr/lib/python2.7/site-packages/debtcollector/renames.py", line 43, in decorator
    return wrapped(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 184, in create_engine
    test_conn = _test_connection(engine, max_retries, retry_interval)
  File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 362, in _test_connection
    return engine.connect()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2102, in connect
    return self._connection_cls(self, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 90, in __init__
    if connection is not None else engine.raw_connection()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2188, in raw_connection
    self.pool.unique_connection, _connection)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2162, in _wrap_pool_connect
    e, dialect, self)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1472, in _handle_dbapi_exception_noconnection
    util.raise_from_cause(newraise, exc_info)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect
    return fn()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 345, in unique_connection
    return _ConnectionFairy._checkout(self)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 782, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 532, in checkout
    rec = pool._do_get()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 1186, in _do_get
    self._dec_overflow()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 1183, in _do_get
    return self._create_connection()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 350, in _create_connection
    return _ConnectionRecord(self)

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+

            ----------------------------------------------------
            [root@controller opt]# openstack compute service list 
        +----+------------------+------------+----------+---------+-------+----------------------------+
        | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
        +----+------------------+------------+----------+---------+-------+----------------------------+
        |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
        |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
        |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
        | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
        | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
        +----+------------------+------------+----------+---------+-------+----------------------------+

        **Controller nova.conf**
    +----+------------------+------------+----------+---------+-------+----------------------------+
    [root@controller opt]#   grep -v -e "#"  /etc/nova/nova.conf | awk /./
    [DEFAULT]
    enabled_apis = osapi_compute,metadata
    transport_url = rabbit://openstack:welcome123@10.10.10.33
    my_ip = 10.10.10.33
    use_neutron = True
    firewall_driver = nova.virt.firewall.NoopFirewallDriver
    [api]
    auth_strategy = keystone
    [api_database]
    connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova_api
    [barbican]
    [cache]
    [cells]
    [cinder]
    [compute]
    [conductor]
    [console]
    [consoleauth]
    [cors]
    [crypto]
    [database]
    connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova
    [devices]
    [ephemeral_storage_encryption]
    [filter_scheduler]
    [glance]
    api_servers = http://10.10.10.33:9292
    [guestfs]
    [healthcheck]
    [hyperv]
    [ironic]
    [key_manager]
    [keystone]
    [keystone_authtoken]
    auth_url = http://10.10.10.33:5000/v3
    memcached_servers = 10.10.10.33:11211
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    project_name = service
    username = nova
    password = welcome123
    [libvirt]
    [matchmaker_redis]
    [metrics]
    [mks]
    [neutron]
    url = http://10.10.10.33:9696
    auth_url = http://10.10.10.33:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = neutron
    password = welcome123
    service_metadata_proxy = true
    metadata_proxy_shared_secret = welcome123
    [notifications]
    [osapi_v21]
    [oslo_concurrency]
    lock_path = /var/lib/nova/tmp
    [oslo_messaging_amqp]
    [oslo_messaging_kafka]
    [oslo_messaging_notifications]
    [oslo_messaging_rabbit]
    [oslo_messaging_zmq]
    [oslo_middleware]
    [oslo_policy]
    [pci]
    [placement]
    region-name = RegionOne
    project_domain_name = Default
    project_name = service
    auth_type = password
    user_domain_name = Default
    auth_url = http://10.10.10.33:5000/v3
    username = placement
    password = welcome123
    [quota]
    [rdp]
    [remote_debug]
    [scheduler]
    discover_hosts_in_cells_interval = 300
    [serial_console]
    [service_user]
    [spice]
    [upgrade_levels]
    [vault]
    [vendordata_dynamic_auth]
    [vmware]
    [vnc]
    enabled = true
    server_listen = 10.10.10.33
    server_proxyclient_address = 10.10.10.33
    [workarounds]
    [wsgi]
    [xenserver]
    [xvp]
    [root@controller opt]# 
    **controller -- neutron.conf**
    [root@controller opt]#   grep -v -e "#"  /etc/neutron/neutron.conf | awk /./
    [DEFAULT]
    core_plugin = ml2
    service_plugins = router
    allow_overlapping_ips = true
    transport_url = rabbit://openstack:welcome123@10.10.10.33
    auth_strategy = keystone
    notify_nova_on_port_status_changes = true
    notify_nova_on_port_data_changes = true
    [agent]
    [cors]
    [database]
    connection = mysql+pymysql://neutron:welcome123@10.10.10.33/neutron
    [keystone_authtoken]
    auth_uri = http://10.10.10.33:5000
    auth_url = http://10.10.10.33:35357
    memcached_servers = 10.10.10.33:11211
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    project_name = service
    username = neutron
    password = welcome123
    [matchmaker_redis]
    [nova]
    auth_url = http://10.10.10.33:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = nova
    password = welcome123
    [oslo_concurrency]
    lock_path = /var/lib/neutron/tmp
    [oslo_messaging_amqp]
    [oslo_messaging_kafka]
    [oslo_messaging_notifications]
    [oslo_messaging_rabbit]
    [oslo_messaging_zmq]
    [oslo_middleware]
    [oslo_policy]
    [quotas]
    [ssl]
    [root@controller opt]# 
    ----------------
    [root@controller neutron]#   grep -v -e "#"  dhcp_agent.ini | awk /./
    [DEFAULT]
    interface_driver = linuxbridge
    dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
    enable_isolated_metadata = true
    [agent]
    [ovs]
    [root@controller neutron]# 
    ---------------------------------------
        --------------------------------
            **/var/log/message log**
                ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available`enter code here`

-------------------------------------------------------------------------
[root@controller ~]#  neutron-db-manage upgrade heads
Traceback (most recent call last):
  File "/usr/bin/neutron-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 652, in main
    return_val |= bool(CONF.command.func(config, CONF.command.name))
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 171, in do_upgrade
    run_sanity_checks(config, revision)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 636, in run_sanity_checks
    script_dir.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in <module>
    run_migrations_online()
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 106, in run_migrations_online
    with DBConnection(neutron_config.database.connection, connection) as conn:
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/connection.py", line 32, in __enter__
    self.engine = session.create_engine(self.connection_url)
  File "/usr/lib/python2.7/site-packages/debtcollector/renames.py", line 43, in decorator
    return wrapped(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 184, in create_engine
    test_conn = _test_connection(engine, max_retries, retry_interval)
  File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 362, in _test_connection
    return engine.connect()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2102, in connect
    return self._connection_cls(self, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 90, in __init__
    if connection is not None else engine.raw_connection()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2188, in raw_connection
    self.pool.unique_connection, _connection)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2162, in _wrap_pool_connect
    e, dialect, self)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1472, in _handle_dbapi_exception_noconnection
    util.raise_from_cause(newraise, exc_info)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect
    return fn()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 345, in unique_connection
    return _ConnectionFairy._checkout(self)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 782, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 532, in checkout
    rec = pool._do_get()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 1186, in _do_get
    self._dec_overflow()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 1183, in _do_get
    return self._create_connection()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 350, in _create_connection
    return _ConnectionRecord(self)

Queens OpenStack: Unable to Launch Instance Virtual Machine DHCP issue

[root@controller opt]# openstack network agent list +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+ | 10960f41-a21f-4e9c-a648-d258b08a4f99 | Linux bridge agent | compute02 | None | :-) | UP | neutron-linuxbridge-agent | | 1885aba3-dddd-41e0-acb5-11a4b59586c2 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent | | 2db28bee-52a4-4be0-a4fa-dc372d6b5081 | Linux bridge agent | compute01 | None | :-) | UP | neutron-linuxbridge-agent | | 2f4d572b-3425-4334-9faf-0d4e2b0b817f | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent | | 4ff26fb6-237b-4f30-8ce0-7895e7e488a7 | L3 agent | controller | nova | :-) | UP | neutron-l3-agent | | ca0bd149-ba57-4389-af02-1cb5f0b5933e | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent | +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+As soon as i spin the VM: tailf /var/log/nova/nova-conductor.log 2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager [req-b13dc3f6-1ab4-4457-b74d-eba9c12cab4b 7924d05db1ed482fad40df128df9665e 38165053d9234765b1e27ce253de2a8d - default default] Failed to schedule instances: NoValidHost_Remote: No valid host was found. Traceback (most recent call last):

           ----------------------------------------------------
            [root@controller opt]# openstack compute File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 226, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 139, in select_destinations
    raise exception.NoValidHost(reason="")

NoValidHost: No valid host was found.
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager Traceback (most recent call last):
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1116, in schedule_and_build_instances
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     instance_uuids, return_alternates=True)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 716, in _schedule_instances
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return_alternates=return_alternates)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 726, in wrapped
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return func(*args, **kwargs)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return getattr(self.instance, __name)(*args, **kwargs)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return cctxt.call(ctxt, 'select_destinations', **msg_args)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     retry=self.retry)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     timeout=timeout, retry=retry)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     retry=retry)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     raise result
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. 
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager Traceback (most recent call last):
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager 
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 226, in inner
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     return func(*args, **kwargs)
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager 
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 139, in select_destinations
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager     raise exception.NoValidHost(reason="")
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager 
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager NoValidHost: No valid host was found. 
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager 
2018-09-28 12:03:09.969 4524 ERROR nova.conductor.manager 
2018-09-28 12:03:10.139 4524 WARNING nova.scheduler.utils [req-b13dc3f6-1ab4-4457-b74d-eba9c12cab4b 7924d05db1ed482fad40df128df9665e 38165053d9234765b1e27ce253de2a8d - default default] Failed to compute_task_build_instances: No valid host was found. 
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 226, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 139, in select_destinations
    raise exception.NoValidHost(reason="")

NoValidHost: No valid host was found. 
: NoValidHost_Remote: No valid host was found. 
2018-09-28 12:03:10.141 4524 WARNING nova.scheduler.utils [req-b13dc3f6-1ab4-4457-b74d-eba9c12cab4b 7924d05db1ed482fad40df128df9665e 38165053d9234765b1e27ce253de2a8d - default default] [instance: d7429dd3-1b0f-45af-a46d-db12ff3e484f] Setting instance to ERROR state.: NoValidHost_Remote: No valid host was found. 


**[root@controller ~]# tailf  /var/log/nova/nova-consoleauth.log** 
nova-network is deprecated, as are any related configuration options.
).  Its value may be silently ignored in the future.
2018-09-27 12:45:09.451 4497 WARNING oslo_config.cfg [req-4adc8af6-4e21-407f-b93b-30555f630473 - - - - -] Option "force_dhcp_release" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
).  Its value may be silently ignored in the future.
2018-09-27 12:45:09.462 4497 WARNING oslo_config.cfg [req-4adc8af6-4e21-407f-b93b-30555f630473 - - - - -] Option "use_neutron" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
).  Its value may be silently ignored in the future.
2018-09-27 12:45:09.487 4497 WARNING oslo_config.cfg [req-4adc8af6-4e21-407f-b93b-30555f630473 - - - - -] Option "url" from group "neutron" is deprecated for removal (Endpoint lookup uses the service list 
        +----+------------------+------------+----------+---------+-------+----------------------------+
        | ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
        +----+------------------+------------+----------+---------+-------+----------------------------+
        |  1 | nova-consoleauth | controller | internal | enabled | up    | 2018-09-28T05:45:40.000000 |
        |  2 | nova-conductor   | controller | internal | enabled | up    | 2018-09-28T05:45:37.000000 |
        |  9 | nova-scheduler   | controller | internal | enabled | up    | 2018-09-28T05:45:39.000000 |
        | 13 | nova-compute     | compute01  | nova     | enabled | up    | 2018-09-28T05:45:42.000000 |
        | 14 | nova-compute     | compute02  | nova     | enabled | up    | 2018-09-28T05:45:45.000000 |
        +----+------------------+------------+----------+---------+-------+----------------------------+

        **Controller nova.conf**
    +----+------------------+------------+----------+---------+-------+----------------------------+
    [root@controller opt]#   grep -v -e "#"  /etc/nova/nova.conf | awk /./
    [DEFAULT]
    enabled_apis = osapi_compute,metadata
    transport_url = rabbit://openstack:welcome123@10.10.10.33
    my_ip = 10.10.10.33
    use_neutron = True
    firewall_driver = nova.virt.firewall.NoopFirewallDriver
    [api]
    auth_strategy = keystone
    [api_database]
    connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova_api
    [barbican]
    [cache]
    [cells]
    [cinder]
    [compute]
    [conductor]
    [console]
    [consoleauth]
    [cors]
    [crypto]
    [database]
    connection = mysql+pymysql://nova:welcome123@10.10.10.33/nova
    [devices]
    [ephemeral_storage_encryption]
    [filter_scheduler]
    [glance]
    api_servers = http://10.10.10.33:9292
    [guestfs]
    [healthcheck]
    [hyperv]
    [ironic]
    [key_manager]
    [keystone]
    [keystone_authtoken]
    auth_url = http://10.10.10.33:5000/v3
    memcached_servers = 10.10.10.33:11211
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    project_name = service
    username = nova
    password = welcome123
    [libvirt]
    [matchmaker_redis]
    [metrics]
    [mks]
    [neutron]
    url = http://10.10.10.33:9696
    auth_url = http://10.10.10.33:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = neutron
    password = welcome123
    service_metadata_proxy = true
    metadata_proxy_shared_secret = welcome123
    [notifications]
    [osapi_v21]
    [oslo_concurrency]
    lock_path = /var/lib/nova/tmp
    [oslo_messaging_amqp]
    [oslo_messaging_kafka]
    [oslo_messaging_notifications]
    [oslo_messaging_rabbit]
    [oslo_messaging_zmq]
    [oslo_middleware]
    [oslo_policy]
    [pci]
    [placement]
    region-name = RegionOne
    project_domain_name = Default
    project_name = service
    auth_type = password
    user_domain_name = Default
    auth_url = http://10.10.10.33:5000/v3
    username = placement
    password = welcome123
    [quota]
    [rdp]
    [remote_debug]
    [scheduler]
    discover_hosts_in_cells_interval = 300
    [serial_console]
    [service_user]
    [spice]
    [upgrade_levels]
    [vault]
    [vendordata_dynamic_auth]
    [vmware]
    [vnc]
    enabled = true
    server_listen = 10.10.10.33
    server_proxyclient_address = 10.10.10.33
    [workarounds]
    [wsgi]
    [xenserver]
    [xvp]
    [root@controller opt]# 
    **controller -- neutron.conf**
    [root@controller opt]#   grep -v -e "#"  /etc/neutron/neutron.conf | awk /./
    [DEFAULT]
    core_plugin = ml2
    service_plugins = router
    allow_overlapping_ips = true
    transport_url = rabbit://openstack:welcome123@10.10.10.33
    auth_strategy = keystone
    notify_nova_on_port_status_changes = true
    notify_nova_on_port_data_changes = true
    [agent]
    [cors]
    [database]
    connection = mysql+pymysql://neutron:welcome123@10.10.10.33/neutron
    [keystone_authtoken]
    auth_uri = http://10.10.10.33:5000
    auth_url = http://10.10.10.33:35357
    memcached_servers = 10.10.10.33:11211
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    project_name = service
    username = neutron
    password = welcome123
    [matchmaker_redis]
    [nova]
    auth_url = http://10.10.10.33:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = nova
    password = welcome123
    [oslo_concurrency]
    lock_path = /var/lib/neutron/tmp
    [oslo_messaging_amqp]
    [oslo_messaging_kafka]
    [oslo_messaging_notifications]
    [oslo_messaging_rabbit]
    [oslo_messaging_zmq]
    [oslo_middleware]
    [oslo_policy]
    [quotas]
    [ssl]
    [root@controller opt]# 
    ----------------
    [root@controller neutron]#   grep -v -e "#"  dhcp_agent.ini | awk /./
    [DEFAULT]
    interface_driver = linuxbridge
    dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
    enable_isolated_metadata = true
    [agent]
    [ovs]
    [root@controller neutron]# 
catalog via common keystoneauth1 Adapter configuration options. In the current release, "url" will override this behavior, but will be ignored and/or removed in a future release. To achieve the same result, use the endpoint_override option instead.).  Its value may be silently ignored in the future.
2018-09-27 12:45:09.520 4497 INFO nova.service [req-4adc8af6-4e21-407f-b93b-30555f630473 - - - - -] Starting consoleauth node (version 17.0.5-1.el7)








        ---------------------------------------
         --------------------------------
             **/var/log/message log**
                 ep 28 01:26:04 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                 Sep 28 01:26:16 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                 Sep 28 01:26:30 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                 Sep 28 01:26:36 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:39 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:47 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:26:55 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:27:09 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:27:20 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available
                Sep 28 01:27:24 controller dnsmasq-dhcp[18855]: DHCPDISCOVER(ns-a19b6380-00) ec:f4:bb:c7:e5:8c no address available`enter code here`

 -------------------------------------------------------------------------
 [root@controller ~]#  neutron-db-manage upgrade heads
 Traceback (most recent call last):
   File "/usr/bin/neutron-db-manage", line 10, in <module>
     sys.exit(main())
   File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 652, in main
     return_val |= bool(CONF.command.func(config, CONF.command.name))
   File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 171, in do_upgrade
    run_sanity_checks(config, revision)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 636, in run_sanity_checks
    script_dir.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in <module>
    run_migrations_online()
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 106, in run_migrations_online
    with DBConnection(neutron_config.database.connection, connection) as conn:
  File "/usr/lib/python2.7/site-packages/neutron/db/migration/connection.py", line 32, in __enter__
    self.engine = session.create_engine(self.connection_url)
  File "/usr/lib/python2.7/site-packages/debtcollector/renames.py", line 43, in decorator
    return wrapped(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 184, in create_engine
    test_conn = _test_connection(engine, max_retries, retry_interval)
  File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 362, in _test_connection
    return engine.connect()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2102, in connect
    return self._connection_cls(self, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 90, in __init__
    if connection is not None else engine.raw_connection()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2188, in raw_connection
    self.pool.unique_connection, _connection)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2162, in _wrap_pool_connect
    e, dialect, self)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1472, in _handle_dbapi_exception_noconnection
    util.raise_from_cause(newraise, exc_info)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect
    return fn()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 345, in unique_connection
    return _ConnectionFairy._checkout(self)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 782, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 532, in checkout
    rec = pool._do_get()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 1186, in _do_get
    self._dec_overflow()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 1183, in _do_get
    return self._create_connection()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/pool.py", line 350, in _create_connection
    return _ConnectionRecord(self)
   elf)