Skip to content

Instantly share code, notes, and snippets.

@a1git
Created October 19, 2022 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/5f5a129b62e57cd52c8791f5ecd0d986 to your computer and use it in GitHub Desktop.
Save a1git/5f5a129b62e57cd52c8791f5ecd0d986 to your computer and use it in GitHub Desktop.
## variables
ceph_keyrings_dir: /etc/openstack_deploy/ceph-keyrings
ceph_conf_file: |
[global]
fsid = 1c93ccd6-4c0d-11ed-ae7b-9bfabaffc0a7
mon_host = [v2:172.29.240.11:3300/0,v1:172.29.240.11:6789/0] [v2:172.29.240.21:3300/0,v1:172.29.240.21:6789/0] [v2:172.29.240.22:3300/0,v1:172.29.240.22:6789/0]
cinder_ceph_client: cinder
glance_ceph_client: glance
glance_default_store: rbd
glance_rbd_store_pool: images
###
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
[WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory
source
PLAY [Gather glance facts] *****************************************************
TASK [Gather additional facts] *************************************************
included: /opt/openstack-ansible/playbooks/common-tasks/gather-hardware-facts.yml for c1_glance_container-bf88ca5b
TASK [Gather additional facts] *************************************************
ok: [c1_glance_container-bf88ca5b]
PLAY [Install glance services] *************************************************
TASK [include_tasks] ***********************************************************
TASK [Configure container (local storage bind mount from host)] ****************
TASK [Configure container (remote storage)] ************************************
included: /opt/openstack-ansible/playbooks/common-tasks/os-lxc-container-setup.yml for c1_glance_container-bf88ca5b
TASK [Set default bind mounts (bind var/log)] **********************************
ok: [c1_glance_container-bf88ca5b]
TASK [Ensure mount directories exists] *****************************************
ok: [c1_glance_container-bf88ca5b -> c1(172.29.236.11)] => (item={'bind_dir_path': '/var/log', 'mount_path': '/openstack/log/c1_glance_container-bf88ca5b'})
TASK [Add bind mount configuration to container] *******************************
ok: [c1_glance_container-bf88ca5b -> c1(172.29.236.11)] => (item={'bind_dir_path': '/var/log', 'mount_path': '/openstack/log/c1_glance_container-bf88ca5b'})
TASK [Extra lxc config] ********************************************************
TASK [Extra lxc config no restart] *********************************************
ok: [c1_glance_container-bf88ca5b -> c1(172.29.236.11)] => (item=lxc.start.order=100)
TASK [Check container state] ***************************************************
skipping: [c1_glance_container-bf88ca5b]
TASK [Lxc container restart] ***************************************************
skipping: [c1_glance_container-bf88ca5b]
TASK [Start Container] *********************************************************
skipping: [c1_glance_container-bf88ca5b]
TASK [Wait for container tmpfiles-setup finish] ********************************
ok: [c1_glance_container-bf88ca5b]
TASK [Wait for container connectivity] *****************************************
TASK [include_tasks] ***********************************************************
TASK [apt_package_pinning : Add apt pin preferences] ***************************
TASK [os_glance : Gather variables for each operating system] ******************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Fail if service was deployed using a different installation method] ***
TASK [os_glance : Gather variables for installation method] ********************
ok: [c1_glance_container-bf88ca5b]
TASK [include_role : openstack.osa.db_setup] ***********************************
TASK [openstack.osa.db_setup : Create database for service] ********************
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
ok: [c1_glance_container-bf88ca5b -> {{ _oslodb_setup_host }}]
TASK [openstack.osa.db_setup : Grant access to the database for the service] ***
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
ok: [c1_glance_container-bf88ca5b -> {{ _oslodb_setup_host }}]
TASK [include_role : openstack.osa.mq_setup] ***********************************
TASK [openstack.osa.mq_setup : Add RPC RabbitMQ vhost] *************************
ok: [c1_glance_container-bf88ca5b -> c1_rabbit_mq_container-78daa3aa(172.29.239.232)]
TASK [openstack.osa.mq_setup : Apply RPC RabbitMQ vhost policies] **************
ok: [c1_glance_container-bf88ca5b -> c1_rabbit_mq_container-78daa3aa(172.29.239.232)] => (item={'name': 'HA', 'pattern': '^(?!(amq\\.)|(.*_fanout_)|(reply_)).*', 'priority': 0, 'tags': 'ha-mode=all'})
TASK [openstack.osa.mq_setup : Add RPC RabbitMQ user] **************************
ok: [c1_glance_container-bf88ca5b -> c1_rabbit_mq_container-78daa3aa(172.29.239.232)]
TASK [openstack.osa.mq_setup : Add Notify RabbitMQ vhost] **********************
TASK [openstack.osa.mq_setup : Apply Notify RabbitMQ vhost policies] ***********
TASK [openstack.osa.mq_setup : Add Notify RabbitMQ user] ***********************
TASK [openstack.osa.mq_setup : Add RPC Qdrouterd user] *************************
TASK [os_glance : Record the installation method] ******************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Refresh local facts to ensure the glance section is present] ***
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : create the system group] *************************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Create the glance system user] *******************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Stat config directory] ***************************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Remove the config directory] *********************************
TASK [os_glance : Create glance directories] ***********************************
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/openstack', 'mode': '0755', 'owner': 'root', 'group': 'root'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/openstack/venvs/glance-25.1.1/etc/glance', 'mode': '0755'})
ok: [c1_glance_container-bf88ca5b] => (item={'dest': '/etc/glance', 'src': '../openstack/venvs/glance-25.1.1/etc/glance', 'state': 'link', 'force': True, 'condition': True})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/etc/glance/rootwrap.d', 'owner': 'root', 'group': 'root'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/var/cache/glance'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/var/lib/glance'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/var/lib/glance/cache'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/var/lib/glance/cache/api', 'mode': '0700'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/var/lib/glance/scrubber'})
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/var/lib/glance/images', 'mode': '0755'})
TASK [os_glance : Install distro packages] *************************************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Gather variables for each operating system] **********
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : gather build target facts] ***************************
ok: [c1_glance_container-bf88ca5b -> c1_repo_container-507c5f3a(172.29.239.49)] => (item=c1_repo_container-507c5f3a)
TASK [python_venv_build : Fail if wheels are not built for multiple hosts] *****
TASK [python_venv_build : include_tasks] ***************************************
TASK [python_venv_build : Slurp up the constraints file for later re-deployment] ***
skipping: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Install distro packages for venv build] **************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Ensure a fresh venv_install_destination_path if venv_rebuild is enabled] ***
TASK [python_venv_build : Create the venv_install_destination_path parent directory] ***
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Create the virtualenv (if it does not exist)] ********
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Create the requirements file contents] ***************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Build requirements file for the venv] ****************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Build global constraints file for the venv] **********
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Build constraints file for the venv] *****************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Upgrade pip/setuptools/wheel to the versions we want] ***
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Install python packages into the venv] ***************
skipping: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Add symlinks from distribution python packages] ******
TASK [python_venv_build : Ensure local facts folder exists] ********************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Record the necessary facts] **************************
skipping: [c1_glance_container-bf88ca5b] => (item={'section': 'glance', 'option': 'need_service_restart', 'value': True})
skipping: [c1_glance_container-bf88ca5b] => (item={'section': 'glance', 'option': 'venv_tag', 'value': '25.1.1'})
TASK [os_glance : Record the need for a service restart] ***********************
TASK [Run the systemd service role] ********************************************
TASK [os_glance : Create aux glance dir] ***************************************
ok: [c1_glance_container-bf88ca5b] => (item={'path': '/etc/glance/rootwrap.d', 'owner': 'root', 'group': 'root'})
TASK [os_glance : Copy glance rootwrap filter config] **************************
ok: [c1_glance_container-bf88ca5b] => (item=/etc/ansible/roles/os_glance/files/rootwrap.d/glance_cinder_store.filters)
TASK [os_glance : Deploy Glance configuration files] ***************************
ok: [c1_glance_container-bf88ca5b] => (item={'src': 'glance-api.conf.j2', 'dest': '/etc/glance/glance-api.conf', 'config_overrides': {}, 'config_type': 'ini'})
ok: [c1_glance_container-bf88ca5b] => (item={'src': 'glance-cache.conf.j2', 'dest': '/etc/glance/glance-cache.conf', 'config_overrides': {}, 'config_type': 'ini'})
ok: [c1_glance_container-bf88ca5b] => (item={'src': 'glance-manage.conf.j2', 'dest': '/etc/glance/glance-manage.conf', 'config_overrides': {}, 'config_type': 'ini'})
ok: [c1_glance_container-bf88ca5b] => (item={'src': 'glance-scrubber.conf.j2', 'dest': '/etc/glance/glance-scrubber.conf', 'config_overrides': {}, 'config_type': 'ini'})
ok: [c1_glance_container-bf88ca5b] => (item={'src': 'glance-swift-store.conf.j2', 'dest': '/etc/glance/glance-swift-store.conf', 'config_overrides': {}, 'config_type': 'ini'})
ok: [c1_glance_container-bf88ca5b] => (item={'src': 'schema-image.json.j2', 'dest': '/etc/glance/schema-image.json', 'config_overrides': {}, 'config_type': 'json'})
TASK [os_glance : Implement policy.yaml if there are overrides configured] *****
TASK [os_glance : Remove legacy policy.yaml file] ******************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Deploy Glance image import configuration file] ***************
TASK [os_glance : Preserve original configuration file(s)] *********************
ok: [c1_glance_container-bf88ca5b] => (item={'tmp_f': '/tmp/glance-api-paste.ini', 'target_f': '/etc/glance/glance-api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'})
TASK [os_glance : Fetch override files] ****************************************
ok: [c1_glance_container-bf88ca5b] => (item={'tmp_f': '/tmp/glance-api-paste.ini', 'target_f': '/etc/glance/glance-api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'})
TASK [os_glance : Copy common config] ******************************************
ok: [c1_glance_container-bf88ca5b] => (item={'tmp_f': '/tmp/glance-api-paste.ini', 'target_f': '/etc/glance/glance-api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'})
TASK [os_glance : Cleanup fetched temp files] **********************************
ok: [c1_glance_container-bf88ca5b -> localhost] => (item={'tmp_f': '/tmp/glance-api-paste.ini', 'target_f': '/etc/glance/glance-api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'})
TASK [os_glance : Set rootwrap.d permissions] **********************************
ok: [c1_glance_container-bf88ca5b]
TASK [Run the systemd mount role] **********************************************
TASK [os_glance : Create glance cache management cron jobs] ********************
skipping: [c1_glance_container-bf88ca5b] => (item={'name': '/openstack/venvs/glance-25.1.1/bin/glance-cache-pruner', 'hour': '*'})
skipping: [c1_glance_container-bf88ca5b] => (item={'name': '/openstack/venvs/glance-25.1.1/bin/glance-cache-cleaner', 'hour': '*/5'})
TASK [os_glance : Drop sudoers file] *******************************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Perform a Glance DB sync] ************************************
ok: [c1_glance_container-bf88ca5b]
TASK [os_glance : Load glance metadata definitions] ****************************
ok: [c1_glance_container-bf88ca5b]
TASK [include_role : openstack.osa.service_setup] ******************************
TASK [openstack.osa.service_setup : Add keystone domain] ***********************
skipping: [c1_glance_container-bf88ca5b]
TASK [openstack.osa.service_setup : Add service project] ***********************
skipping: [c1_glance_container-bf88ca5b]
TASK [openstack.osa.service_setup : Add services to the keystone service catalog] ***
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item={'name': 'glance', 'type': 'image', 'description': 'Glance Image Service'})
TASK [openstack.osa.service_setup : Add service users] *************************
changed: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
changed: [c1_glance_container-bf88ca5b -> {{ _service_setup_host }}]
TASK [openstack.osa.service_setup : Include task for role assignment] **********
included: /etc/ansible/ansible_collections/openstack/osa/roles/service_setup/tasks/setup_roles.yml for c1_glance_container-bf88ca5b => (item={'name': 'glance', 'password': '3620f502df5c3856bba5c002f2bf22799724e63c5eb44c5c0f31bb8da91144e', 'role': ['admin', 'service']})
TASK [openstack.osa.service_setup : Add a keystone role] ***********************
skipping: [c1_glance_container-bf88ca5b]
TASK [openstack.osa.service_setup : Add service users to the role] *************
skipping: [c1_glance_container-bf88ca5b]
TASK [openstack.osa.service_setup : Add keystone roles] ************************
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
ok: [c1_glance_container-bf88ca5b -> {{ _service_setup_host }}]
TASK [openstack.osa.service_setup : Add service users to multiple roles] *******
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item=None)
ok: [c1_glance_container-bf88ca5b -> {{ _service_setup_host }}]
TASK [openstack.osa.service_setup : Add endpoints to keystone endpoint catalog] ***
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item={'interface': 'public', 'url': 'https://dev.mero.cloud:9292', 'service': 'glance'})
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item={'interface': 'internal', 'url': 'http://172.29.236.9:9292', 'service': 'glance'})
ok: [c1_glance_container-bf88ca5b -> c1_utility_container-cdb7434e(172.29.239.88)] => (item={'interface': 'admin', 'url': 'http://172.29.236.9:9292', 'service': 'glance'})
TASK [uwsgi : Gather variables for each operating system] **********************
ok: [c1_glance_container-bf88ca5b]
TASK [uwsgi : Gather variables for installation method] ************************
ok: [c1_glance_container-bf88ca5b]
TASK [uwsgi : Create uWSGI system group] ***************************************
ok: [c1_glance_container-bf88ca5b]
TASK [uwsgi : Create uWSGI system user] ****************************************
ok: [c1_glance_container-bf88ca5b]
TASK [uwsgi : Install distro packages] *****************************************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Gather variables for each operating system] **********
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : gather build target facts] ***************************
ok: [c1_glance_container-bf88ca5b -> c1_repo_container-507c5f3a(172.29.239.49)] => (item=c1_repo_container-507c5f3a)
TASK [python_venv_build : Fail if wheels are not built for multiple hosts] *****
TASK [python_venv_build : include_tasks] ***************************************
TASK [python_venv_build : Slurp up the constraints file for later re-deployment] ***
skipping: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Install distro packages for venv build] **************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Ensure a fresh venv_install_destination_path if venv_rebuild is enabled] ***
TASK [python_venv_build : Create the venv_install_destination_path parent directory] ***
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Create the virtualenv (if it does not exist)] ********
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Create the requirements file contents] ***************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Build requirements file for the venv] ****************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Build global constraints file for the venv] **********
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Build constraints file for the venv] *****************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Upgrade pip/setuptools/wheel to the versions we want] ***
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Install python packages into the venv] ***************
skipping: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Add symlinks from distribution python packages] ******
TASK [python_venv_build : Ensure local facts folder exists] ********************
ok: [c1_glance_container-bf88ca5b]
TASK [python_venv_build : Record the necessary facts] **************************
skipping: [c1_glance_container-bf88ca5b] => (item={'section': 'uwsgi', 'option': 'venv_tag', 'value': '25.1.1'})
TASK [uwsgi : Ensure uWSGI directory exists] ***********************************
ok: [c1_glance_container-bf88ca5b]
TASK [uwsgi : Deploy uWSGI configuration files] ********************************
ok: [c1_glance_container-bf88ca5b] => (item={'key': 'glance-api', 'value': {'group': 'glance_api', 'service_name': 'glance-api', 'init_config_overrides': {}, 'start_order': 1, 'execstarts': '/openstack/venvs/glance-25.1.1/bin/glance-api', 'wsgi_app': True, 'wsgi_name': 'glance-wsgi-api', 'uwsgi_overrides': {}, 'uwsgi_bind_address': '172.29.239.208', 'uwsgi_port': 9292, 'wsgi_path': '/openstack/venvs/glance-25.1.1/bin/glance-wsgi-api', 'wsgi_venv': '/openstack/venvs/glance-25.1.1', 'uwsgi_uid': 'glance', 'uwsgi_guid': 'glance', 'uwsgi_processes': '16', 'uwsgi_threads': 1}})
TASK [Run the systemd service role] ********************************************
TASK [systemd_service : Pull systemd version] **********************************
ok: [c1_glance_container-bf88ca5b]
TASK [systemd_service : Set systemd version] ***********************************
ok: [c1_glance_container-bf88ca5b]
TASK [systemd_service : Create TEMP run dir] ***********************************
ok: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Create TEMP service lock dir] **************************
ok: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Create service.d overrides dir] ************************
skipping: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Create tmpfiles.d entry] *******************************
ok: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Place the systemd service] *****************************
ok: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Place the systemd override] ****************************
skipping: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Place the systemd timer] *******************************
skipping: [c1_glance_container-bf88ca5b] => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Place the systemd socket] ******************************
TASK [systemd_service : Reload systemd on unit change] *************************
TASK [systemd_service : include_tasks] *****************************************
included: /etc/ansible/roles/systemd_service/tasks/systemd_load.yml for c1_glance_container-bf88ca5b => (item={'service_name': 'glance-api', 'enabled': True, 'state': 'started', 'execstarts': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --autoload --ini /etc/uwsgi/glance-api.ini', 'execreloads': '/openstack/venvs/uwsgi-25.1.1-python3/bin/uwsgi --reload /run/glance-api/uwsgi/glance-api.pid', 'config_overrides': {}})
TASK [systemd_service : Load service glance-api] *******************************
ok: [c1_glance_container-bf88ca5b] => (item=)
TASK [systemd_service : Load timer glance-api] *********************************
skipping: [c1_glance_container-bf88ca5b] => (item=)
TASK [systemd_service : Load socket] *******************************************
TASK [apt_package_pinning : Add apt pin preferences] ***************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : End playbook if disabled] **********************************
skipping: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Gather variables for each operating system] ****************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Fail if ceph_pkg_source uses an incorrect parameter] *******
TASK [ceph_client : include_tasks] *********************************************
TASK [ceph_client : include_tasks] *********************************************
included: /etc/ansible/roles/ceph_client/tasks/ceph_install.yml for c1_glance_container-bf88ca5b
TASK [ceph_client : Install ceph packages] *************************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : include_tasks] *********************************************
included: /etc/ansible/roles/ceph_client/tasks/ceph_install_python_libs.yml for c1_glance_container-bf88ca5b
TASK [ceph_client : Find the venv's python version] ****************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Set python venvs details] **********************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Register rados module path] ********************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Register rbd module path] **********************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Register cephfs module path] *******************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Register ceph_volume_client path] **************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Register ceph_argparse path] *******************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Link rados module into the venv] ***************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Link rbd module into the venv] *****************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Link cephfs module into the venv] **************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Link ceph_volume_client module into the venv] **************
TASK [ceph_client : Link ceph_argparse module into the venv] *******************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : include_tasks] *********************************************
TASK [ceph_client : include_tasks] *********************************************
included: /etc/ansible/roles/ceph_client/tasks/ceph_config.yml for c1_glance_container-bf88ca5b
TASK [ceph_client : Provide ceph configuration directory] **********************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Get ceph.conf and store contents when ceph_conf_file is not defined] ***
skipping: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Register ceph_conf fact when ceph_conf_file is not defined] ***
TASK [ceph_client : Register ceph_conf fact when ceph_conf_file is defined] ****
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Create ceph.conf from mon host] ****************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Detect correct group for extra config] *********************
skipping: [c1_glance_container-bf88ca5b] => (item=cinder_backup)
skipping: [c1_glance_container-bf88ca5b] => (item=cinder_volume)
TASK [ceph_client : include_tasks] *********************************************
TASK [ceph_client : include_tasks] *********************************************
included: /etc/ansible/roles/ceph_client/tasks/ceph_auth.yml for c1_glance_container-bf88ca5b
TASK [ceph_client : Create cephkeys_access_group group] ************************
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : include_tasks] *********************************************
TASK [ceph_client : include_tasks] *********************************************
included: /etc/ansible/roles/ceph_client/tasks/ceph_get_keyrings_from_files.yml for c1_glance_container-bf88ca5b
TASK [ceph_client : From files | Retrieve keyrings for openstack clients] ******
ok: [c1_glance_container-bf88ca5b -> localhost]
TASK [ceph_client : From files | Provision ceph client keyrings] ***************
ok: [c1_glance_container-bf88ca5b] => (item=glance)
TASK [ceph_client : From file | Retrieve nova secret] **************************
skipping: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Add OpenStack service to cephkeys_access_group group] ******
ok: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Make sure libvirt is started] ******************************
TASK [ceph_client : Check if nova secret is defined in libvirt] ****************
skipping: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Provide xml file to create the secret] *********************
skipping: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Define libvirt nova secret] ********************************
TASK [ceph_client : Check if nova secret value is set in libvirt] **************
skipping: [c1_glance_container-bf88ca5b]
TASK [ceph_client : Set nova secret value in libvirt] **************************
TASK [ceph_client : Remove libvirt nova secret file] ***************************
TASK [ceph_client : Detect correct group for extra auth] ***********************
skipping: [c1_glance_container-bf88ca5b] => (item=cinder_backup)
skipping: [c1_glance_container-bf88ca5b] => (item=cinder_volume)
TASK [ceph_client : include_tasks] *********************************************
TASK [ceph_client : Detect extra nova uuid secret] *****************************
TASK [ceph_client : include_tasks] *********************************************
TASK [os_glance : Flush handlers] **********************************************
TASK [openstack.osa.system_crontab_coordination : Create crontab] **************
ok: [c1_glance_container-bf88ca5b]
TASK [include_tasks] ***********************************************************
PLAY [Refresh local facts after all software changes are made] *****************
TASK [refresh local facts] *****************************************************
ok: [c1_glance_container-bf88ca5b]
TASK [Gather software version list] ********************************************
ok: [c1_glance_container-bf88ca5b -> localhost]
TASK [Set software deployed fact] **********************************************
ok: [c1_glance_container-bf88ca5b -> localhost]
TASK [Set software updated fact] ***********************************************
ok: [c1_glance_container-bf88ca5b -> localhost]
PLAY [Restart glance API to ensure new RPC object version is used] *************
TASK [include_tasks] ***********************************************************
TASK [Execute glance service restart] ******************************************
TASK [include_tasks] ***********************************************************
PLAY RECAP *********************************************************************
c1_glance_container-bf88ca5b : ok=108 changed=1 unreachable=0 failed=0 skipped=31 rescued=0 ignored=0
EXIT NOTICE [Playbook execution success] **************************************
===============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment