Description of problem: The Chapter 10. Precaching glance images into nova -> 10.1. Running the tripleo_nova_image_cache.yml ansible playbook -> Procedure: Step 1. of The DCN documentation needs an update: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/distributed_compute_node_and_storage_deployment/precaching-glance-images-into-nova#proc_ansible-image-cache-playbook_precaching-glance-images The content of the first step: Create an ansible inventory file for the stack. You can specify multiple stacks in a comma delimited list to cache images at more than one site: $ source stackrc $ tripleo-ansible-inventory --plan central,dcn0,dcn1 \ --static-yaml-inventory inventory.yaml is valid for 16.x but needs an update for 17.x. If you run tripleo-ansible-inventory command on 17.x It gives a warning that tool is deprecated. $ tripleo-ansible-inventory --plan central,dcn0,dcn1 \ --static-yaml-inventory inventory.yaml DEPRECATED - This script has been deprecated.Use the inventory file tripleo-ansible-inventory.yaml located under ~/tripleo-deploy/<stack> for a Standalone/Undercloud deployment or overcloud-deploy/<stack> for the Overcloud. To generate an inventory file, use the playbook in tripleo-ansible: cli-config-download.yaml The step needs to be updated accordingly, the ansible inventory are generated for each stack in config-download directory - i.e.: /home/stack/overcloud-deploy/dcn1/config-download/dcn1/tripleo-ansible-inventory.yaml I am not aware of how to create the ansible inventory for all stacks so the command to cache nova images should be ran probably for each desired stack/site with the ansible inventory generated after the stack/site deployment in config-download directory, i.e.: ansible-playbook -i ../overcloud-deploy/dcn1/config-download/dcn1/tripleo-ansible-inventory.yaml --extra-vars "@../nova_cache_args.yml" /usr/share/ansible/tripleo-playbooks/tripleo_nova_image_cache.yml
Actually upstream docs have this already nicely updated: https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/post_deployment/pre_cache_images.html