87af014b16
Our role tests execute as non-root users, and the roles need to access the environment variables for that non-root user. Ansible, when targeting localhost, changes to 'connection: local' and thus breaks everything we need to do against localhost as root unless we use 'become: true', but we if generally use that against remote hosts we lose the environment variables for the non-root user. As such, we switch the inventory to target 'compute1' instead, which has the address '10.1.1.1' (br-mgmt), so that we do not have to deal with the implict connection type changes implemented by Ansible. Depends-On: https://review.openstack.org/584033 Change-Id: I3c29bab37b5dbbd0faec246c02e3a39fe4c1033a
158 lines
1.7 KiB
Plaintext
158 lines
1.7 KiB
Plaintext
[all]
|
|
localhost
|
|
infra1
|
|
openstack1
|
|
swift-storage1
|
|
octavia1
|
|
compute1
|
|
|
|
[all_containers]
|
|
infra1
|
|
openstack1
|
|
swift-storage1
|
|
octavia1
|
|
|
|
[oslomsg_rpc_all]
|
|
infra1
|
|
|
|
[oslomsg_notify_all]
|
|
infra1
|
|
|
|
[rabbitmq_all]
|
|
infra1
|
|
|
|
[galera_all]
|
|
infra1
|
|
|
|
[memcached_all]
|
|
infra1
|
|
|
|
[service_all:children]
|
|
rabbitmq_all
|
|
galera_all
|
|
memcached_all
|
|
|
|
[octavia_all:children]
|
|
octavia-api
|
|
octavia-worker
|
|
octavia-housekeeping
|
|
octavia-health-manager
|
|
|
|
[octavia-api]
|
|
octavia1
|
|
|
|
[octavia-worker]
|
|
octavia1
|
|
|
|
[octavia-housekeeping]
|
|
octavia1
|
|
|
|
[octavia-health-manager]
|
|
octavia1
|
|
|
|
[keystone_all]
|
|
openstack1
|
|
|
|
[glance_api]
|
|
openstack1
|
|
|
|
[glance_registry]
|
|
openstack1
|
|
|
|
[glance_all:children]
|
|
glance_api
|
|
glance_registry
|
|
|
|
[neutron_agent]
|
|
openstack1
|
|
|
|
[neutron_dhcp_agent]
|
|
openstack1
|
|
|
|
[neutron_linuxbridge_agent]
|
|
compute1
|
|
|
|
[neutron_openvswitch_agent]
|
|
|
|
[neutron_metering_agent]
|
|
openstack1
|
|
|
|
[neutron_l3_agent]
|
|
openstack1
|
|
|
|
[neutron_metadata_agent]
|
|
openstack1
|
|
|
|
[neutron_server]
|
|
openstack1
|
|
|
|
[neutron_all:children]
|
|
neutron_agent
|
|
neutron_dhcp_agent
|
|
neutron_linuxbridge_agent
|
|
neutron_openvswitch_agent
|
|
neutron_metering_agent
|
|
neutron_l3_agent
|
|
neutron_metadata_agent
|
|
neutron_server
|
|
|
|
[nova_api_metadata]
|
|
openstack1
|
|
|
|
[nova_api_os_compute]
|
|
openstack1
|
|
|
|
[nova_api_placement]
|
|
openstack1
|
|
|
|
[nova_cert]
|
|
openstack1
|
|
|
|
[nova_compute]
|
|
compute1
|
|
|
|
[nova_conductor]
|
|
openstack1
|
|
|
|
[nova_console]
|
|
openstack1
|
|
|
|
[nova_scheduler]
|
|
openstack1
|
|
|
|
[nova_all:children]
|
|
nova_api_metadata
|
|
nova_api_os_compute
|
|
nova_api_placement
|
|
nova_cert
|
|
nova_compute
|
|
nova_conductor
|
|
nova_console
|
|
nova_scheduler
|
|
|
|
[swift_hosts]
|
|
swift-storage1
|
|
|
|
[swift_proxy]
|
|
openstack1
|
|
|
|
[swift_acc]
|
|
swift-storage1
|
|
|
|
[swift_cont]
|
|
swift-storage1
|
|
|
|
[swift_obj]
|
|
swift-storage1
|
|
|
|
[swift_all:children]
|
|
swift_acc
|
|
swift_proxy
|
|
swift_cont
|
|
swift_obj
|
|
|
|
[swift_remote_all]
|
|
|
|
[utility_all]
|
|
infra1
|