Ask Your Question
0

I cannot launch instance : status = Error

asked 2017-06-22 04:42:44 -0500

locklock gravatar image

updated 2017-06-22 04:57:08 -0500

Hello everyone,

I try install openstack ocata in ubuntu 16.02 with OVS self-service component Network.

The log shows the following:

 root@compute1:# tail -f /var/log/neutron/neutron-openvswitch-agent.log

2017-06-22 10:29:57.154 20587 INFO neutron.agent.securitygroups_rpc [req-4b091856-97e4-40ca-89de-447d6f6bbf6c c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] Security group member updated [u'114c0888-c226-4486-92fc-e50270e20209']
2017-06-22 10:29:57.744 20587 INFO neutron.agent.securitygroups_rpc [req-7f0bfd06-5b4f-44a2-a1b8-920c767d2df1 c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] Security group member updated [u'114c0888-c226-4486-92fc-e50270e20209']
2017-06-22 10:29:58.866 20587 INFO neutron.agent.common.ovs_lib [req-a3716861-ce7c-4f65-9d3f-b4b3d3d517c0 - - - - -] Port 38b862ba-495b-4d79-bd9c-1dfa19815d7a not present in bridge br-int
2017-06-22 10:29:58.867 20587 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-a3716861-ce7c-4f65-9d3f-b4b3d3d517c0 - - - - -] port_unbound(): net_uuid None not managed by VLAN manager
2017-06-22 10:29:58.867 20587 INFO neutron.agent.securitygroups_rpc [req-a3716861-ce7c-4f65-9d3f-b4b3d3d517c0 - - - - -] Remove device filter for [u'38b862ba-495b-4d79-bd9c-1dfa19815d7a']
2017-06-22 10:30:00.149 20587 INFO neutron.agent.securitygroups_rpc [req-d7f28cbf-ecf4-4370-887a-d06ca0d58bc3 c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] Security group member updated [u'114c0888-c226-4486-92fc-e50270e20209']
2017-06-22 10:30:00.673 20587 INFO neutron.agent.securitygroups_rpc [req-f69d2133-cbf1-4149-9ad0-28575cd1fe46 c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] Security group member updated [u'114c0888-c226-4486-92fc-e50270e20209']
2017-06-22 10:30:00.867 20587 INFO neutron.agent.common.ovs_lib [req-a3716861-ce7c-4f65-9d3f-b4b3d3d517c0 - - - - -] Port 13cdb898-5724-4201-ab72-368fb03fef20 not present in bridge br-int
2017-06-22 10:30:00.868 20587 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-a3716861-ce7c-4f65-9d3f-b4b3d3d517c0 - - - - -] port_unbound(): net_uuid None not managed by VLAN manager
2017-06-22 10:30:00.869 20587 INFO neutron.agent.securitygroups_rpc [req-a3716861-ce7c-4f65-9d3f-b4b3d3d517c0 - - - - -] Remove device filter for [u'13cdb898-5724-4201-ab72-368fb03fef20']


root@controller:# openstack compute service list
+----+--------------+------------+----------+---------+-------+---------------+
| ID | Binary       | Host       | Zone     | Status  | State | Updated At    |
+----+--------------+------------+----------+---------+-------+---------------+
|  6 | nova-        | controller | internal | enabled | up    | 2017-06-22T09 |
|    | consoleauth  |            |          |         |       | :24:15.000000 |
|  7 | nova-        | controller | internal | enabled | up    | 2017-06-22T09 |
|    | scheduler    |            |          |         |       | :24:17.000000 |
|  8 | nova-        | controller | internal | enabled | up    | 2017-06-22T09 |
|    | conductor    |            |          |         |       | :24:17.000000 |
|  9 | nova-compute | compute1   | nova     | enabled | up    | 2017-06-22T09 |
|    |              |            |          |         |       | :24:18.000000 |
| 10 | nova-compute | compute2   | nova     | enabled | up    | 2017-06-22T09 |
|    |              |            |          |         |       | :24:17.000000 |
+----+--------------+------------+----------+---------+-------+---------------+


