Upgrade N->O Nova services launch with newton tag and not ocata (systemd issue)
Bug #1682161 reported by
Grelaud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Upgrade Newton 14.1.1 to Ocata 15.1.0
Nova services are not launched with new ocata tag (see attachment).
Exemple:
"sytemctl status nova-conductor" give a warning:
Warning: nova-conductor.
# systemctl daemon-reload
# sytemctl restart nova-service
And nova service are launched with the good tag...
To post a comment you must log in.
In nova role, task nova_init_ systemd. yml, in the last play "Place the systemd init script", we use notify to restart nova services, we can also notify a reload systemd.
- name: Place the systemd init script init.j2" system/ {{ item.value. service_ name }}.service" item.value. group] condition | default(true) }}"
template:
src: "nova-systemd-
dest: "/etc/systemd/
mode: "0644"
owner: "root"
group: "root"
with_dict: "{{ nova_services }}"
when:
- inventory_hostname in groups[
- "{{ item.value.
notify:
- Reload systemd daemon <<<<<<<<<<<<<<<<
- Restart nova services
And add in handlers/main.yml
- name: Reload systemd daemon
command: "systemctl daemon-reload"