Note, I'm used to run quickstart from a wrapper centos7:latest container as I do not have Centos installed on my devbox, but that does not really matter. My setup basically repeats the command
but just given:
* custom libvirt provisioning params,
* custom (non stack) user,
* custom local_working and working directories,
* custom patches to support SSH-less localhost deployments [0]
* config/environments/dev_privileged_libvirt.yml for privileged libvirt mode
* custom vbmc_libvirt_uri, which I needed in order to SSH from undercloud to my virthost with HOST_BREXT_IP=192.168.23.1
So you can prolly just ignore all of that and use keep using virthost 127.0.0.2 instead of localhost.
Anyway, here is the command and deployment logs I was testing with.
A) Libvirt provision finished, just interrupted due to the way I ran it from a container (omits direct editing of authorized_hosts of virthost) - see _quickstart.log tarball attached
B) Restarted with no teardown, also checks idempotency (after I manually updated virthost's authorized_hosts) - see _quickstart_continue.log tarball attached
...which is, basically, the original command from A had been added:
<...>
-v -e undercloud_use_custom_boot_images=true \
-e undercloud_custom_initrd=${IMAGECACHE}/overcloud-full.initrd \
-e undercloud_custom_vmlinuz=${IMAGECACHE}/overcloud-full.vmlinuz \
-e force_cached_images=true -e image_cache_expire_days=300 \
-T none localhost
The step B actually failed to run overcloud-prep-images.sh cuz of missing stackrc by my custom working_dir. I fixed that manually by copying it by the needed path, then retried overcloud-prep-images.sh, and it has passed.
I couldn't reproduce that on my local devbox libvirt setup, introspection passed:
http:// paste.openstack .org/show/ wVpkQp4hG78x3On 3q0gI/
Note, I'm used to run quickstart from a wrapper centos7:latest container as I do not have Centos installed on my devbox, but that does not really matter. My setup basically repeats the command
quickstart.sh ... -R master -e dlrn_hash_ tag=current- tripleo
but just given: environments/ dev_privileged_ libvirt. yml for privileged libvirt mode IP=192. 168.23. 1
* custom libvirt provisioning params,
* custom (non stack) user,
* custom local_working and working directories,
* custom patches to support SSH-less localhost deployments [0]
* config/
* custom vbmc_libvirt_uri, which I needed in order to SSH from undercloud to my virthost with HOST_BREXT_
So you can prolly just ignore all of that and use keep using virthost 127.0.0.2 instead of localhost.
Anyway, here is the command and deployment logs I was testing with.
A) Libvirt provision finished, just interrupted due to the way I ran it from a container (omits direct editing of authorized_hosts of virthost) - see _quickstart.log tarball attached
B) Restarted with no teardown, also checks idempotency (after I manually updated virthost's authorized_hosts) - see _quickstart_ continue. log tarball attached use_custom_ boot_images= true \ custom_ initrd= ${IMAGECACHE} /overcloud- full.initrd \ custom_ vmlinuz= ${IMAGECACHE} /overcloud- full.vmlinuz \ images= true -e image_cache_ expire_ days=300 \
...which is, basically, the original command from A had been added:
<...>
-v -e undercloud_
-e undercloud_
-e undercloud_
-e force_cached_
-T none localhost
The step B actually failed to run overcloud- prep-images. sh cuz of missing stackrc by my custom working_dir. I fixed that manually by copying it by the needed path, then retried overcloud- prep-images. sh, and it has passed.
[0] https:/ /review. openstack. org/#/q/ topic:localcon+ (status: open+OR+ status: merged)