Ask Your Question

cloudadmin's profile - activity

2018-04-20 08:35:29 -0500 received badge  Famous Question (source)
2018-04-20 08:35:29 -0500 received badge  Notable Question (source)
2017-09-06 10:29:34 -0500 received badge  Famous Question (source)
2017-07-27 08:51:28 -0500 received badge  Notable Question (source)
2017-07-27 05:35:08 -0500 commented question Linux bridge agent on compute node

Thanks to both of you.

I did this and it does not help. I still don't see the linux bridge service from compute node.

linuxbridge-agent.log

2017-07-27 11:37:16.251 12704 CRITICAL neutron [-] Exception: Failed to spawn rootwrap process.
2017-07-26 14:04:51 -0500 received badge  Popular Question (source)
2017-07-26 03:07:12 -0500 asked a question Linux bridge agent on compute node

Hi, I set up OpenStack Ocata on CentOS 7. When I run openstack network agent list on the controller node, I get this:

+--------------------------------------+--------------------+----------------+-------------------+-------+-------+---------------------------+
| ID                                   | Agent Type         | Host           | Availability Zone | Alive | State | Binary                    |
+--------------------------------------+--------------------+----------------+-------------------+-------+-------+---------------------------+
| 00c3d27c-80cf-4000-b09d-16e6be306d1e | Linux bridge agent | controller0101 | None              | True  | UP    | neutron-linuxbridge-agent |
| 4414a2c6-704e-47d4-9c3e-bb9bf3f3c866 | Metadata agent     | controller0101 | None              | True  | UP    | neutron-metadata-agent    |
| 507b1246-9586-46a4-b17a-a5d080b9f521 | DHCP agent         | controller0101 | nova              | True  | UP    | neutron-dhcp-agent        |
| b7d0a3f4-0eba-4e81-a106-21594b3d9b88 | L3 agent           | controller0101 | nova              | True  | UP    | neutron-l3-agent          |
+--------------------------------------+--------------------+----------------+-------------------+-------+-------+---------------------------+

Linux bridge agent from compute node missing in this list.

On compute node I checked linuxbridge-agent log (/var/log/neutron/linuxbridge-agent.log) and I noticed this:

2017-07-26 09:28:26.022 14961 INFO neutron.common.config [-] Logging enabled!
2017-07-26 09:28:26.023 14961 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 10.0.1
2017-07-26 09:28:26.023 14961 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'ens224'}
2017-07-26 09:28:26.023 14961 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-07-26 09:28:26.038 14961 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Tunneling cannot be enabled without the local_ip bound to an interface on the host. Please configure local_ip CONTROLLER_IP on the host interface to be used for tunneling and restart the agent.

On the both nodes I have two interfaces, ens192 (private, management network) and ens224 (public network).

My linuxbridge_agent.ini on compute node (/etc/neutron/plugins/ml2/linuxbridge_agent.ini)

[linux_bridge]
physical_interface_mappings = provider:ens224

[vxlan]
enable_vxlan = true
local_ip = CONTROLLER_IP
l2_population = true

How can I fix the error? Should I set the public IP address instead controller IP address in local_ip variable (/etc/neutron/plugins/ml2/linuxbridge_agent.ini)?

Does enyone have any idea?

Thanks

2017-07-24 19:09:42 -0500 received badge  Famous Question (source)
2017-07-21 05:14:02 -0500 received badge  Famous Question (source)
2017-07-21 03:35:56 -0500 commented question No DHCP agents available

When I restart agents services, that services are up and alive except linux bridge agent on compute node. I will update the question.

2017-07-21 02:50:21 -0500 received badge  Editor (source)
2017-07-21 02:49:31 -0500 received badge  Notable Question (source)
2017-07-20 05:03:32 -0500 received badge  Notable Question (source)
2017-07-20 00:35:53 -0500 commented question No DHCP agents available

Which details you are interested in?

2017-07-20 00:30:16 -0500 received badge  Popular Question (source)
2017-07-19 07:28:12 -0500 asked a question No DHCP agents available

Hi, I set up OpenStack Ocata on CentOS 7. When I try to create a new instance in dashboard, I get this error:

