Bug 1208002 - LBASS VIP creation fails because system group "nogroup" doesn't exist
Summary: LBASS VIP creation fails because system group "nogroup" doesn't exist
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 6.0 (Juno)
Assignee: Jakub Libosvar
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks: 1226933
TreeView+ depends on / blocked
 
Reported: 2015-04-01 07:41 UTC by Eduard Barrera
Modified: 2023-02-22 23:02 UTC (History)
10 users (show)

Fixed In Version: openstack-neutron-2014.2.3-5.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1226933 (view as bug list)
Environment:
Last Closed: 2015-08-24 20:12:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-16632 0 None None None 2022-07-09 07:40:43 UTC
Red Hat Product Errata RHSA-2015:1680 0 normal SHIPPED_LIVE Moderate: openstack-neutron security and bug fix update 2015-08-25 00:12:31 UTC

Description Eduard Barrera 2015-04-01 07:41:52 UTC
Description of problem:
After activating LBaaS and configuring everything, the created VIP  does not come up and ends up in ERROR state.

Looking at the lbaas-agent log, we see the following:
2015-03-12 17:12:11.977 22735 ERROR neutron.agent.linux.utils [req-ff81e951-d991-496d-9478-d92b279b1897 None]
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qlbaas-71f1e04f-e78c-424c-bda8-8df5ba93d7bb', 'haproxy', '-f', '/var/lib/neutron/lbaas/71f1e04f-e78c-424c-bda8-8df5bad]
Exit code: 1
Stdout: ''
Stderr: "[ALERT] 070/171211 (30985) : parsing [/var/lib/neutron/lbaas/71f1e04f-e78c-424c-bda8-8df5ba93d7bb/conf:4] : cannot find group id for 'nogroup' (0:Success)\n[ALERT] 070/171211 (30985) : Error(s) found  "

The fix is to set "user_group = haproxy" in /etc/neutron/lbaas_agent.ini, because the default "nogroup" does not exist on RHEL7. There is an BZ about that: https://bugzilla.redhat.com/show_bug.cgi?id=1122724 but it is only related to documentatrion

I think it should be fixed in the package too


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Jakub Libosvar 2015-04-02 08:10:13 UTC
I think this should be rather fixed in the installer. It's a configuration thing. We can override the default value though.

Eduard, which installer was used for customer's deployment? After installation was it explicitly set to "user_group = nogroup" or this option was missing and thus default was used?

Comment 4 Ihar Hrachyshka 2015-04-02 09:54:29 UTC
I actually don't think it's a matter of installer if we can just fix it in packaging.

Comment 5 Jakub Libosvar 2015-04-07 12:44:11 UTC
As per discussion with Nir, we're gonna fix it in packaging.

Comment 11 Alexander Stafeyev 2015-08-16 13:39:30 UTC
[root@puma07 ~(keystone_redhat)]# neutron lb-pool-list
+--------------------------------------+-------+----------+-------------+----------+----------------+--------+
| id                                   | name  | provider | lb_method   | protocol | admin_state_up | status |
+--------------------------------------+-------+----------+-------------+----------+----------------+--------+
| 5751e37c-4bce-4056-92b3-bcde4c0739f9 | pool1 | haproxy  | ROUND_ROBIN | HTTP     | True           | ACTIVE |
+--------------------------------------+-------+----------+-------------+----------+----------------+--------+
[root@puma07 ~(keystone_redhat)]# neutron lb-vip-list
+--------------------------------------+------+-------------+----------+----------------+--------+
| id                                   | name | address     | protocol | admin_state_up | status |
+--------------------------------------+------+-------------+----------+----------------+--------+
| 62a43520-1890-4424-b1a4-f18875ad4bb9 | vip1 | 10.35.170.2 | HTTP     | True           | ACTIVE |
+--------------------------------------+------+-------------+----------+----------------+--------+

Comment 13 errata-xmlrpc 2015-08-24 20:12:44 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://rhn.redhat.com/errata/RHSA-2015-1680.html


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