Bug 1221076 - python-neutron-fwaas rpm lacks db upgrade 'versions' directory
Summary: python-neutron-fwaas rpm lacks db upgrade 'versions' directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ga
: 7.0 (Kilo)
Assignee: lpeer
QA Contact: Roey Dekel
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-13 09:23 UTC by Roey Dekel
Modified: 2016-04-27 03:38 UTC (History)
8 users (show)

Fixed In Version: openstack-neutron-fwaas-2015.1.0-3.el7ost
Doc Type: Known Issue
Doc Text:
Due to a known issue with the 'python-neutron-fwaas' package, Firewall-as-a-Service (FWaaS) may fail to work. This is a result of the 'python-neutron-fwaas' package missing the database upgrade 'versions' directory. In addition, upgrading the database schemas between version releases may not function correctly at this time.
Clone Of:
Environment:
Last Closed: 2015-08-05 13:23:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description Roey Dekel 2015-05-13 09:23:02 UTC
Description of problem:
Tried to work with fwaas and got error as described below

Version-Release number of selected component (if applicable):
python-neutron-fwaas-2015.1.0-2.el7ost.noarch
openstack-neutron-fwaas-2015.1.0-2.el7ost.noarch

How reproducible:
3/3

Steps to Reproduce:
1. Install RHEL-OSP 7 via packstack
2. Try to work with fwaas

Actual results:
http://pastebin.test.redhat.com/282742

Additional info:
Same as Bug 1221034, but fwaas related

Fixed manually buy adding versions dir to db and use:
neutron-db-manage --service fwaas --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head

Comment 6 Roey Dekel 2015-06-10 12:13:45 UTC
Verified on Kilo with:

Version-Release number of selected component:
---------------------------------------------
Puddle: 2015-06-02.1
openstack-neutron-fwaas-2015.1.0-3.el7ost.noarch

Reproduce steps:
----------------
1. Install RHEL-OSP 7 via packstack
2. Fixed manually by using:
neutron-db-manage --service fwaas --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head

Results:
--------
As expected:
[root@controller ~(keystone_demo)]# neutron firewall-create policy1
Created a new firewall:
+--------------------+--------------------------------------+
| Field              | Value                                |
+--------------------+--------------------------------------+
| admin_state_up     | True                                 |
| description        |                                      |
| firewall_policy_id | f423b2af-8df4-4d72-994d-3ed1b24f8ab3 |
| id                 | bf87fb30-c294-4060-91fa-428bbf831112 |
| name               |                                      |
| router_ids         | fe56731b-90f3-4a57-b3a5-540794f6d187 |
| status             | PENDING_CREATE                       |
| tenant_id          | 69def02bcd2d431f972695541a5d4e2a     |
+--------------------+--------------------------------------+

Comment:
--------
db upgrade still needed in order to use fwaas

Comment 10 errata-xmlrpc 2015-08-05 13:23:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.