Failed to perform requested operation on instance "testv", the instance has an error status: Please try again later [Error: Build of instance b0a15c42-4b63-469a-9d5c-168eeebb9304 aborted: Unable to establish connection to http://Controller_IP:9696/v2.0/networks.json?id=c8dff4fa-ba7d-45b3-8c40-3cf927318b6d: HTTPConnectionPool(host='Controller_IP', port=9696): Max retries exceeded].

Controller (/var/log/neutron/server.log)

2017-07-19 08:33:25.889 2452 WARNING neutron.db.agentschedulers_db [req-5d249910-9e55-4107-be19-1c3c1b27ee4f - - - - -] No DHCP agents available, skipping rescheduling
2017-07-19 08:34:02.905 2452 WARNING neutron.db.agents_db [req-aa375d6c-dfb3-464c-8d81-c4595a9a1411 - - - - -] Agent healthcheck: found 3 dead agents out of 3:
                Type       Last heartbeat host
      Metadata agent  2017-07-12 08:08:29 localhost.localdomain
          DHCP agent  2017-07-12 08:08:27 localhost.localdomain
  Linux bridge agent  2017-07-12 08:08:33 localhost.localdomain
2017-07-19 08:34:02.926 2452 WARNING neutron.db.agentschedulers_db [req-5d249910-9e55-4107-be19-1c3c1b27ee4f - - - - -] No DHCP agents available, skipping rescheduling
2017-07-19 08:34:39.944 2452 WARNING neutron.db.agents_db [req-aa375d6c-dfb3-464c-8d81-c4595a9a1411 - - - - -] Agent healthcheck: found 3 dead agents out of 3:
                Type       Last heartbeat host
      Metadata agent  2017-07-12 08:08:29 localhost.localdomain
          DHCP agent  2017-07-12 08:08:27 localhost.localdomain
  Linux bridge agent  2017-07-12 08:08:33 localhost.localdomain
2017-07-19 08:34:39.974 2452 WARNING neutron.db.agentschedulers_db [req-5d249910-9e55-4107-be19-1c3c1b27ee4f - - - - -] No DHCP agents available, skipping rescheduling
2017-07-19 08:35:16.975 2452 WARNING neutron.db.agents_db [req-aa375d6c-dfb3-464c-8d81-c4595a9a1411 - - - - -] Agent healthcheck: found 3 dead agents out of 3:
                Type       Last heartbeat host
      Metadata agent  2017-07-12 08:08:29 localhost.localdomain
          DHCP agent  2017-07-12 08:08:27 localhost.localdomain
  Linux bridge agent  2017-07-12 08:08:33 localhost.localdomain
2017-07-19 08:35:17.005 2452 WARNING neutron.db.agentschedulers_db [req-5d249910-9e55-4107-be19-1c3c1b27ee4f - - - - -] No DHCP agents available, skipping rescheduling

Controller

[root@controller ~]# openstack network agent list

+--------------------------------------+--------------------+-----------------------+-------------------+-------+-------+---------------------------+

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

+--------------------------------------+--------------------+-----------------------+-------------------+-------+-------+---------------------------+

| 0a7c60b5-1cae-4b8c-a8ea-374b39147391 | DHCP agent         | controller            | nova              | True  | UP    | neutron-dhcp-agent        |

| 67153a17-4680-47b1-8356-66e9000bc00c | Metadata agent     | localhost.localdomain | None              | False | UP    | neutron-metadata-agent    |

| 6944d727-8751-41e8-9595-8392299493e5 | DHCP agent         | localhost.localdomain | nova              | False | UP    | neutron-dhcp-agent        |

| 95bedfc6-f825-4a9f-af88-3a4a2721d226 | Linux bridge agent | controller            | None              | True  | UP    | neutron-linuxbridge-agent |

| bb98b13c-e9a8-4db2-8585-9288a47a0d29 | Metadata agent     | controller            | None              | True  | UP    | neutron-metadata-agent    |

| db4a01c0-f9eb-400f-b3fa-74228c2ba6d4 | Linux bridge agent | localhost.localdomain | None              | False | UP    | neutron-linuxbridge-agent |

+--------------------------------------+--------------------+-----------------------+-------------------+-------+-------+---------------------------+

Compute node (/var/log/neutron/linuxbridge-agent.log)


AttributeError: 'CommonAgentLoop' object has no attribute 'state_rpc'
Controller (Agents details)
[root@controller ~]# openstack network agent show 67153a17-4680-47b1-8356-66e9000bc00c
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field             | Value                                                                                                                                                           |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up    | UP                                                                                                                                                              |
| agent_type        | Metadata agent                                                                                                                                                  |
| alive             | False                                                                                                                                                           |
| availability_zone | None                                                                                                                                                            |
| binary            | neutron-metadata-agent                                                                                                                                          |
| configuration     | {u'log_agent_heartbeats': False, u'nova_metadata_port': 8775, u'nova_metadata_ip': u'controller', u'metadata_proxy_socket': u'/var/lib/neutron/metadata_proxy'} |
| created_at        | 2017-07-11 09:38:51                                                                                                                                             |
| description       | None                                                                                                                                                            |
| host              | localhost.localdomain                                                                                                                                           |
| id                | 67153a17-4680-47b1-8356-66e9000bc00c                                                                                                                            |
| last_heartbeat_at | 2017-07-12 08:08:29                                                                                                                                             |
| name              | None                                                                                                                                                            |
| started_at        | 2017-07-11 09:38:51                                                                                                                                             |
| topic             | N/A                                                                                                                                                             |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
[root@controller ~]# openstack network agent show 6944d727-8751-41e8-9595-8392299493e5
+-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field             | Value                                                                                                                                                                                          |
+-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up    | UP                                                                                                                                                                                             |
| agent_type        | DHCP agent                                                                                                                                                                                     |
| alive             | False                                                                                                                                                                                          |
| availability_zone | nova                                                                                                                                                                                           |
| binary            | neutron-dhcp-agent                                                                                                                                                                             |
| configuration     | {u'notifies_port_ready': True, u'subnets': 1, u'dhcp_lease_duration': 86400, u'dhcp_driver': u'neutron.agent.linux.dhcp.Dnsmasq', u'networks': 1, u'log_agent_heartbeats': False, u'ports': 1} |
| created_at        | 2017-07-11 09:38:52                                                                                                                                                                            |
| description       | None                                                                                                                                                                                           |
| host              | localhost.localdomain                                                                                                                                                                          |
| id                | 6944d727-8751-41e8-9595-8392299493e5 ...
(more)
2017-07-19 06:42:22 -0500 received badge  Popular Question (source)
2017-07-19 01:42:50 -0500 commented question No valid hosts was found. There are not enough hosts available.

Ok, I added ports in the firewal of controller node. It looks like the rules were cleared when I restarted the cpontroller node. Now I have another problem:

Agent healthcheck: found 3 dead agents out of 3
2017-07-18 16:44:07 -0500 received badge  Popular Question (source)
2017-07-18 07:53:25 -0500 commented answer OpenStack new installation configs

I set up the new environment and I will try that.

2017-07-18 07:52:33 -0500 received badge  Scholar (source)
2017-07-18 07:46:58 -0500 answered a question Unable to login in Horizon

I delete all nodes and set up the new environment. Now its working fine.

2017-07-18 07:44:51 -0500 asked a question No valid hosts was found. There are not enough hosts available.

Hi, I set up OpenStack Ocata on CentOS 7. When I try to create a new instance in dashboard, I get this error: No valid hosts was found. There are not enough hosts available.

Compute node (/var/log/nova/nova-compute.log)

2017-07-21 08:52:45.701 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Attempting claim: memory 64 MB, disk 1 GB, vcpus 1 CPU
2017-07-21 08:52:45.702 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Total memory: 8191 MB, used: 512.00 MB
2017-07-21 08:52:45.702 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] memory limit: 12286.50 MB, free: 11774.50 MB
2017-07-21 08:52:45.703 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Total disk: 7 GB, used: 0.00 GB
2017-07-21 08:52:45.703 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] disk limit: 7.00 GB, free: 7.00 GB
2017-07-21 08:52:45.704 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Total vcpu: 8 VCPU, used: 0.00 VCPU
2017-07-21 08:52:45.705 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] vcpu limit not specified, defaulting to unlimited
2017-07-21 08:52:45.706 23537 INFO nova.compute.claims [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Claim successful
2017-07-21 08:52:45.959 23537 INFO nova.scheduler.client.report [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Submitted allocation for instance
2017-07-21 08:52:46.328 23537 WARNING nova.virt.osinfo [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2017-07-21 08:52:46.371 23537 WARNING nova.virt.osinfo [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2017-07-21 08:52:46.641 23537 WARNING nova.virt.osinfo [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2017-07-21 08:52:46.642 23537 INFO nova.virt.libvirt.driver [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] [instance: 23cfcf92-7c22-41cf-8b74-a8d10cd6c239] Creating image
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager [req-8eae2f17-880c-40a8-9dc9-4ec5f700ad67 f4d5b493b30f4f458569feeca2b877c3 eab26bcf12b14f1988a6aec2db3f0556 - - -] Instance failed network setup after 1 attempt(s)
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager Traceback (most recent call last):
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1399, in _allocate_network_async
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager     bind_host_id=bind_host_id)
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 873, in allocate_for_instance
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager     bind_host_id, dhcp_options, available_macs)
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 992, in _update_ports_for_instance
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager     vif.destroy()
2017-07-21 08:52:49.318 23537 ERROR nova.compute.manager   File "/usr/lib/python2 ...
(more)
2017-07-07 08:43:31 -0500 asked a question Unable to login in Horizon

Hi, I installed OpenStack Ocata (Vanilla). Everything works fine except logging into the dashboard. I use the same username and password as it is in the admin-rc file.

Log /var/log/httpd/error.log

Login failed for user "admin"

I found similar topics

https://ask.openstack.org/en/question/100397/unable-to-login-to-horizon/?answer=108385#post-id-108385 (https://ask.openstack.org/en/question...)

https://ask.openstack.org/en/question/98748/horizon-so-i-broke-the-dashboard/ (https://ask.openstack.org/en/question...)

https://ask.openstack.org/en/question/91642/unable-to-login-to-horizon/?answer=92377#post-id-92377 (https://ask.openstack.org/en/question...)

These solutions do not solve my problem. Does anyone have idea how to fix my problem?

Thanks!

2017-07-07 02:41:18 -0500 answered a question Unable to login to horizon

I have the same problem with Ocata (Vanilla). How do you fix that guys?

2017-07-05 07:34:11 -0500 received badge  Notable Question (source)
2017-06-28 07:59:28 -0500 received badge  Popular Question (source)
2017-06-27 12:26:15 -0500 asked a question OpenStack new installation configs

Hi, I have two questions about the new installation of OpenStack. I choose openstack vanilla installation (Ocata).

When I set up the configuration files on the controller node I need to enter the controller parameter, like

[database] connection = mysql+pymysql://keystone:KEYSTONE_DBPASS@controller/keystone

OR

openstack --os-auth-url http://controller:5000/v3...

Can I there leave this "controller" attribute or I need to enter the IP address of the controller? Or I can change "controller" to "localhost"?

My second question is, where I set up the public IP addres of the OpenStack portal (Horizon)? Can a public IP address be set up in this configuration:

keystone-manage bootstrap --bootstrap-password ADMIN_PASS --bootstrap-admin-url http://controller:35357/v3/ --bootstrap-internal-url http://controller:5000/v3/ --bootstrap-public-url http://controller:5000/v3/ --bootstrap-region-id RegionOne*

Can I in this configuration change bootstrap-public-url attrubite from "controller" to the public IP address?

Thank you!

2017-01-27 11:41:53 -0500 received badge  Enthusiast
2017-01-25 11:32:22 -0500 received badge  Famous Question (source)
2017-01-22 03:19:28 -0500 received badge  Notable Question (source)
2017-01-20 11:25:55 -0500 commented question OpenStack Juno Network problem

And after that I revert all public (floating) IP addresses to the instances. That works but it is not a solution. I have one tenant which have two windows instances and that works only for one instance - the second instance is still unconnected. Do you have any idea about the reason of this problem?