root@controller:# openstack network agent list
+-------------------------+--------------------+----------+-------------------+-------+-------+---------------------------+
| ID                      | Agent Type         | Host     | Availability Zone | Alive | State | Binary                    |
+-------------------------+--------------------+----------+-------------------+-------+-------+---------------------------+
| 02da8564-39c0-41c6-88a8 | DHCP agent         | network  | nova              | True  | UP    | neutron-dhcp-agent        |
| -29569fff8255           |                    |          |                   |       |       |                           |
| 2baff957-c08f-44e8      | Open vSwitch agent | compute1 | None              | True  | UP    | neutron-openvswitch-agent |
| -960b-bc3231b63b06      |                    |          |                   |       |       |                           |
| 36ded345-fc9b-          | Open vSwitch agent | compute2 | None              | True  | UP    | neutron-openvswitch-agent |
| 4ccb-8889-17e7ae9ff9ee  |                    |          |                   |       |       |                           |
| 9213326f-47f5-4a80-9581 | Open vSwitch agent | network  | None              | True  | UP    | neutron-openvswitch-agent |
| -69a2dd7b6702           |                    |          |                   |       |       |                           |
| ad731dfc-d164-4b6b-     | L3 agent           | network  | nova              | True  | UP    | neutron-l3-agent          |
| 8d04-da2e1461d358       |                    |          |                   |       |       |                           |
| c9e4fbb2-cbcd-          | Metadata agent     | network  | None              | True  | UP    | neutron-metadata-agent    |
| 4c08-be00-4c71c71f0484  |                    |          |                   |       |       |                           |
+-------------------------+--------------------+----------+-------------------+-------+-------+---------------------------+




 root@controller:# cat /etc/neutron/neutron.conf | egrep -v '(^$|^#)'[DEFAULT]
    rpc_backend = rabbit
    verbose = True
    auth_strategy = keystone
    core_plugin = ml2
    service_plugins = router
    allow_overlapping_ips = True
    notify_nova_on_port_status_changes = True
    notify_nova_on_port_data_changes = True
    nova_url = http://controller:8774/v2
    core_plugin = ml2

    [agent]
    root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf

    [database]
    connection =mysql+pymysql://neutron:pass@controller/neutron

    [keystone_authtoken]
    auth_uri = http://controller:5000
    auth_url = http://controller:35357
    memcached_servers = controller:11211
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    project_name = service
    username = neutron
    password =pass
    admin_user =admin
    admin_password =pass

    [nova]
    auth_url = http://controller:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = nova
    password =pass

    [oslo_messaging_notifications]
    transport_url = rabbit://openstack:pass@controller

    [oslo_messaging_rabbit]
    rabbit_host = controller
    rabbit_userid = openstack
    rabbit_password =pass

root@network:# cat /etc/neutron/neutron.conf | egrep -v '(^$|^#)'
[DEFAULT]
rpc_backend = rabbit
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = True
auth_strategy = keystone
verbose = True

[agent]
root_helper = sudo /usr ...
(more)
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2017-06-22 05:21:06 -0500

Check if your compute service is running or not.

edit flag offensive delete link more

Comments

Yes, compute service is active (running) on compute and controller.

locklock gravatar imagelocklock ( 2017-06-23 03:09:18 -0500 )edit
0

answered 2017-06-23 03:15:21 -0500

locklock gravatar image

updated 2017-06-23 04:01:31 -0500

In the dashboard horizon, I have this error message :

Error: Failed to perform requested operation on instance "deb", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 90c6159e-28dc-4ad1-96a3-a0548be26065. Last exception: Invalid input for field 'identity/password/user/password': None is not of type 'string' (HTTP 400) (Request-ID: req-b].

root@controller:# tail -f /var/log/nova/nova-conductor.log

2017-06-23 10:56:58.955 5609 WARNING oslo_config.cfg [req-4476f711-dd2d-463b-94a4-03aeb8317776 c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] Option "scheduler_default_filters" from group "DEFAULT" is deprecated. Use option "enabled_filters" from group "filter_scheduler".
2017-06-23 10:57:01.717 5610 ERROR nova.scheduler.utils [req-4476f711-dd2d-463b-94a4-03aeb8317776 c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] [instance: 6956232b-17fb-4344-ba20-331c3fb6bbf8] Error from last host: compute1 (node compute1): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1780, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2016, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 6956232b-17fb-4344-ba20-331c3fb6bbf8 was re-scheduled: Invalid input for field 'identity/password/user/password': None is not of type 'string' (HTTP 400) (Request-ID: req-c25e7d09-ece3-43ec-ad2b-3c059f8e417d)\n"]
2017-06-23 10:57:01.718 5610 WARNING nova.scheduler.utils [req-4476f711-dd2d-463b-94a4-03aeb8317776 c070e9c342824ef3ba41336373a17b91 05696ec4daa44a1c89a26761b621a507 - - -] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 6956232b-17fb-4344-ba20-331c3fb6bbf8. Last exception: Invalid input for field 'identity/password/user/password': None is not of type 'string' (HTTP 400) (Request-ID: req-c25e7d09-ece3-43ec-ad2b-3c059f8e417d)

I don't understand which identity it talking about.

edit flag offensive delete link more

Comments

Neither do I, but the result of an internet search for the error message point towards a bug.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-23 05:10:48 -0500 )edit
0

answered 2017-06-22 05:30:23 -0500

The openstack server show command should have a little more detail. If not, or if it's not sufficient, check the Nova log files for messages containing the instance ID.

edit flag offensive delete link more

Comments

see message above

locklock gravatar imagelocklock ( 2017-06-23 04:01:59 -0500 )edit

Resolved !

locklock gravatar imagelocklock ( 2017-06-27 04:17:23 -0500 )edit

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

Stats

Asked: 2017-06-22 04:42:44 -0500

Seen: 1,001 times

Last updated: Jun 23 '17