Comment 8 for bug 1622683

Revision history for this message
Boris Derzhavets (bderzhavets) wrote :

When I succeed on INSTACK running :-

  $ git clone https://github.com/openstack/tripleo-heat-templates
  $ git clone https://github.com/openstack-infra/tripleo-ci.git

  $ ./tripleo-ci/scripts/tripleo.sh --repo-setup
  $ ./tripleo-ci/scripts/tripleo.sh --undercloud
  $ source stackrc
  $ ./tripleo-ci/scripts/tripleo.sh --overcloud-images
  $ ./tripleo-ci/scripts/tripleo.sh --register-nodes
  $ ./tripleo-ci/scripts/tripleo.sh --introspect-nodes

  #!/bin/bash -x
   source /home/stack/stackrc
   openstack overcloud deploy \
    --libvirt-type qemu \
    --ntp-server pool.ntp.org \
    --templates /home/stack/tripleo-heat-templates \
    -e /home/stack/tripleo-heat-templates/overcloud-resource-registry-puppet.yaml \
    --control-scale 1 --compute-scale 2

and then issue

  $ source stackrc
  $ openstack stack delete overcloud

Applying workaround https://bugs.launchpad.net/tripleo/+bug/1622720/comments/1
to be able redeploy ( keeping same the number of overcloud nodes )

  $ mistral environment-delete overcloud
  $ swift delete --all

Workaround does work for me allowing successfully redeploy for instance :-

 #!/bin/bash -x
 source /home/stack/stackrc
 openstack overcloud deploy \
  --libvirt-type qemu \
  --ntp-server pool.ntp.org \
  --templates /home/stack/tripleo-heat-templates \
  -e /home/stack/tripleo-heat-templates/overcloud-resource-registry-puppet.yaml \
  -e /home/stack/tripleo-heat-templates/environments/storage-environment.yaml \
  --control-scale 1 --compute-scale 1 --ceph-storage-scale 1