Ask Your Question

akqzx's profile - activity

2015-11-16 21:30:32 -0600 received badge  Popular Question (source)
2015-11-16 01:26:27 -0600 received badge  Nice Question (source)
2015-11-07 05:54:57 -0600 received badge  Famous Question (source)
2015-10-20 10:22:45 -0600 received badge  Famous Question (source)
2015-10-06 09:56:17 -0600 received badge  Notable Question (source)
2015-09-19 00:30:38 -0600 received badge  Popular Question (source)
2015-09-16 11:15:06 -0600 asked a question oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue

I install kilo on ubuntu, After I add a compute node,I get the error log:

root@controller:~# tail -f /var/log/nova/nova-cert.log
2015-09-16 17:36:56.383 1115 INFO nova.openstack.common.service [req-bdd448cb-f029-4608-8e4a-f7eeef0e0d22 - - - - -] Caught SIGTERM, exiting
2015-09-16 17:36:56.605 1115 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-16 17:36:57.721 3151 INFO nova.service [-] Starting cert node (version 2015.1.1)
2015-09-16 17:36:58.285 3151 INFO oslo_messaging._drivers.impl_rabbit [req-9ece30c3-7439-4808-a7c2-ae18bfcc4a89 - - - - -] Connecting to AMQP server on controller:5672
2015-09-16 17:36:58.298 3151 INFO oslo_messaging._drivers.impl_rabbit [req-9ece30c3-7439-4808-a7c2-ae18bfcc4a89 - - - - -] Connected to AMQP server on controller:5672
2015-09-16 17:37:04.195 3151 INFO nova.openstack.common.service [req-4dd9d533-7584-4cb6-8434-64b35d82c8e3 - - - - -] Caught SIGTERM, exiting
2015-09-16 17:37:04.327 3151 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-16 17:37:05.437 3177 INFO nova.service [-] Starting cert node (version 2015.1.1)
2015-09-16 17:37:05.969 3177 INFO oslo_messaging._drivers.impl_rabbit [req-a65cf614-a6c4-4604-a01a-bf5c870f63eb - - - - -] Connecting to AMQP server on controller:5672
2015-09-16 17:37:05.982 3177 INFO oslo_messaging._drivers.impl_rabbit [req-a65cf614-a6c4-4604-a01a-bf5c870f63eb - - - - -] Connected to AMQP server on controller:5672       

root@controller:~# tail -f /var/log/nova/nova-
nova-api.log          nova-cert.log         nova-conductor.log    nova-consoleauth.log  nova-manage.log       nova-novncproxy.log   nova-scheduler.log
root@controller:~# tail -f /var/log/nova/nova-consoleauth.log
2015-09-16 17:12:57.361 3389 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-16 17:12:58.796 9241 INFO nova.service [-] Starting consoleauth node (version 2015.1.1)
2015-09-16 17:12:58.997 9241 INFO oslo_messaging._drivers.impl_rabbit [req-0fefe067-9600-449a-a94d-41eb6df3f767 - - - - -] Connecting to AMQP server on controller:5672
2015-09-16 17:12:59.014 9241 INFO oslo_messaging._drivers.impl_rabbit [req-0fefe067-9600-449a-a94d-41eb6df3f767 - - - - -] Connected to AMQP server on controller:5672
2015-09-16 17:24:03.988 9241 INFO nova.openstack.common.service [req-0ef490cd-f052-4d96-bf1c-2f69b5439671 - - - - -] Caught SIGTERM, exiting
2015-09-16 17:24:04.318 9241 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-16 17:26:40.059 1118 INFO nova.service [-] Starting consoleauth node (version 2015.1.1)
2015-09-16 17:26:40.097 1118 WARNING oslo_db.sqlalchemy.session [req-55477aae-1b89-4dca-b020-22ac89bf171e - - - - -] SQL connection failed. 10 attempts left.
2015-09-16 17:26:50.314 1118 INFO oslo_messaging._drivers.impl_rabbit [req-55477aae-1b89-4dca-b020-22ac89bf171e - - - - -] Connecting to AMQP server on controller:5672
2015-09-16 17:26:50.333 1118 INFO oslo_messaging._drivers.impl_rabbit [req-55477aae-1b89-4dca-b020-22ac89bf171e - - - - -] Connected to AMQP server on controller:5672
2015-09-08 02:30:36 -0600 received badge  Famous Question (source)
2015-09-01 22:16:26 -0600 commented answer Juno neutron DVR and multiple external network can not work

what is this for? I do not had any fip**

