diff --git a/playbooks/library/os_ironic.py b/playbooks/library/os_ironic.py index e74376a39..7b2137163 100644 --- a/playbooks/library/os_ironic.py +++ b/playbooks/library/os_ironic.py @@ -208,6 +208,7 @@ def _exit_node_not_updated(module, server): def main(): argument_spec = openstack_full_argument_spec( + auth_type=dict(required=False), uuid=dict(required=False), name=dict(required=False), driver=dict(required=False), diff --git a/playbooks/library/os_ironic_node.py b/playbooks/library/os_ironic_node.py index a50d6897e..3d83e69c4 100644 --- a/playbooks/library/os_ironic_node.py +++ b/playbooks/library/os_ironic_node.py @@ -211,6 +211,7 @@ def _check_set_power_state(module, cloud, node): def main(): argument_spec = openstack_full_argument_spec( + auth_type=dict(required=False), uuid=dict(required=False), name=dict(required=False), instance_info=dict(type='dict', required=False), diff --git a/scripts/env-setup.sh b/scripts/env-setup.sh index ae187e3ee..83116c155 100755 --- a/scripts/env-setup.sh +++ b/scripts/env-setup.sh @@ -30,18 +30,18 @@ fi sudo -H chown -R $u:$g /opt/stack cd /opt/stack +# NOTE(TheJulia): Switching to Ansible stable-1.9 branch as the development +# branch is undergoing some massive changes and we are seeing odd failures +# that we should not be seeing. Until devel has stabilized, we should stay +# on the stable branch. if [ ! -d ansible ]; then - git clone https://github.com/ansible/ansible.git --recursive + git clone https://github.com/ansible/ansible.git --recursive -b stable-1.9 else cd ansible - git checkout devel + git checkout stable-1.9 git pull --rebase git submodule update --init --recursive git fetch - # Temporary direct checkout of devel due to broken modules until - # the submodules pointers get updated in the core ansible repo. - cd lib/ansible/modules/core - git checkout devel fi echo diff --git a/scripts/test-bifrost.sh b/scripts/test-bifrost.sh index b2ca558a2..f3e718336 100755 --- a/scripts/test-bifrost.sh +++ b/scripts/test-bifrost.sh @@ -9,7 +9,12 @@ BIFROST_HOME=$SCRIPT_HOME/.. $SCRIPT_HOME/env-setup.sh # Source Ansible +# NOTE(TheJulia): Ansible stable-1.9 source method tosses an error deep +# under the hood which -x will detect, so for this step, we need to suspend +# and then re-enable the feature. +set +x source /opt/stack/ansible/hacking/env-setup +set -x # Change working directory cd $BIFROST_HOME/playbooks