Remove /lib/udev in $PATH for nova-compute

Add /lib/udev environment variable[1] is to solve the scsi_id access
problems, but the patch[2][3] pointed out the absolute path scsi_id,
we can not add /lib/udev environment variables in the system for
nova-compute. So we can remove /lib/udev in $PATH for nova-compute.

[1]https://review.openstack.org/#/c/291285/
[2]https://review.openstack.org/#/c/277224/
[3]https://github.com/openstack/os-brick/blob/master/os_brick/initiator/linuxscsi.py#L147

Change-Id: I5326edf8fff5745ef119c0c3decd6f4c51e8bd5d
Closes-Bug: #1742340
This commit is contained in:
ZhongShengping 2018-01-10 10:30:28 +08:00
parent c0368764fe
commit 097b4da85d

View File

@ -150,8 +150,6 @@ COPY extend_start.sh /usr/local/bin/kolla_nova_extend_start
RUN chmod 755 /usr/local/bin/kolla_nova_extend_start \
&& rm -f /etc/machine-id
ENV PATH $PATH:/lib/udev
{% block nova_compute_footer %}{% endblock %}
{% block footer %}{% endblock %}