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

Bug 1607991

Summary: [RFE] Be able to compare proposed plan with existing plan
Product: Red Hat OpenStack Reporter: Archit Modi <amodi>
Component: RFEsAssignee: OSP Team <rhos-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: ccamacho, jjoyce, jpretori, jschluet, markmc, mbollo, mbracho, mburns, morazi, pweeks, sbaker, shardy, slinaber, srevivo, tvignaud
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 19:29:43 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:
Attachments:
Description Flags
ffu-upgrade-prepare-log
none
ffu-converge-log
none
sosreport-undercloud-0 none

Description Archit Modi 2018-07-24 17:03:14 UTC
Created attachment 1470335 [details]
ffu-upgrade-prepare-log

Description of problem: 
In a ceph topology env, while running openstack overcloud ffwd-upgrade prepare command wihout passing ceph-ansible-env.yaml, the upgrade prepare command passes and does not report any missing file/config error.

Steps to Reproduce:
1. Deploy rhos-10 with 3 controller, 2 compute and 3 ceph
2.Upgrade undercloud from rhos-10 to rhos-13
3. Start overcloud ffwd-upgrade process:
openstack overcloud ffwd-upgrade prepare --templates $ENV_FILES -e $HOME/cli_opts_params.yaml  -e $HOME/ffu_repos.yaml  -e /home/stack/virt/docker-images.yaml --yes 


Actual results: 
Stack overcloud UPDATE_COMPLETE

Expected results:
Stack overcloud UPDATE_FAILED: Missing ceph-ansible-env.yaml 

Additional info: 
Due to this issue, the upgrade prepare passed till the ffwd-upgrade converge step where it failed without any errors, logs attached

Comment 1 Archit Modi 2018-07-24 17:03:53 UTC
Created attachment 1470336 [details]
ffu-converge-log

Comment 2 Archit Modi 2018-07-24 17:14:15 UTC
openstack overcloud ceph-upgrade run --templates \
 -e $ALL_ENVIRONMENTS_USED_TO_DEPLOY \
 -e $HOME/cli_opts_params.yaml \ 
 -e $HOME/ceph-ansible-env.yaml \
 -e /home/stack/virt/docker-images.yaml \
 --ceph-ansible-playbook '/usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml,/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml'

Here, the passed ceph-ansible-env.yaml was not created and still the command passed without any errors.

Comment 3 Archit Modi 2018-07-24 17:31:08 UTC
Created attachment 1470337 [details]
sosreport-undercloud-0

Comment 5 Jose Luis Franco 2018-09-07 15:57:29 UTC
This improvement is wider than it looks, as it the end it requires to identify an environment file which is required (used during deployment or needed for FFWD). A work is ongoing to save the plan environment used during deployment, so it would be easier to identify this case of user errors. Marking the BZ as an RFE.

Comment 9 pweeks 2022-06-22 19:29:43 UTC
Closing due to capacity limitations, work with PM if this is indeed something that the business wants to prioritize.