Don't use *-dist.conf files in commands
There is nothing distribution specific in most of these. Let's stop using those so that we can drop those from packaging. Change-Id: I1feb1b4167ea25710a2dc274cf73e4bf9b03cdd1
This commit is contained in:
parent
39cac17547
commit
66492002c4
@ -232,7 +232,7 @@ outputs:
|
||||
config_image: {get_param: ContainerCinderConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/cinder_backup.json:
|
||||
command: /usr/bin/cinder-backup --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
|
||||
command: /usr/bin/cinder-backup --config-file /etc/cinder/cinder.conf
|
||||
config_files: {get_attr: [CinderCommon, cinder_common_kolla_config_files]}
|
||||
permissions: {get_attr: [CinderCommon, cinder_common_kolla_permissions]}
|
||||
docker_config:
|
||||
|
@ -150,7 +150,7 @@ outputs:
|
||||
config_image: {get_param: ContainerCinderConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/cinder_backup.json:
|
||||
command: /usr/bin/cinder-backup --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
|
||||
command: /usr/bin/cinder-backup --config-file /etc/cinder/cinder.conf
|
||||
config_files: {get_attr: [CinderCommon, cinder_common_kolla_config_files]}
|
||||
permissions: {get_attr: [CinderCommon, cinder_common_kolla_permissions]}
|
||||
container_config_scripts: {get_attr: [ContainersCommon, container_config_scripts]}
|
||||
|
@ -88,7 +88,7 @@ outputs:
|
||||
config_image: {get_param: ContainerCinderConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/cinder_scheduler.json:
|
||||
command: /usr/bin/cinder-scheduler --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
|
||||
command: /usr/bin/cinder-scheduler --config-file /etc/cinder/cinder.conf
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -301,7 +301,7 @@ outputs:
|
||||
config_image: {get_param: ContainerCinderConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/cinder_volume.json:
|
||||
command: /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
|
||||
command: /usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf
|
||||
config_files: {get_attr: [CinderCommon, cinder_common_kolla_config_files]}
|
||||
permissions: {get_attr: [CinderCommon, cinder_common_kolla_permissions]}
|
||||
docker_config:
|
||||
|
@ -106,7 +106,7 @@ outputs:
|
||||
- tripleo::profile::base::lvm::enable_udev: false
|
||||
tripleo::profile::pacemaker::cinder::volume_bundle::cinder_volume_docker_image: &cinder_volume_image_pcmklatest
|
||||
if:
|
||||
- {get_param: ClusterFullTag}
|
||||
- {get_param: ClusterFullTag}
|
||||
- "cluster.common.tag/cinder-volume:pcmklatest"
|
||||
- yaql:
|
||||
data:
|
||||
@ -139,7 +139,7 @@ outputs:
|
||||
config_image: {get_param: ContainerCinderConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/cinder_volume.json:
|
||||
command: /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
|
||||
command: /usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf
|
||||
config_files: {get_attr: [CinderCommon, cinder_common_kolla_config_files]}
|
||||
permissions: {get_attr: [CinderCommon, cinder_common_kolla_permissions]}
|
||||
container_config_scripts: {get_attr: [ContainersCommon, container_config_scripts]}
|
||||
|
@ -449,7 +449,11 @@ outputs:
|
||||
config_settings:
|
||||
map_merge:
|
||||
- get_attr: [TLSProxyBase, role_data, config_settings]
|
||||
- glance::api::db::database_connection:
|
||||
# Set this for glance as it does not have a default
|
||||
- glance::config::api_config:
|
||||
paste_deploy/config_file:
|
||||
value: '/etc/glance/glance-api-paste.ini'
|
||||
glance::api::db::database_connection:
|
||||
make_url:
|
||||
scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
|
||||
username: glance
|
||||
@ -628,7 +632,7 @@ outputs:
|
||||
config_image: {get_param: ContainerGlanceApiConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/glance_api.json:
|
||||
command: /usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf --config-file /etc/glance/glance-image-import.conf
|
||||
command: /usr/bin/glance-api --config-file /etc/glance/glance-api.conf --config-file /etc/glance/glance-image-import.conf
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -220,7 +220,7 @@ outputs:
|
||||
command:
|
||||
list_join:
|
||||
- ' '
|
||||
- - /usr/bin/heat-engine --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
|
||||
- - /usr/bin/heat-engine --config-file /etc/heat/heat.conf
|
||||
- get_attr: [HeatEngineLogging, cmd_extra_args]
|
||||
config_files: &heat_engine_config_files
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
|
@ -400,7 +400,7 @@ outputs:
|
||||
- /var/lib/ironic-inspector/dhcp-hostsdir:/var/lib/ironic-inspector/dhcp-hostsdir:z
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/ironic_inspector.json:
|
||||
command: /usr/bin/ironic-inspector --config-file /etc/ironic-inspector/inspector-dist.conf --config-file /etc/ironic-inspector/inspector.conf
|
||||
command: /usr/bin/ironic-inspector --config-file /etc/ironic-inspector/inspector.conf
|
||||
config_files: &ironic_inspector_config_files
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -112,7 +112,7 @@ outputs:
|
||||
config_image: {get_param: ContainerNeutronConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/ironic_neutron_agent.json:
|
||||
command: /usr/bin/ironic-neutron-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common
|
||||
command: /usr/bin/ironic-neutron-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -71,7 +71,7 @@ outputs:
|
||||
config_image: {get_param: ContainerManilaConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/manila_scheduler.json:
|
||||
command: /usr/bin/manila-scheduler --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf
|
||||
command: /usr/bin/manila-scheduler --config-file /etc/manila/manila.conf
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -140,7 +140,7 @@ outputs:
|
||||
config_image: {get_param: ContainerManilaConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/manila_share.json:
|
||||
command: /usr/bin/manila-share --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf
|
||||
command: /usr/bin/manila-share --config-file /etc/manila/manila.conf
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -129,7 +129,7 @@ outputs:
|
||||
config_image: {get_param: ContainerManilaConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/manila_share.json:
|
||||
command: /usr/bin/manila-share --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf
|
||||
command: /usr/bin/manila-share --config-file /etc/manila/manila.conf
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -442,7 +442,7 @@ outputs:
|
||||
command:
|
||||
list_join:
|
||||
- ' '
|
||||
- - /usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server
|
||||
- - /usr/bin/neutron-server --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server
|
||||
- get_attr: [NeutronLogging, cmd_extra_args]
|
||||
config_files: &neutron_api_config_files
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
|
@ -257,7 +257,7 @@ outputs:
|
||||
command:
|
||||
list_join:
|
||||
- ' '
|
||||
- - /usr/bin/neutron-dhcp-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-dhcp-agent
|
||||
- - /usr/bin/neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-dhcp-agent
|
||||
- get_attr: [NeutronLogging, cmd_extra_args]
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
|
@ -226,7 +226,7 @@ outputs:
|
||||
command:
|
||||
list_join:
|
||||
- ' '
|
||||
- - /usr/bin/neutron-l3-agent --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/l3_agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-l3-agent
|
||||
- - /usr/bin/neutron-l3-agent --config-dir /usr/share/neutron/l3_agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-l3-agent
|
||||
- get_attr: [NeutronLogging, cmd_extra_args]
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
|
@ -143,7 +143,7 @@ outputs:
|
||||
command:
|
||||
list_join:
|
||||
- ' '
|
||||
- - /usr/bin/neutron-metadata-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/metadata_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-metadata-agent
|
||||
- - /usr/bin/neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/metadata_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-metadata-agent
|
||||
- get_attr: [NeutronLogging, cmd_extra_args]
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
|
@ -282,7 +282,6 @@ outputs:
|
||||
#!/bin/bash
|
||||
set -xe
|
||||
PYTHON -m neutron.cmd.destroy_patch_ports \
|
||||
--config-file /usr/share/neutron/neutron-dist.conf \
|
||||
--config-file /etc/neutron/neutron.conf \
|
||||
--config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini \
|
||||
--config-dir /etc/neutron/conf.d/common \
|
||||
@ -290,7 +289,6 @@ outputs:
|
||||
--log-file=/var/log/neutron/openvswitch-agent.log
|
||||
|
||||
/usr/bin/neutron-openvswitch-agent \
|
||||
--config-file /usr/share/neutron/neutron-dist.conf \
|
||||
--config-file /etc/neutron/neutron.conf \
|
||||
--config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini \
|
||||
--config-dir /etc/neutron/conf.d/common \
|
||||
|
@ -152,7 +152,7 @@ outputs:
|
||||
command:
|
||||
list_join:
|
||||
- ' '
|
||||
- - /usr/bin/neutron-sriov-nic-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/sriov_agent.ini --config-dir /etc/neutron/conf.d/common
|
||||
- - /usr/bin/neutron-sriov-nic-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/sriov_agent.ini --config-dir /etc/neutron/conf.d/common
|
||||
- get_attr: [NeutronLogging, cmd_extra_args]
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
|
@ -262,7 +262,7 @@ outputs:
|
||||
recurse: true
|
||||
- {get_attr: [OctaviaProviderConfig, role_data, kolla_permissions]}
|
||||
/var/lib/kolla/config_files/octavia_driver_agent.json:
|
||||
command: /usr/bin/octavia-driver-agent --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/driver-agent.log --config-dir /etc/octavia/conf.d/common
|
||||
command: /usr/bin/octavia-driver-agent --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/driver-agent.log --config-dir /etc/octavia/conf.d/common
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -112,7 +112,7 @@ outputs:
|
||||
config_image: {get_param: ContainerOctaviaConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/octavia_health_manager.json:
|
||||
command: /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-file /etc/octavia/post-deploy.conf --log-file /var/log/octavia/health-manager.log --config-dir /etc/octavia/conf.d/octavia-health-manager
|
||||
command: /usr/bin/octavia-health-manager --config-file /etc/octavia/octavia.conf --config-file /etc/octavia/post-deploy.conf --log-file /var/log/octavia/health-manager.log --config-dir /etc/octavia/conf.d/octavia-health-manager
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -97,7 +97,7 @@ outputs:
|
||||
config_image: {get_param: ContainerOctaviaConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/octavia_housekeeping.json:
|
||||
command: /usr/bin/octavia-housekeeping --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-file /etc/octavia/post-deploy.conf --log-file /var/log/octavia/housekeeping.log --config-dir /etc/octavia/conf.d/octavia-housekeeping
|
||||
command: /usr/bin/octavia-housekeeping --config-file /etc/octavia/octavia.conf --config-file /etc/octavia/post-deploy.conf --log-file /var/log/octavia/housekeeping.log --config-dir /etc/octavia/conf.d/octavia-housekeeping
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
@ -86,7 +86,7 @@ outputs:
|
||||
config_image: {get_param: ContainerOctaviaConfigImage}
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/octavia_worker.json:
|
||||
command: /usr/bin/octavia-worker --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-file /etc/octavia/post-deploy.conf --log-file /var/log/octavia/worker.log --config-dir /etc/octavia/conf.d/octavia-worker
|
||||
command: /usr/bin/octavia-worker --config-file /etc/octavia/octavia.conf --config-file /etc/octavia/post-deploy.conf --log-file /var/log/octavia/worker.log --config-dir /etc/octavia/conf.d/octavia-worker
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
Loading…
Reference in New Issue
Block a user