Victoria/Ussuri fs020 failed with Error: The --deployed-server cannot be used without the --disable-validations

Bug #1914982 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Sandeep Yadav

Bug Description

Description:-

Ussuri fs020 failed with Error: The --deployed-server cannot be used without the --disable-validations

Logs:-
https://logserver.rdoproject.org/openstack-periodic-integration-stable2/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_2comp-featureset020-ussuri/cad2007/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz

~~~
2021-02-06 06:24:09 | Nodes deployed successfully, add /home/zuul/overcloud-baremetal-deployed.yaml to your deployment environment
2021-02-06 06:24:09 | + '[' 0 -ne 0 ']'
2021-02-06 06:24:09 | + openstack overcloud deploy --stack overcloud --override-ansible-cfg /home/zuul/custom_ansible.cfg --templates /usr/share/openstack-tripleo-heat-templates --libvirt-type qemu --timeout 120 --ntp-server 0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org -e /home/zuul/cloud-names.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/deployed-server-environment.yaml -e /home/zuul/overcloud-baremetal-deployed.yaml --deployed-server -e /home/zuul/neutronl3ha.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml -e /home/zuul/containers-prepare-parameter.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/podman.yaml -e /usr/share/openstack-tripleo-heat-templates/ci/environments/network/multiple-nics/network-isolation-absolute.yaml -e /usr/share/openstack-tripleo-heat-templates/ci/environments/network/multiple-nics/network-environment.yaml -e /home/zuul/overcloud_network_params.yaml -e /home/zuul/overcloud_storage_params.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml -e /home/zuul/src/opendev.org/openstack/tripleo-ci/test-environments/worker-config.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/debug.yaml -e /home/zuul/inject-trust-anchor.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml --validation-warnings-fatal -e /home/zuul/overcloud-topology-config.yaml -e /home/zuul/overcloud-selinux-config.yaml
2021-02-06 06:24:12 | Error: The --deployed-server cannot be used without the --disable-validations
2021-02-06 06:24:12 | + status_code=1
2021-02-06 06:24:12 | + openstack stack list
2021-02-06 06:24:12 | + grep -q overcloud
2021-02-06 06:24:15 | + echo 'overcloud deployment not started. Check the deploy configurations'
2021-02-06 06:24:15 | overcloud deployment not started. Check the deploy configurations
2021-02-06 06:24:15 | + exit 1
~~~

This started after merge of https://review.opendev.org/c/openstack/tripleo-quickstart/+/773648

We need similar changes of fs020

https://opendev.org/openstack/tripleo-quickstart/src/branch/master/config/general_config/featureset001.yml#L80-L82

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Revision history for this message
Rabi Mishra (rabi) wrote :

Looks like that check was removed from tripleoclient[1]. Is this using some old client code?

[1] https://review.opendev.org/c/openstack/python-tripleoclient/+/771960/

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Rabi,

Thanks for pointing it out.

tl;dr - ussuri/victoria still need this flag.

Its working for master but victoria/ussuri failing with

https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_2comp-featureset020-victoria/9559045/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz

~~~
2021-02-07 17:45:59 | 2021-02-07 17:45:59.255 137639 ERROR openstack [-] Error: The --deployed-server cannot be used without the --disable-validations: osc_lib.exceptions.CommandError: Error: The --deployed-server cannot be used without the --disable-validations
~~~

As per https://review.opendev.org/c/openstack/tripleo-docs/+/771970/4/deploy-guide/source/features/deployed_server.rst

~~~
   Note that, until Victoria, you have to pass ``--disable-validations`` in
   order to disable the basics Nova, Ironic and Glance validations executed
   by python-tripleoclient. These validations are not necessary since those
   services will not be used to deploy the Overcloud.
~~~

summary: - Ussuri fs020 failed with Error: The --deployed-server cannot be used
- without the --disable-validations
+ Victoria/Ussuri fs020 failed with Error: The --deployed-server cannot be
+ used without the --disable-validations
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.