forked from openstack-k8s-operators/nova-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now each podified service runs as nova user. This needed a bit of change how we run our jobs. Now the scripts of the job is also started via kolla_start, as a side effect this PR needed to make sure that the mounted script files are executable by the nova user. As apache is also running with the nova user we needed to set some permissions for the api containers. At the same time we make sure that apache logs everything to its stdout / stderr to make the logs visible. Implements: https://issues.redhat.com/browse/OSPRH-1374
- Loading branch information
Showing
18 changed files
with
103 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"command": "/var/lib/openstack/bin/ensure_cell_mapping.sh", | ||
"config_files": [ | ||
{ | ||
"source": "/var/lib/openstack/config/nova-blank.conf", | ||
"dest": "/etc/nova/nova.conf", | ||
"owner": "nova", | ||
"perm": "0600" | ||
}, | ||
{ | ||
"source": "/var/lib/openstack/config/01-nova.conf", | ||
"dest": "/etc/nova/nova.conf.d/01-nova.conf", | ||
"owner": "nova", | ||
"perm": "0600" | ||
}, | ||
{ | ||
"source": "/var/lib/openstack/config/02-nova-override.conf", | ||
"dest": "/etc/nova/nova.conf.d/02-nova-override.conf", | ||
"owner": "nova", | ||
"perm": "0600", | ||
"optional": true | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
...ova-manage/config/nova-manage-config.json → ...a-manage/config/host-discover-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.