root@network:~# ip netns
qrouter-1bf79330-4e63
snat-a98c8471-e966
qrouter-cfe08d24-b60b
qrouter-a98c8471-e966
qdhcp-bc6d543f-e8b0
qdhcp-8997fbe9-f3df
qdhcp-553f18d9-1fd9
qdhcp-344d66dd-8578
qdhcp-02b3253a-6b28
2015-09-01 22:07:08 -0600 commented question Juno neutron DVR and multiple external network can not work

Field Value

admin_state_up True

id ee6d93fe-6b2d-454c-b477

name vlan802

provider:network_type vlan

provider:physical_network external

provider:segmentation_id 802

router:external True

shared False

status ACTIVE

subnets

tenant_id 67a5a98b1d04452db2

2015-09-01 22:01:07 -0600 commented question Juno neutron DVR and multiple external network can not work

this:

root@controller:~# neutron net-create vlan802 --router:external True \

> --provider:physical_network external --provider:network_type vlan \

> --provider:segmentation_id 802

Created a new network:
2015-09-01 21:28:16 -0600 received badge  Notable Question (source)
2015-09-01 11:29:28 -0600 received badge  Popular Question (source)
2015-09-01 09:34:36 -0600 received badge  Notable Question (source)
2015-09-01 03:35:55 -0600 commented question Juno neutron DVR and multiple external network can not work

I post ml2_conf.ini in the question,Thank you

2015-09-01 03:11:25 -0600 commented question Juno neutron DVR and multiple external network can not work

Yes,I ues the same "provider external networks" to create everal external networks.

I had only one NIC can be use to external network,had anyway to make it?

my openstack Tenant network use vxlan,and External network use vlan.

2015-08-31 22:32:57 -0600 received badge  Editor (source)
2015-08-31 22:30:02 -0600 asked a question Juno neutron DVR and multiple external network can not work

Hello

After I enable DVR and add multiple external network,I get the error log:

root@network:~# tail -f /var/log/neutron/l3-agent.log
2015-09-01 11:13:02.507 10689 INFO neutron.openstack.common.service [req-98f5f879-41ee-40f1-b4ea-4883b41b95a6 None] Caught SIGTERM, exiting
2015-09-01 11:13:03.111 30071 INFO neutron.common.config [-] Logging enabled!
2015-09-01 11:13:03.117 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connecting to AMQP server on controller:5672
2015-09-01 11:13:03.133 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connected to AMQP server on controller:5672
2015-09-01 11:13:03.140 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connecting to AMQP server on controller:5672
2015-09-01 11:13:03.153 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connected to AMQP server on controller:5672
2015-09-01 11:13:03.193 30071 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672
2015-09-01 11:13:03.206 30071 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2015-09-01 11:13:03.219 30071 INFO neutron.agent.l3_agent [-] L3 agent started
2015-09-01 11:13:06.463 30071 ERROR neutron.agent.l3_agent [-] DVR: no map match_port found!
2015-09-01 11:13:07.108 30071 ERROR neutron.agent.l3_agent [-] DVR: no map match_port found!


