Ask Your Question

Revision history [back]

Via my experience VLAN external port is required in HAProxy/Keepalived 3 Node Controller setup (RDO Liberty) :-
1. http://lxer.com/module/newswire/view/222628/index.html

Your question "Is the liberty version retrieve through RDO contain the patch ? Is there anyway to know this ? "
Working on (1) I didn't have problems with external flat network provider. Looks like commit bellow is packaged  already in RDO Liberty.

See https://bugs.launchpad.net/neutron/+bug/1494281
Comment #35
Reviewed: https://review.openstack.org/238485
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7

UPDATE 12/01/2015 MSK 13:14
Following https://github.com/beekhof/osp-ha-deploy/blob/master/keepalived/neutron-config.md
I ran :-

neutron-db-manage --config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/plugin.ini upgrade head

head is the latest trunk , seems to have :-
https://git.openstack.org/cgit/openstack/neutron/commit/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7
That's why neutron-openvswitch-agent started with no problems
related with issue described in Bug https://bugs.launchpad.net/neutron/+bug/1494281
Even build http://cbs.centos.org/koji/buildinfo?buildID=7850 doesn't have patch required per my opinion
I would be happy to be wrong about this. The only option seems to be acceptable for you is follow :-
https://github.com/beekhof/osp-ha-deploy/blob/master/HA-keepalived.md
Just for Single RDO Liberty Controller ( obviously ignore HAProxy && Keepalived , HA for Rabbitmq-server setup )
Another option download http://cbs.centos.org/koji/buildinfo?buildID=7850
and rebuild with patch :-
https://git.openstack.org/cgit/openstack/neutron/patch/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7
Then attempt to re-install neutron RPMs, also just ahead of attempt rebuild src.rpm see workaround
https://bugs.launchpad.net/neutron/+bug/1494281/comments/36
END UPDATE

Via my experience VLAN external port is required in HAProxy/Keepalived 3 Node Controller setup (RDO Liberty) :-
1. http://lxer.com/module/newswire/view/222628/index.html

Your question "Is the liberty version retrieve through RDO contain the patch ? Is there anyway to know this ? "
Working on (1) I didn't have problems with external flat network provider. Looks like commit bellow is packaged  already in RDO Liberty.

See https://bugs.launchpad.net/neutron/+bug/1494281
Comment #35
Reviewed: https://review.openstack.org/238485
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7

UPDATE 12/01/2015 MSK 13:1414:53
Following https://github.com/beekhof/osp-ha-deploy/blob/master/keepalived/neutron-config.md
I ran :-

neutron-db-manage --config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/plugin.ini upgrade head

head is the latest trunk , seems to . On working system I have :-
https://git.openstack.org/cgit/openstack/neutron/commit/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7
That's why neutron-openvswitch-agent started with no problems
related with issue described

MariaDB [neutron]> select * from ml2_network_segments;
+--------------------------------------+--------------------------------------+--------------+------------------+-----------------+------------+---------------+
| id                                   | network_id                           | network_type | physical_network | segmentation_id | is_dynamic | segment_index |
+--------------------------------------+--------------------------------------+--------------+------------------+-----------------+------------+---------------+
| 8bec3d9c-649c-48b8-ba92-92d58d14d20d | 847e5c9c-ce9f-4b2c-86fb-d7597017e8e3 | vxlan        | NULL             |              81 |          0 |             0 |
| ac80c6bc-e119-48b7-a23d-a8aaa19e500c | ab421dc7-27fa-4984-ae21-ba9518887293 | vxlan        | NULL             |              86 |          0 |             0 |
| c84c7d4c-0a9c-4e10-8a1f-09bf733a37c6 | b4580386-bc02-4aa7-8792-ea4c40c41573 | flat         | physnet1         |            NULL |          0 |             0 |
+--------------------------------------+--------------------------------------+--------------+------------------+-----------------+------------+---------------+
3 rows in Bug https://bugs.launchpad.net/neutron/+bug/1494281set (0.00 sec)

MariaDB [neutron]> desc ml2_network_segments;
+------------------+-------------+------+-----+---------+-------+
| Field            | Type        | Null | Key | Default | Extra |
+------------------+-------------+------+-----+---------+-------+
| id               | varchar(36) | NO   | PRI | NULL    |       |
| network_id       | varchar(36) | NO   | MUL | NULL    |       |
| network_type     | varchar(32) | NO   |     | NULL    |       |
| physical_network | varchar(64) | YES  |     | NULL    |       |
| segmentation_id  | int(11)     | YES  |     | NULL    |       |
| is_dynamic       | tinyint(1)  | NO   |     | 0       |       |
| segment_index    | int(11)     | NO   |     | 0       |       |
+------------------+-------------+------+-----+---------+-------+
7 rows in set (0.00 sec)

But , neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py IS NOT patched
Even build http://cbs.centos.org/koji/buildinfo?buildID=7850 doesn't have patch required per my opinion
I would be happy to be wrong about this. The only option seems to be acceptable for you is follow :-
https://github.com/beekhof/osp-ha-deploy/blob/master/HA-keepalived.md
Just for Single RDO Liberty Controller ( obviously ignore HAProxy && Keepalived , HA for Rabbitmq-server setup )
Another option download http://cbs.centos.org/koji/buildinfo?buildID=7850
and rebuild with patch :-
https://git.openstack.org/cgit/openstack/neutron/patch/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7
Then attempt to re-install neutron RPMs, also just ahead of attempt rebuild src.rpm see workaround
https://bugs.launchpad.net/neutron/+bug/1494281/comments/36
RPMs
END UPDATE

Via my experience VLAN external port is required in HAProxy/Keepalived 3 Node Controller setup (RDO Liberty) :-
1. http://lxer.com/module/newswire/view/222628/index.html

Your question "Is the liberty version retrieve through RDO contain the patch ? Is there anyway to know this ? "
Working on (1) I didn't have problems with external flat network provider. Looks like commit bellow is packaged  already in RDO Liberty.

See https://bugs.launchpad.net/neutron/+bug/1494281
Comment #35
Reviewed: https://review.openstack.org/238485
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7

UPDATE 12/01/2015 MSK 14:5316:35
Following https://github.com/beekhof/osp-ha-deploy/blob/master/keepalived/neutron-config.md
I ran :-

neutron-db-manage --config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/plugin.ini upgrade head

head is the latest trunk . On working system I have :-

MariaDB [neutron]> select * from ml2_network_segments;
+--------------------------------------+--------------------------------------+--------------+------------------+-----------------+------------+---------------+
| id                                   | network_id                           | network_type | physical_network | segmentation_id | is_dynamic | segment_index |
+--------------------------------------+--------------------------------------+--------------+------------------+-----------------+------------+---------------+
| 8bec3d9c-649c-48b8-ba92-92d58d14d20d | 847e5c9c-ce9f-4b2c-86fb-d7597017e8e3 | vxlan        | NULL             |              81 |          0 |             0 |
| ac80c6bc-e119-48b7-a23d-a8aaa19e500c | ab421dc7-27fa-4984-ae21-ba9518887293 | vxlan        | NULL             |              86 |          0 |             0 |
| c84c7d4c-0a9c-4e10-8a1f-09bf733a37c6 | b4580386-bc02-4aa7-8792-ea4c40c41573 | flat         | physnet1         |            NULL |          0 |             0 |
+--------------------------------------+--------------------------------------+--------------+------------------+-----------------+------------+---------------+
3 rows in set (0.00 sec)

MariaDB [neutron]> desc ml2_network_segments;
+------------------+-------------+------+-----+---------+-------+
| Field            | Type        | Null | Key | Default | Extra |
+------------------+-------------+------+-----+---------+-------+
| id               | varchar(36) | NO   | PRI | NULL    |       |
| network_id       | varchar(36) | NO   | MUL | NULL    |       |
| network_type     | varchar(32) | NO   |     | NULL    |       |
| physical_network | varchar(64) | YES  |     | NULL    |       |
| segmentation_id  | int(11)     | YES  |     | NULL    |       |
| is_dynamic       | tinyint(1)  | NO   |     | 0       |       |
| segment_index    | int(11)     | NO   |     | 0       |       |
+------------------+-------------+------+-----+---------+-------+
7 rows in set (0.00 sec)

But , neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py IS NOT patched
Even build http://cbs.centos.org/koji/buildinfo?buildID=7850 doesn't have patch required per my opinion
I would be happy to be wrong about this. The only option seems to be acceptable for you is follow :-
https://github.com/beekhof/osp-ha-deploy/blob/master/HA-keepalived.md
Just for Single RDO Liberty Controller ( obviously ignore HAProxy && Keepalived , HA for Rabbitmq-server setup )
Another option download http://cbs.centos.org/koji/buildinfo?buildID=7850
and rebuild with patch :-
https://git.openstack.org/cgit/openstack/neutron/patch/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7
Then attempt to re-install neutron RPMs
There is also abandoned patch :- https://review.openstack.org/#/c/225001/

 Actually, it is a hack. However, I used to apply it to already installed RDO Liberty on CentOS 7.1 and it allows to start neutron-openvswitch-agent. For now hack might be the best option of all mentioned above.

END UPDATE

Via my experience VLAN external port is required in HAProxy/Keepalived 3 Node Controller setup (RDO Liberty) :-
1. http://lxer.com/module/newswire/view/222628/index.html

Your question "Is the liberty version retrieve through RDO contain the patch ? Is there anyway to know this ? "
Working on (1) I didn't have problems with external flat network provider. Looks like commit bellow is packaged  already in RDO Liberty.

See https://bugs.launchpad.net/neutron/+bug/1494281
Comment #35
Reviewed: https://review.openstack.org/238485
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=10e07503524cc244d5c8f1f285db4a4f06dd12e7