Fix nova online volume resize with multipathd
Closes-Bug: 1982777 Change-Id: Ic752b981041b233ab55d5b9abef667b21b47857d
This commit is contained in:
parent
aa1ae23c5a
commit
277db5c3b7
@ -26,14 +26,19 @@
|
|||||||
- Restart multipathd container
|
- Restart multipathd container
|
||||||
|
|
||||||
- name: Copying over multipath.conf
|
- name: Copying over multipath.conf
|
||||||
template:
|
vars:
|
||||||
src: "multipath.conf.j2"
|
service: "{{ multipathd_services['multipathd'] }}"
|
||||||
dest: "{{ node_config_directory }}/{{ item.key }}/multipath.conf"
|
|
||||||
mode: "0660"
|
|
||||||
become: true
|
become: true
|
||||||
|
template:
|
||||||
|
src: "{{ item }}"
|
||||||
|
dest: "{{ node_config_directory }}/multipathd/multipath.conf"
|
||||||
|
mode: "0660"
|
||||||
|
with_first_found:
|
||||||
|
- "{{ node_custom_config }}/multipath/{{ inventory_hostname }}/multipath.conf"
|
||||||
|
- "{{ node_custom_config }}/multipath.conf"
|
||||||
|
- "multipath.conf.j2"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups[item.value.group]
|
- inventory_hostname in groups[service.group]
|
||||||
- item.value.enabled | bool
|
- service.enabled | bool
|
||||||
with_dict: "{{ multipathd_services }}"
|
|
||||||
notify:
|
notify:
|
||||||
- Restart multipathd container
|
- Restart multipathd container
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
defaults {
|
defaults {
|
||||||
user_friendly_names yes
|
user_friendly_names no
|
||||||
find_multipaths yes
|
find_multipaths yes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
8
releasenotes/notes/bug-1982777-0cac9753aa18a037.yaml
Normal file
8
releasenotes/notes/bug-1982777-0cac9753aa18a037.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes 1982777.
|
||||||
|
Set multipathd user_friendly_names to "no"
|
||||||
|
to make os-brick able to resize volumes online.
|
||||||
|
Adds ability to override multipathd config.
|
||||||
|
`LP#1982777 <https://launchpad.net/bugs/1982777>`__
|
Loading…
Reference in New Issue
Block a user