root@network:~# cat /etc/neutron/plugins/ml2/ml2_conf.ini |grep -Ev '(^$)|(^\s*#)'
[ml2]
type_drivers = local,flat,vlan,gre,vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch,l2population
[ml2_type_flat]
[ml2_type_vlan]
network_vlan_ranges = external:610:650
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges = 65537:69999
vxlan_group = 239.1.1.1
[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[ovs]
local_ip = 10.0.1.21
bridge_mappings = external:br-ex
[agent]
l2population = True
enable_distributed_routing = True
arp_responder = True
tunnel_types = vxlan                              


root@network:~# tail -f /var/log/neutron/openvswitch-agent.log
2015-09-01 11:19:30.365 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Configuration for device d27bedbb-a476-46b5-8c07-182232dc9559 completed.
2015-09-01 11:19:30.518 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Port f2fd8f08-fc83-4d81-be4f-dbf3491d1003 updated. Details: {u'profile': {}, u'admin_state_up': True, u'network_id': u'02b3253a-6b28-4584-bb6f-ef734c4a7c6b', u'segmentation_id': 65541, u'device_owner': u'network:router_interface_distributed', u'physical_network': None, u'mac_address': u'fa:16:3e:27:99:3a', u'device': u'f2fd8f08-fc83-4d81-be4f-dbf3491d1003', u'port_id': u'f2fd8f08-fc83-4d81-be4f-dbf3491d1003', u'fixed_ips': [{u'subnet_id': u'eeb67f31-ba9a-4dee-bbb0-62404663990e', u'ip_address': u'192.168.1.1'}], u'network_type': u'vxlan'}
2015-09-01 11:19:31.348 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Configuration for device f2fd8f08-fc83-4d81-be4f-dbf3491d1003 completed.
2015-09-01 11:19:31.502 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Port 3e3d20cb-18f2-4f7c-9154-b6a0984cd114 updated. Details: {u'profile': {}, u'admin_state_up': True, u'network_id': u'bc6d543f-e8b0-485c-9ecc-dfa541ec0e80', u'segmentation_id': 65537, u'device_owner': u'network:dhcp', u'physical_network': None, u'mac_address': u'fa:16:3e:9e:7f:8b', u'device': u'3e3d20cb-18f2-4f7c-9154-b6a0984cd114', u'port_id': u'3e3d20cb-18f2-4f7c-9154-b6a0984cd114', u'fixed_ips': [{u'subnet_id': u'8713c00a-c344-4566-be4a-905b11a4eb49', u'ip_address': u'192.168.1.3'}], u'network_type': u'vxlan'}
2015-09-01 11:19:31.894 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Configuration for device 3e3d20cb-18f2-4f7c-9154-b6a0984cd114 completed.
2015-09-01 11:19:32.047 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None ...
(more)
2015-08-30 10:03:21 -0600 received badge  Scholar (source)
2015-08-30 10:01:40 -0600 answered a question how to delete aggregates
MariaDB [(none)]> SET foreign_key_checks=0;
MariaDB [(none)]> truncate table aggregates;
MariaDB [(none)]> SET foreign_key_checks=1;

nova aggregate-delete "ID"
2015-08-30 09:57:06 -0600 commented answer how to delete aggregates

Hello I used this

MariaDB [(none)]> SET foreign_key_checks=0;
MariaDB [(none)]> truncate table aggregates;
2015-08-30 09:49:36 -0600 received badge  Popular Question (source)
2015-08-29 16:16:44 -0600 received badge  Student (source)
2015-08-28 04:48:37 -0600 asked a question how to delete aggregates

Hello I use

nova service delete *id*

delete compute node,

and then I can delete an aggregates with compute node

root@controller:~# nova aggregate-list

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

| Id | Name | Availability Zone |

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

| 1  | ALL  | ALL               |

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

root@controller:~# nova aggregate-details 1

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

| Id | Name | Availability Zone | Hosts                    | Metadata                |

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

| 1  | ALL  | ALL               | 'compute11', 'compute21' | 'availability_zone=ALL' |

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

root@controller:~# nova aggregate-remove-host ALL compute11

ERROR (NotFound): Cannot remove host compute11 in aggregate 1 (HTTP 404) (Request-ID: req-8e19a2fb-1db3-47d4-bf9e-99c0cc86ce26)

I try to delete it in the database,

MariaDB [nova]> select * from aggregates;

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

| created_at          | updated_at          | deleted_at | id | name | deleted |

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

| 2015-07-30 02:59:58 | 2015-08-28 09:20:08 | NULL       |  1 | ALL  |       0 |

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

1 row in set (0.00 sec)


MariaDB [nova]> select * from aggregate_host;

ERROR 1146 (42S02): Table 'nova.aggregate_host' doesn't exist

MariaDB [nova]> select * from aggregate_hosts;

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

| created_at          | updated_at | deleted_at | id | host      | aggregate_id | deleted |

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

| 2015-07-30 03:00:30 | NULL       | NULL       |  1 | compute11 |            1 |       0 |

| 2015-07-30 15:00:49 | NULL       | NULL       |  2 | compute21 |            1 |       0 |

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

2 rows in set (0.00 sec)


MariaDB [nova]> delete from aggregate_host where id=1;

ERROR 1146 (42S02): Table 'nova.aggregate_host' doesn't exist

how can I delete the aggregate.

2015-08-26 20:12:00 -0600 commented question Create Trunk on neutron for multiple VLAN

@darragh-oreilly,If I have only one NIC can be used for external,How can we do ?

2015-08-26 19:59:43 -0600 commented question Multiple floating ip pools

I have the same problem, I hope someone can help

2015-07-01 22:00:42 -0600 received badge  Enthusiast
2015-06-30 02:37:22 -0600 answered a question 实例无法获取外部网络超过1Kb的文件

已经解决,是MTU的问题

2015-06-26 03:47:28 -0600 asked a question 实例无法获取外部网络超过1Kb的文件

使用的环境是neutron+GRE,juno版本 按照官方文档搭建完成之后创建cirros虚拟机, 然后分配浮动IP,可以和外部网络互通, 可以wget外部网络1Kb以下的文件。 请问我需要怎么排查这个问题,谢谢