diff options
author | 2017-06-19 15:21:15 +0300 | |
---|---|---|
committer | 2017-08-11 04:59:13 +0000 | |
commit | f24d5d4c0237d2703cf2744aa6db65865401e94e (patch) | |
tree | 356c3744ecdf46da5ba72278f36c959396167489 /docker/services/nova-api.yaml | |
parent | f3c58d50d327e4bbd1bc9cdd70710ba9778336a3 (diff) |
Make containerized nova-api run with httpd
The non-containerized version will run over httpd [1], and for the
containerized TLS work, it is needed in the container version as well.
[1] Iac35b7ddcd8a800901548c75ca8d5083ad17e4d3
bp tls-via-certmonger-containers
Depends-On: I1c5f13039414f17312f91a5e0fd02019aa08e00e
Change-Id: I2c39a2957fd95dd261b5b8c4df5e66e00a68d2f7
Diffstat (limited to 'docker/services/nova-api.yaml')
-rw-r--r-- | docker/services/nova-api.yaml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/docker/services/nova-api.yaml b/docker/services/nova-api.yaml index da461049..c73ad046 100644 --- a/docker/services/nova-api.yaml +++ b/docker/services/nova-api.yaml @@ -64,9 +64,6 @@ outputs: map_merge: - get_attr: [NovaApiBase, role_data, config_settings] - apache::default_vhost: false - nova_wsgi_enabled: false - nova::api::service_name: '%{::nova::params::api_service_name}' - nova::wsgi::apache_api::ssl: false step_config: &step_config list_join: - "\n" @@ -82,7 +79,7 @@ outputs: config_image: {get_param: DockerNovaConfigImage} kolla_config: /var/lib/kolla/config_files/nova_api.json: - command: /usr/bin/nova-api + command: /usr/sbin/httpd -DFOREGROUND config_files: - source: "/var/lib/kolla/config_files/src/*" dest: "/" @@ -112,7 +109,7 @@ outputs: user: root volumes: - /var/log/containers/nova:/var/log/nova - command: ['/bin/bash', '-c', 'chown -R nova:nova /var/log/nova'] + command: ['/bin/bash', '-c', 'mkdir -p /var/log/httpd; chown -R nova:nova /var/log/nova'] step_3: nova_api_db_sync: start_order: 0 @@ -163,7 +160,7 @@ outputs: start_order: 2 image: *nova_api_image net: host - user: nova + user: root privileged: true restart: always volumes: |