Purge config subdirectories
Currently, Anvil puts a lot of symlinks to /etc subdirectories, for example:
[stack@centos-2 glance]$ ls /etc/glance/ /etc/nova -l
/etc/glance/:
total 4
lrwxrwxrwx 1 root root 51 May 8 09:17 glance-api.conf -> /home/stack/
lrwxrwxrwx 1 root root 56 May 8 09:17 glance-
lrwxrwxrwx 1 root root 56 May 8 09:17 glance-
lrwxrwxrwx 1 root root 61 May 8 09:17 glance-
lrwxrwxrwx 1 root root 48 May 8 09:17 logging.conf -> /home/stack/
lrwxrwxrwx 1 root root 47 May 8 09:17 policy.json -> /home/stack/
/etc/nova:
total 0
lrwxrwxrwx 1 root root 46 May 8 09:17 logging.conf -> /home/stack/
lrwxrwxrwx 1 root root 52 May 8 09:17 nova-api-paste.ini -> /home/stack/
lrwxrwxrwx 1 root root 43 May 8 09:17 nova.conf -> /home/stack/
lrwxrwxrwx 1 root root 45 May 8 09:17 policy.json -> /home/stack/
In the same time, Anvil launches services and gives them the full path to *.conf files:
[stack@centos-2 glance]$ ps aux|grep glance
root 2601 0.0 1.6 260292 33332 ? S May08 0:00 python /home/stack/
Some *.conf files contain absolute path to configuration files:
[stack@centos-2 glance]$ grep api-paste /home/stack/
api_paste_config = /home/stack/
...while others not:
[stack@centos-2 glance]$ grep api-pa /home/stack/
/home/stack/
Solution: write all configs to /etc.
Blueprint information
- Status:
- Complete
- Approver:
- Joshua Harlow
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Alexej Ababilov
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Alexej Ababilov
- Completed by
- Alexej Ababilov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Build OpenStack packages from custom specs
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Build OpenStack packages from custom specs