tripleo-ansible/tripleo_ansible/roles
Cédric Jeanneret 21787448de Execute healthchecks as root
Some containers doesn't have the "default" user set to root (which is
good). This lead to healthcheck_port() function to return a message
because the non-root user isn't allowed to call "ss" command as itself.

Ensuring we're running the healthchecks as root will also allow to stop
duplicating some commands, making them faster and smaller for the
system.

This was discovered and discussed on Red Hat bugzilla first, then ported
to Launchpad.

This patch is the port of I2e49d4dd5b385237f4f79929c70365424f6fa22d to
tripleo-ansible "container-manage" role.

Change-Id: I0e6883cd86157b73f18ab63f96f633a8a05e82bf
Related-Bug: 1860569
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1778881
2020-01-23 09:42:02 +01:00
..
aide normalize newlines at end of file 2019-11-12 15:06:58 +00:00
backup_and_restore Replace all references to the old role name 2020-01-22 12:06:06 +00:00
login_defs Replace all references to the old role name 2020-01-22 12:06:06 +00:00
octavia_common Import octavia roles and playbooks from tripleo-common 2019-06-13 17:29:13 -05:00
octavia_controller_config Replace all references to the old role name 2020-01-22 12:06:06 +00:00
octavia_controller_post_config Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
octavia_overcloud_config Replace all references to the old role name 2020-01-22 12:06:06 +00:00
octavia_undercloud Replace all references to the old role name 2020-01-22 12:06:06 +00:00
test_deps Use openstacksdk in test-deps 2019-12-10 03:52:17 +00:00
test_json_error_callback normalize newlines at end of file 2019-11-12 15:06:58 +00:00
test_package_action normalize newlines at end of file 2019-11-12 15:06:58 +00:00
tripleo_bootstrap Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_cellv2 Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ceph_common Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ceph_fetch_dir Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ceph_run_ansible Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ceph_uuid Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ceph_work_dir Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_clients_install Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_config Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_container_image_prepare Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_container_manage Execute healthchecks as root 2020-01-23 09:42:02 +01:00
tripleo_container_rm Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_container_stop Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_container_tag Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_create_admin Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_firewall Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_hieradata Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_hosts_entries Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_image_serve Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_kernel Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_keystone_resources Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_module_load Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_nova_image_cache Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ovs_dpdk Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_packages Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_persist Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_podman Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ptp Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_puppet_cache Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_securetty Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_ssh_known_hosts Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_sshd Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_systemd_wrapper Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_timezone Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_transfer Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_upgrade_hiera Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tripleo_validations_package Replace all references to the old role name 2020-01-22 12:06:06 +00:00
tuned Don't include tuned tasks when checkmode 2019-12-06 15:35:24 -07:00
backup-and-restore Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
login-defs Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
octavia-controller-config Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
octavia-controller-post-config Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
octavia-overcloud-config Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
octavia-undercloud Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-bootstrap Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-cellv2 Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ceph-common Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ceph-fetch-dir Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ceph-run-ansible Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ceph-uuid Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ceph-work-dir Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-clients-install Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-config Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-container-image-prepare Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-container-manage Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-container-rm Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-container-stop Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-container-tag Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-create-admin Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-docker-rm Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-firewall Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-hieradata Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-hosts-entries Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-image-serve Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-kernel Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-keystone-resources Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-module-load Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-nova-image-cache Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ovs-dpdk Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-packages Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-persist Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-podman Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ptp Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-puppet-cache Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-securetty Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-ssh-known-hosts Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-sshd Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-systemd-wrapper Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-timezone Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-transfer Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-upgrade-hiera Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo-validations-package Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
tripleo_docker_rm Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00