3919 Commits

Author SHA1 Message Date
John Fulton
97c7d26721 Set undercloud ansible_connection to local
The Ansible undercloud connection defaults to local but
the inventory object constructor overrode it to SSH for
Mistral. Now that Mistral has been removed we can remove
the override and use local. This also avoids permission
conflicts between the default ansible_ssh_user and the
user running the playbook as per the bug this patch
closes.

Change-Id: Iac7c15572f83e77241bbc1469d3e3debc8ac011b
Closes-Bug:  #1884123
2020-06-22 15:07:49 +00:00
Zuul
50de0891fb Merge "Add ensure_global_symlinks: true" 2020-06-22 13:28:33 +00:00
Rabi Mishra
4eceb23697 Add ensure_global_symlinks: true
https://review.opendev.org/#/c/736330/ has now added an option
ensure_global_symlinks (default 'flase') which has to be set to 'true'
if we want to use tox from normal path.

ex. 'tox -e linters -- flake8' in pep8 job.

Also ignores basepython conflict in tox.

Change-Id: Ia24678c1fe905d6c526d79f71ea973834074f703
2020-06-19 09:02:25 +00:00
Emilien Macchi
c915208fee Revert "Remove config-download related mistral actions"
See bug report, it broke tripleoclient.

This reverts commit 2c47084bc926b90c86e8b5b6de51aaffd1c8b39d.
Related-Bug: #1884138

Change-Id: Ib86c92a9607a42f5a743d69026f37efcadb55553
2020-06-18 20:48:10 +00:00
Zuul
e695cd8fbb Merge "Remove config-download related mistral actions" 2020-06-15 16:08:00 +00:00
Zuul
c3db8fa9e9 Merge "Remove AnsibleGenerateInventoryAction mistal action" 2020-06-15 16:07:58 +00:00
Sandeep Yadav
ff9fe2edfb Add interface-names to Rhel8 images
With EL8, net.ifnames is set to 0 in the grub config. This is a change
in the default image which can have user impacts, Details in bug[1].

We already added "interface-names" to centos8 images[2]. With this
change we are adding "interface-names" to remove net.ifnames=0 from
rhel8 image as well.

[1] https://bugs.launchpad.net/tripleo/+bug/1841441
[2] https://review.opendev.org/#/c/712571/

Change-Id: I91567185464997eb77217b14e7efb97cbecf6e77
2020-06-11 16:58:57 +05:30
Zuul
ef3e212500 Merge "Remove tripleoclient container" 2020-06-10 00:08:47 +00:00
Rabi Mishra
2c47084bc9 Remove config-download related mistral actions
Depends-On: https://review.opendev.org/#/c/729251/
Change-Id: I493ec949e09a1a1a1745f4bf161bc6d3dc185e1e
2020-06-09 13:50:39 +05:30
Rabi Mishra
b471d2cdcc Remove AnsibleGenerateInventoryAction mistal action
Not used anymore.

Change-Id: If5053530eeadd277db091d60bc9095aa7f05d67f
2020-06-09 11:50:21 +05:30
Zuul
871f69204d Merge "tcib/ceilometer-base: remove panko dependency" 2020-06-06 04:55:53 +00:00
Zuul
c9d7eb23da Merge "Switch to newer openstackdocstheme and reno versions" 2020-06-06 00:33:56 +00:00
Zuul
46f3055e5d Merge "Revert "Add kolla template override to remove python3-networking-mlnx"" 2020-06-05 07:21:03 +00:00
Emilien Macchi
ab65e221b4 tcib/ceilometer-base: remove panko dependency
Aodh was deprecated, panko isn't needed anymore for ceilometer images.
We already didn't ship it on OSP, let's align with the upstream image.

Change-Id: I5f08cd74b19362611c76ecf31befd3b7eaf5a010
2020-06-04 17:33:04 -04:00
Emilien Macchi
b84805d38d Implement a new Container Images layout
- Kolla files that we need to copy into the images. We removed the bits
  for Debian/Ubuntu and Upgrades stuffs that we don't use in TripleO.
- A containerfile conversion tool has been added. This tool will interpret
  docker files and convert them to a simplified tcib format.
- TCIB aka TripleO Container Image Build, a new directory with the image
  configs. One file per image, following a simple structure.
  All images were pushed, we'll make some adjustments later.

Change-Id: Ib099c3be867f41c66b088de50d9e176cdcc0592c
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2020-06-04 13:54:47 +00:00
Andreas Jaeger
cded1f6317 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I3532fe039e754c3518a25b72094bf421d1f1c299
2020-06-03 20:35:56 +02:00
Moshe Levi
45d650bebc Revert "Add kolla template override to remove python3-networking-mlnx"
This reverts commit 0fda85ba0cee3322ccb108e3253f1615072ff2f8.

Change-Id: I66c59f4456d010596df200e3c39c58d576e9ea5f
2020-06-03 07:04:44 +00:00
Zuul
ed7049ee84 Merge "Switch to tripleo_dense" 2020-05-30 09:17:24 +00:00
Zuul
bff819ebe2 Merge "Fix nova-virtlogd container healthcheck" 2020-05-30 02:43:52 +00:00
Zuul
fe8ab8cb92 Merge "Switch to tripleo stdout callback" 2020-05-29 06:36:08 +00:00
Emilien Macchi
4e23fd936c Remove tripleoclient container
This was never used nor helpful, let's just remove it.

Change-Id: If667a16757ffc67cd5c1fce5661257547f811364
2020-05-28 20:38:51 +00:00
Zuul
0128e17104 Merge "Strictly check pm_type string" 2020-05-28 20:35:13 +00:00
Rajesh Tailor
f694274410 Fix nova-virtlogd container healthcheck
As of now, nova-virtlogd container healthcheck is failing
after deployment.

