Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1151606

Summary: public vips not populated (blocker)
Product: Red Hat OpenStack Reporter: Balaji <bjayavel>
Component: ruby193-rubygem-staypuftAssignee: Brad P. Crochet <brad>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: aberezin, bjayavel, brad, dnavale, mburns, rhos-maint, sasha, yeylon
Target Milestone: z2Keywords: ZStream
Target Release: Installer   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ruby193-rubygem-staypuft-0.4.10-1.el6ost Doc Type: Bug Fix
Doc Text:
When assigning a subnet to a NIC, the system would remove that subnet from all other NICs including the hidden VIP interfaces. As a result, assigning the Public API, Management and Admin API subnets to any non-provisioning subnet would wipe out the VIP addresses. With this update, when assigning the subnet to a NIC, the subnet is removed from all other interfaces except the VIP interfaces and the VIP addresses remain available on the interfaces.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-04 17:03:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Balaji 2014-10-10 19:32:25 UTC
Description of problem:
public vips not populated during HA deployment

Version-Release number of selected component (if applicable):
Rhel-osp-installer A1 release

How reproducible:
HA deployment

Steps to Reproduce:
1.Assign the hosts during deployment, select hosts -->edit-->Network and scroll down to the NICs to see if the IPs have been populated
2.
3.

Actual results:
Occassionally the NICs are blank with no subnet or IPs assigned

Expected results:
All the NICs and virtual NICs should have been assigned appropriate subnet and IPs/VIPs

Additional info:

This is a blocker since the right subnet has to be assigned to each NIC or virtual NIC. Manual assignment may cause mismatch will result in deployment to fail.

Comment 3 Scott Seago 2014-10-15 15:39:45 UTC
Could you re-test this on an A2 build? Some things have changed around this and this would minimize the chances of us trying to chase something down that's no longer an issue. If you can reproduce this on an A2 build, I'd like to poke around and see what's going on there myself.

Comment 5 Alexander Chuzhoy 2014-10-17 18:08:49 UTC
Verified: FailedQA


Environment:
openstack-foreman-installer-2.0.30-1.el6ost.noarch
rhel-osp-installer-0.4.4-1.el6ost.noarch
openstack-puppet-modules-2014.1-24.el6ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch



The IP is listed on the NICs, but the subnet isn't specified (except for the primary interface).

Comment 6 Mike Burns 2014-10-17 20:42:32 UTC
Some more information and steps:

* Create HA deployment
* create subnets
* assign public_api and/or management and/or private_api to a subnet that is *not* default/provisioning
* discover hosts (at least 3 for controllers)
* assign 1 host to controller role
* open the details of that host ->  you'll see the vips in the network tab which are all assigned correctly
* assign other hosts to controller role
->  vips are still correct
* configure nics on all the controller hosts
* assign the networks (including the vip networks)
* check the host with the vips again (it will have the vip's wiped)

Comment 7 Brad P. Crochet 2014-10-20 15:57:00 UTC
Should be fixed by: https://github.com/theforeman/staypuft/pull/353

Comment 9 Alexander Chuzhoy 2014-10-21 20:27:03 UTC
Verified: FailedQA

Environment:
openstack-puppet-modules-2014.1-24.el6ost.noarch
rhel-osp-installer-0.4.5-1.el6ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch
openstack-foreman-installer-2.0.30-1.el6ost.noarch
ruby193-rubygem-staypuft-0.4.8-1.el6ost.noarch

The subnet is specified on all interfaces with IP except for the interface from the subnet with the external role assigned to it.

Comment 10 Brad P. Crochet 2014-10-22 12:07:40 UTC
PR available: https://github.com/theforeman/staypuft/pull/360

Comment 13 Alexander Chuzhoy 2014-10-24 15:38:55 UTC
Verified:
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch
rhel-osp-installer-0.4.5-2.el6ost.noarch
openstack-puppet-modules-2014.1-24.1.el6ost.noarch
openstack-foreman-installer-2.0.31-1.el6ost.noarch
ruby193-rubygem-staypuft-0.4.10-1.el6ost.noarch


The issue didn't reproduce - all the VIPs are listed, and the subnet is shown.

Comment 15 errata-xmlrpc 2014-11-04 17:03:25 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/RHBA-2014-1800.html