Merge "Fix nova online volume resize with multipathd"
This commit is contained in:
commit
da214b74a9
@ -26,14 +26,19 @@
|
||||
- Restart multipathd container
|
||||
|
||||
- name: Copying over multipath.conf
|
||||
template:
|
||||
src: "multipath.conf.j2"
|
||||
dest: "{{ node_config_directory }}/{{ item.key }}/multipath.conf"
|
||||
mode: "0660"
|
||||
vars:
|
||||
service: "{{ multipathd_services['multipathd'] }}"
|
||||
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:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ multipathd_services }}"
|
||||
- inventory_hostname in groups[service.group]
|
||||
- service.enabled | bool
|
||||
notify:
|
||||
- Restart multipathd container
|
||||
|
@ -1,5 +1,5 @@
|
||||
defaults {
|
||||
user_friendly_names yes
|
||||
user_friendly_names no
|
||||
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