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.
Disable openstackdocs_auto_name to use 'project' variable as name.
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: I9cad8904420d108a06d9fefbc2d3268738d56038
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: I8ee9e5ba9d91f3bd3964f040d7b2e1b453917986
Sem-Ver: feature
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Remove explicit listed jobs from check queue, they are in the templates.
- Update jobs
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: I4a1976c78b0fe69cc1b423c516d557838cb6d59b
Paunch has been replaced by tripleo_container_manage role in
tripleo-ansible during Ussuri cycle.
It is not tested anymore in this version and will be removed one day.
It it strongly encouraged to switched to the Ansible role to manage
containers; which should be the default if you deploy TripleO from
master at this time.
If you get the warning, it's possible that a parameter (EnablePaunch) is
set to True; while the default was switched.
Paunch will remain supported in Ussuri and backward, but not in Victoria
and forward.
Change-Id: I2be96c5929f0602296c8f2cebb65b755a2178195
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: I7000b5d790950d7a2e337a85fa348b4fffd05b31
Sem-Ver: feature
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: I22c45438c1f94199826ca314f2148f3fac2678f4
We are starting a WIP to replace docker-compose/docker with paunch/podman [1]
but to do so we need either ne able to resolve the service name or the
option here wich just adding extra_hosts and hostname docker-compose
configuration so we can resolve the differnt services of zuul
quickstart between them.
[1] https://review.rdoproject.org/r/#/c/20488/
Change-Id: I36f014f5e729010b44876d8f5994629477bac4e8
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: Ia08f70cc7186031c36978029fbec04ac36444652
Sem-Ver: feature
Allow an operator to disable the container healtcheck mechanism, when
podman is enabled.
It's done by an option to paunch apply: --healthcheck-disabled
Change-Id: Ic3dd492405b11ec482ff86e1513149c3eceb370f
Until now, paunch configures the "healthcheck" systemd unit
with a hard-coded path, while we can set it in tripleo-heat-templates.
Change-Id: Ic15bfb974e53703bfaf324be7d1b9b0352e2e644
Currently, docker daemon runtime has a default --log-driver set
to journald.
Podman lack of daemon prevent such a global application, meaning
we have to set that driver for each and every container when we
either create or run them.
Notes:
- podman only supports "json-file", and it's not even a json.
- docker json-file doesn't support "path" option, making this output
unusable in the end: logs end in
/var/lib/docker/containers/ID/ID-json.log
Related-Bug: #1814897
Change-Id: I7ac10a9b42ecae73a77b624f5350c424d4c3030a
It may happen we have some shared directory mounted within
the container - if it is located in /run or in some other
tmpfs location, it won't persist across reboots.
SystemD provides the capability to create those directories, and
this patch allows to take advantage of this capacity.
Basically, we might add as many flag as we want.
Closes-Bug: #1814764
Change-Id: I5d2ef49ec205b7a43c488d4ceef0724e5ef2b6cc
We now prefix the SystemD service so we can identify them better:
e.g. systemctl list-unit-files | grep tripleo
It'll help to not conflict when rpms are installed on the host and
have the same service name as their container name.
For example haproxy rpm and haproxy container would have the same
service name so the prefix will help to not having this conflict
when removing the rpms during a cleanup by the operator.
Change-Id: I4bec5cfdb34c7422816c2d79ccaa5a499c783631
So it can be used when debugging containers with podman
and paunch. Also fix clean/list/delete should be added the
default_runtime value.
Deduplicate cont_cmd and default_runtime (deprecated) ABI
params passed into action methods and taking the same
values. Use cont_cmd instead.
Closes-Bug: #1796646
Change-Id: I86d6403ee6d7e8acd05e8646066420feec098f1a
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This will add the features `--memory`, `--memory-swap` and
`--memory-swappiness`
Change-Id: Icb44564906dbbe2d0407eaf1ab01eb450fcc73ce
Closes-Bug: #1801949
Fix logging to console to depend on input CLI args. By default, keep
logging to stdout. Make --log-file argument working as well.
Use the input verbosity parameters as a controlling switch for
logs verbosity.
Evaluate log levels as:
* 1 (WARNING+) - the default log level if neither -v nor --debug used
* 2 (INFO+) - applies if -v / --verbose
* 4 (DEBUG+) - applies if --debug, dumps command results to file,
if --log-file is requested.
* 5 (DEBUG+) - applies if --debug and -v. Like the latter mode, but
also dumps the executed commands results to console.
This is needed for better deployments troubleshootng.
Closes-Bug: #1799182
Change-Id: I653ac4cc520e40f3eb4d029e8c99ab482b17a859
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This patch will create a basic systemd unit file that start/stop/status
any container that we manage with restart policy in paunch config.
It's only created when podman is the container runtime and when the
container is configured with a restart policy.
The systemd unit file will be removed when paunch removes the container.
KillMode=process is used so in the case of Neutron, we don't kill
children containers.
Note: if the policy is set to unless-stopped, we'll force the always
policy because unless-stopped doesn't exist in systemd.
Change-Id: I676e5fff3daecadba45efddff11f7afc602a50ef
By pulling any missing required images, a pull failure will result in
an early failure with a clear cause. For detached containers, this is
improved error handling than having a container which fails
to start.
Change-Id: Ifa0257cbeadd3da9be756edf6a729c90141c238f
Closes-Bug: #1733941
This adds the --log-opt tag=<value> to the docker run command, which can
be quite useful depending on your logging needs.
In the TripleO case, we use journald as the default logging driver, and
this will get reflected in the logs by adding the tag to the
CONTAINER_TAG key in the log metadata.
bp logging-stdout-rsyslog
Change-Id: I3bfb1a5ce2d6a6f95519f5272348eae18d649712