summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2018-01-10 10:30:28 +0800
committerZhongShengping <chdzsp@163.com>2018-01-10 11:42:51 +0800
commit097b4da85d81a2ce892ffbc208dc5710b519441c (patch)
tree447bb5f91c55eb86d0de191dffd008d440006953
parentc0368764fe6aa4a2f12ac093fff26b0a51ae1262 (diff)
downloadkolla-097b4da85d81a2ce892ffbc208dc5710b519441c.tar.gz
kolla-097b4da85d81a2ce892ffbc208dc5710b519441c.zip
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
-rw-r--r--docker/nova/nova-compute/Dockerfile.j22
1 files changed, 0 insertions, 2 deletions
diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2
index f26789e89..758c30e79 100644
--- a/docker/nova/nova-compute/Dockerfile.j2
+++ b/docker/nova/nova-compute/Dockerfile.j2
@@ -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 %}