This change fixes the nova-virtlogd container healthcheck
by checking /run/libvirt/virtlogd-sock socket instead
of /var/run/libvirt/virtlogd-sock socket.

Change-Id: I1eee0cf34be9bf26fee0e4db832f8d141fee449b
2020-05-28 19:00:10 +05:30
Zuul
95b59aa26d Merge "Do not rotate CephX secrets" 2020-05-28 04:45:30 +00:00
Zuul
2b2abeed26 Merge "Add support for python 3.8" 2020-05-28 04:06:36 +00:00
Zuul
9a1ab6fa30 Merge "Add Python3 victoria unit tests" 2020-05-27 11:14:28 +00:00
Zuul
1e3c4044cc Merge "Change generate_ansible_inventory() arguments" 2020-05-27 09:43:31 +00:00
d472c88e30 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I21b9d1df8954cc88dd578e262a46e28d4172c8db
2020-05-26 15:04:47 +00:00
df6008b2f4 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I381116b615b0e92e529c7dfb989ca1800e9b4463
Sem-Ver: feature
2020-05-26 15:04:45 +00:00
Hervé Beraud
9caed1b8be Add support for python 3.8
Introduce support of python 3.8 [1] and move tox and jobs to py38.

jsonschema 3.2.0 [2] support python 3.8

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
[2] https://github.com/Julian/jsonschema/pull/627

Change-Id: I34a47d6fe90da33215c4551a868644e5d6c8906c
2020-05-26 14:13:00 +02:00
Zuul
04443a54f5 Merge "Add Octavia use of the rsyslog image" 2020-05-25 22:33:50 +00:00
Takashi Kajinami
4d4c9c0bb9 Strictly check pm_type string
Currently validation of pm_type is ambiguous because it doesn't check
trailing strings and accepts pxe_foo or redfish_baa for example.
This patch makes the validation more strict so that it fails with any
trailing items.

Change-Id: I5507942697bf4dbf599fb5135bff6560a42bfc62
2020-05-25 13:39:31 +09:00
Giulio Fidente
d1662ad411 Do not rotate CephX secrets
we do not want the CephX keys to rotate by default, some cannot
be changed at all after the cluster has been deployed

Change-Id: Iefe87eb869e248ea1e98d9ae34cdeeea57aa5426
2020-05-24 11:55:40 +00:00
Zuul
541e7f137d Merge "Remove unnecessary Ceph{Admin,Mon,Mds}Key constants" 2020-05-21 16:53:46 +00:00
Zuul
c4e6816497 Merge "Fix dry-run for "remote copy deployment file" task" 2020-05-21 16:07:59 +00:00
Rabi Mishra
d0c60a280f Change generate_ansible_inventory() arguments
Mistral context.security auth attributes are not same as the
keystone auth plugins. Use the attributes directly in
generate_ansible_inventory() function.

This will help us to move to using ansible module.

Change-Id: I83856119ea53e39d1891c3f7d94a4d5645da0046
2020-05-21 19:52:52 +05:30
Zuul
96472644b2 Merge "Remove tripleo.deployment.overcloudrc action" 2020-05-21 09:16:12 +00:00
Zuul
2f86b6bcb9 Merge "Bump grafana container to 5.4.3 tag" 2020-05-21 01:05:45 +00:00
Zuul
bb52f48bb6 Merge "Use unittest.mock instead of third party mock" 2020-05-20 22:01:02 +00:00
Emilien Macchi
49a3d13efd Fix dry-run for "remote copy deployment file" task
This was missing in the last attempt to make that playbook working in
check mode.

Change-Id: I2de91a2b06fade9969eb294d576bb33bc2d2bff3
2020-05-20 16:02:44 -04:00
Zuul
db3ad3558c Merge "Do not disable RabbitMQ and OpsTools repos." 2020-05-19 21:08:03 +00:00
Zuul
c5b0b44d68 Merge "Enhance error messages when building containers" 2020-05-19 20:32:18 +00:00
Zuul
cc888e7591 Merge "Remove container-update.py" 2020-05-18 23:16:42 +00:00
Kevin Carter
f745822049
Enhance error messages when building containers
This change will improve our error messaging when building containers by
returning all exceptions when there's an issue. This will allow us to
grok all known within a single log  and handle errors based on the RC
information.

Change-Id: I855ad2ec3ae27f2c18d53f1d17e4c7041e2258a3
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2020-05-18 12:10:57 -05:00
Zuul
c1dc9fc252 Merge "Jinja2 raise extension" 2020-05-18 14:24:08 +00:00
Marcin Juszkiewicz
a527249cb8 Do not disable RabbitMQ and OpsTools repos.
Kolla disables those repos in https://review.opendev.org/#/c/725032/
patch. This breaks TripleO builds as they assume them to be enabled.

Change-Id: Id6ea8f2a73c5205c3b3626bac42a55a0763feef4
2020-05-17 13:33:37 +02:00
Hervé Beraud
240fcc9eca Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ia552f03378bfa2d6612718eeec02da0448d322bc
2020-05-15 18:58:43 +02:00
Francesco Pantano
738444e985 Bump grafana container to 5.4.3 tag
This patch updates the grafana container tag to use
the correct container required by ceph 4.1.

Change-Id: Ic60b328c2bbefebb7859b25958df45ee38978293
2020-05-15 06:59:34 +00:00
Zuul
ecce177c03 Merge "Remove validation related things from mistral container" 2020-05-13 19:21:47 +00:00
Zuul
b0da9c1f67 Merge "Bump ceph/daemon container image to v4.0.12" 2020-05-13 17:44:27 +00:00