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

Bug 1427198

Summary: Default plan "overcloud" is replaced in UI when deploying via CLI
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: python-tripleoclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Gurenko Alex <agurenko>
Severity: urgent Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: beth.white, hbrock, jjoyce, jrist, jschluet, jslagle, jtomasek, mburns, slinaber, tvignaud
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: NeedsAllocation
Fixed In Version: Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of:
: 1440273 (view as bug list) Environment:
Last Closed: 2018-08-08 08:40:48 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:
Bug Depends On:    
Bug Blocks: 1440273    

Description Udi Kalifon 2017-02-27 15:09:06 UTC
Description of problem:
When deploying the default plan (overcloud) from the GUI, the overcloud deployment fails because it tries to deploy the cloud as IPv6.

The selected environments were:
overcloud-resource-registry-puppet.yaml
environments/puppet-pacemaker.yaml
environments/storage-environment.yaml

This happened after deploying a custom plan with IPv6, then undeploying it and trying to deploy with the default plan again.


Version-Release number of selected component (if applicable):
openstack-tripleo-ui-1.1.0-1.el7ost.noarch
openstack-tripleo-heat-templates-5.2.0-3.el7ost.noarch
openstack-tripleo-common-5.4.1-1.el7ost.noarch
openstack-tripleo-0.0.8-0.2.4de13b3git.el7ost.noarch


How reproducible:
don't know


Steps to Reproduce:
1. Deploy a custom plan with IPv6
2. Undeploy
3. Deploy with the default plan (I deployed with 3 controllers, 2 computes and 3 internal ceph).


Actual results:
Deployment fails (it fails at the point where is tries to start pcs). If you look in the swift container of the overcloud plan, you find a file there called "user-environment.yaml". It maps all the resources to their IPv6 versions.

You can also see in the mistral environment that a lot of parameters which enable the IPv6 versions of the services are set to "true":
"RabbitIPv6": true,  
"MemcachedIPv6": true,
"CephIPv6": true, 
"NovaIPv6": true,  
"MongoDbIPv6": true,
"CorosyncIPv6": true


Expected results:
When the user doesn't select any IPv6 environments, the default plan should result with an IPv4 deployment.

Comment 1 Udi Kalifon 2017-03-02 11:03:48 UTC
After reinstalling the undercloud this bug doesn't recreate any more, so there might be something missing in the scenario.

Comment 2 Udi Kalifon 2017-03-15 16:29:08 UTC
This was caused by deploying an IPv6 overcloud from the command line. When deploying from the command line, the default plan "overcloud" is replaced, and then a GUI user who tries to deploy the default plan will actually be deploying something else. The same happened when I deployed with custom roles from the CLI - I got the customized roles in the default plan in the GUI.

This is currently working as designed, we can decide whether we want to handle this differently.

Comment 5 Jiri Tomasek 2018-01-24 15:41:18 UTC
This will be fixed after CLI moves completely to using mistral workflows which operate on deployment plan stored in Swift (as GUI does currently).

Comment 7 Jiri Tomasek 2018-08-07 14:07:32 UTC
Moving this to python-tripleoclient component, see comment 5 [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1427198#c5

Comment 9 Jiri Tomasek 2018-08-08 08:40:48 UTC
Closing bug as the described CLI behaviour is currently considered correct.