Remove rsync requirement for cinder
We used rsync to synchronize filters from rootwrap.d. However, with smart-source that is not needed anymore, since /etc/cinder is simply a symlink to the source directory of rsync. We still need os-brick rootwrap linkage though. Change-Id: Ib1571c5be67155b584c412da8336de49bc80d948
This commit is contained in:
parent
492e519b98
commit
369f01589c
@ -43,16 +43,3 @@
|
|||||||
dest: /etc/cinder/rootwrap.d/os-brick.filters
|
dest: /etc/cinder/rootwrap.d/os-brick.filters
|
||||||
state: link
|
state: link
|
||||||
ignore_errors: "{{ ansible_check_mode }}"
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
|
|
||||||
- name: Copy cinder rootwrap filters
|
|
||||||
command: >-
|
|
||||||
rsync --archive --itemize-changes --delete
|
|
||||||
/openstack/venvs/cinder-{{ cinder_venv_tag }}/etc/cinder/rootwrap.d/
|
|
||||||
/etc/cinder/rootwrap.d/
|
|
||||||
args:
|
|
||||||
warn: no
|
|
||||||
register: _copy_rootwraps
|
|
||||||
changed_when: _copy_rootwraps.stdout | length > 0
|
|
||||||
notify:
|
|
||||||
- Restart cinder services
|
|
||||||
- Restart uwsgi services
|
|
||||||
|
@ -24,7 +24,6 @@ tgt_service_name: tgt
|
|||||||
cinder_distro_packages:
|
cinder_distro_packages:
|
||||||
- libkmod2
|
- libkmod2
|
||||||
- libxml2
|
- libxml2
|
||||||
- rsync
|
|
||||||
- zlib1g
|
- zlib1g
|
||||||
|
|
||||||
cinder_service_distro_packages:
|
cinder_service_distro_packages:
|
||||||
|
@ -19,7 +19,6 @@ tgt_service_name: iscsid
|
|||||||
# Common yum packages
|
# Common yum packages
|
||||||
cinder_distro_packages:
|
cinder_distro_packages:
|
||||||
- iscsi-initiator-utils
|
- iscsi-initiator-utils
|
||||||
- rsync
|
|
||||||
- kmod-libs
|
- kmod-libs
|
||||||
- libxml2
|
- libxml2
|
||||||
- which
|
- which
|
||||||
|
Loading…
x
Reference in New Issue
Block a user