Add become to only neccesary tasks in roles:
- glance
- heat
- horizon
- keystone
- neutron
- nova
- openvswitch
Gate is also updated to use 'become' feature
Change-Id: I2f3f27306e9f384148e1ad4d54d8da2ebef34d00
Partial-Implements: blueprint ansible-specific-task-become
panko.conf depends on "service_name" variable, but when generating
panko.conf in ceilometer, this variable is not set.
Panko is a single process service, no need add such test. So simple
remove the if clause.
Change-Id: I5ba41046e35cd3fa00b8c22e1b4435acfaff5279
Closes-Bug: #1725159
- move check container failure from post.yml to run.yml
- add binary related jobs
- use static kolla-ansible src dir, which is helpful for kolla project
to use.
- generate correct /etc/hosts by using private ip address and hostname
- fix the wrong api interface in global.yml file
Change-Id: Idfdee6dfe18f0fa2d4f984df59b57553122ce298
flat network type is not mandatory. There are two cases,
1. ironic with flat network: we can use neutron vlan network to
provision baremetal nodes, as long as the interface of the baremetal
nodes are configured to use the same vlan.
2. ironic with neutron network: all provision and cleaning_network can
be vlan type and no flat is needed at all.
So we should remove the task.
Change-Id: I176ded6d2a8b14e350f665f63bc37eb488d32679
Closes-Bug: #1725170
This allows for skipping tasks which match the provided tags, using
the ansible-playbook argument of the same name.
This can be useful in combination with --tags, to skip reconfiguration
of the common tasks:
kolla-ansible reconfigure --tags nova --skip-tags common
Change-Id: I766552f7ae4099da3d174759f4a609ffe8b4d89f
when mapping file from host to container, if the file doesn't exist, it
will become a folder. So map folder rather than file.
Change-Id: I053ff11d32948711c0e4c3241f56d1f6210348ac
Closes-Bug: #1720189
Use kolla will have upgrade issue and kolla user may not exist too
during deployment.
Partial-Implements: blueprint ansible-specific-task-become
Change-Id: Ida3b645dcf86191b22e80d1b67694ccfb8fd9144
kolla-ansible can take globals.yml from any directory by using
--config-dir argument. So store admin credentials there as well.
Not everyone runs kolla-ansible as a root.
Change-Id: I0709482ead4b7a67e82796e17f85bde151e71bc0
outward_rabbitmq is determined using enable_outward_rabbitmq
property rather than current haproxy_enable_external_vip
Change-Id: Iee096ab50fd4d9f5f3fe05880d0e0a7842c59d0a
Closes-Bug: 1722854
The admin_password and admin_user in default section is discarded
in code, no longer be used anymore.
Change-Id: I1d31faf0781cb61d13aa6a76534e38783e4f920f
We want to treat the nova-compute-ironic log in the same way as
the other nova logs so that it doesn't go missing from fluentd
output.
Change-Id: I145389cd0cceeed506e2a9c084d290341047c9aa
Closes-Bug: #1721814