Skip to content

Instantly share code, notes, and snippets.

@nrb
Created September 4, 2015 21:44
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 nrb/6e34308388499b60d310 to your computer and use it in GitHub Desktop.
Save nrb/6e34308388499b60d310 to your computer and use it in GitHub Desktop.
The cinder_test.yml file was used to identify why a storage host was trying to use the cinder SHA for a swift package.
--- │- hosts: 605093-storage01 │ user: root │ roles: │ - openstack_common │ tasks: │ - name: Dump git_install_branch │ debug: msg="Git install branch was {{ git_install_branch }}" │ - name: Dump repo_package_name │ debug: msg="repo package name was {{ repo_package_name }}" │ - name: Dump repo_path │ debug: msg="repo path {{ repo_path }}" │ - name: Dump service name │ debug: msg="service name {{ service_name }}" │ vars_files: │ - vars/repo_packages/cinder.yml │ - vars/openstack_service_vars/cinder_api.yml---
- hosts: 605093-storage01
user: root
roles:
- openstack_common
tasks:
- name: Dump git_install_branch
debug: msg="Git install branch was {{ git_install_branch }}"
- name: Dump repo_package_name
debug: msg="repo package name was {{ repo_package_name }}"
- name: Dump repo_path
debug: msg="repo path {{ repo_path }}"
- name: Dump service name
debug: msg="service name {{ service_name }}"
vars_files:
- vars/repo_packages/cinder.yml
- vars/openstack_service_vars/cinder_api.yml
@nrb
Copy link
Author

nrb commented Sep 4, 2015

The tasks won't run if the role fails at any point. To make this pass currently, you need to edit the following: https://github.com/stackforge/os-ansible-deployment/blob/10.1.12/rpc_deployment/roles/openstack_common/tasks/pip_install.yml#L18 to use repo_package_name instead of service_name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment