Fix CI jobs
- Add jobs removed in [1] to the local configuration. - Fix SSH key distribution in multinode job. It was broken on a recent Zuul update, it seems. - Update puppetlabs-apache version to 5.4.0 [1] - https://review.opendev.org/730813 Closes-Bug: #1880681 Depends-On: https://review.opendev.org/730813 Change-Id: I2572d92cbaabc1f02fc0790896ccaa3edfc5e6c2
This commit is contained in:
parent
7cdf7bc511
commit
b6df8c7ad0
12
.zuul.yaml
12
.zuul.yaml
@ -171,18 +171,26 @@
|
|||||||
- project:
|
- project:
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
|
- openstack-tox-pep8
|
||||||
|
- openstack-tox-py36
|
||||||
|
- build-openstack-releasenotes:
|
||||||
|
vars:
|
||||||
|
sphinx_python: python3
|
||||||
- packstack-centos8-integration-scenario001
|
- packstack-centos8-integration-scenario001
|
||||||
- packstack-centos8-integration-scenario002
|
- packstack-centos8-integration-scenario002
|
||||||
- packstack-centos8-integration-scenario003
|
- packstack-centos8-integration-scenario003
|
||||||
- packstack-centos8-multinode-scenario002-tempest
|
- packstack-centos8-multinode-scenario002-tempest
|
||||||
- openstack-tox-py36
|
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
|
- openstack-tox-pep8
|
||||||
|
- openstack-tox-py36
|
||||||
|
- build-openstack-releasenotes:
|
||||||
|
vars:
|
||||||
|
sphinx_python: python3
|
||||||
- packstack-centos8-integration-scenario001
|
- packstack-centos8-integration-scenario001
|
||||||
- packstack-centos8-integration-scenario002
|
- packstack-centos8-integration-scenario002
|
||||||
- packstack-centos8-integration-scenario003
|
- packstack-centos8-integration-scenario003
|
||||||
- packstack-centos8-multinode-scenario002-tempest
|
- packstack-centos8-multinode-scenario002-tempest
|
||||||
- openstack-tox-py36
|
|
||||||
post:
|
post:
|
||||||
jobs:
|
jobs:
|
||||||
- packstack-upload-git-mirror
|
- packstack-upload-git-mirror
|
||||||
|
@ -102,7 +102,7 @@ mod 'vswitch',
|
|||||||
|
|
||||||
mod 'apache',
|
mod 'apache',
|
||||||
:git => 'https://github.com/puppetlabs/puppetlabs-apache',
|
:git => 'https://github.com/puppetlabs/puppetlabs-apache',
|
||||||
:ref => 'b4cbc858a61ba2eea4a1178c261a982a59db963d'
|
:ref => 'v5.4.0'
|
||||||
|
|
||||||
mod 'certmonger',
|
mod 'certmonger',
|
||||||
:git => 'https://github.com/rcritten/puppet-certmonger',
|
:git => 'https://github.com/rcritten/puppet-certmonger',
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
when: not selinux_enforcing|default("true")|bool
|
when: not selinux_enforcing|default("true")|bool
|
||||||
|
|
||||||
- hosts: controller
|
- hosts: controller
|
||||||
name: packstack-multinode
|
name: packstack-ssh-preparation-1
|
||||||
tasks:
|
tasks:
|
||||||
- name: Generate SSH key on controller
|
- name: Generate SSH key on controller
|
||||||
shell: ssh-keygen -t rsa -f /root/.ssh/id_rsa -P ""
|
shell: ssh-keygen -t rsa -f /root/.ssh/id_rsa -P ""
|
||||||
@ -45,14 +45,6 @@
|
|||||||
become: true
|
become: true
|
||||||
register: ssh_key
|
register: ssh_key
|
||||||
|
|
||||||
- name: Deploy SSH key on compute node
|
|
||||||
authorized_key:
|
|
||||||
user: root
|
|
||||||
state: present
|
|
||||||
key: "{{ ssh_key.stdout }}"
|
|
||||||
delegate_to: "{{ hostvars['compute'].ansible_host }}"
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Deploy SSH key on controller
|
- name: Deploy SSH key on controller
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: root
|
user: root
|
||||||
@ -60,6 +52,23 @@
|
|||||||
key: "{{ ssh_key.stdout }}"
|
key: "{{ ssh_key.stdout }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Set SSH key fact to be used by the compute node
|
||||||
|
set_fact:
|
||||||
|
sshkey: "{{ ssh_key.stdout }}"
|
||||||
|
|
||||||
|
- hosts: compute
|
||||||
|
name: packstack-ssh-preparation-2
|
||||||
|
tasks:
|
||||||
|
- name: Deploy SSH key on compute node
|
||||||
|
authorized_key:
|
||||||
|
user: root
|
||||||
|
state: present
|
||||||
|
key: "{{ hostvars['controller'].sshkey }}"
|
||||||
|
become: true
|
||||||
|
|
||||||
|
- hosts: controller
|
||||||
|
name: packstack-multinode
|
||||||
|
tasks:
|
||||||
- name: Run Packstack
|
- name: Run Packstack
|
||||||
shell:
|
shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
|
Loading…
Reference in New Issue
Block a user