File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM ubuntu:20.04
22
33EXPOSE 80 5000 8773 8774 8775 8776 9292
44ENV DEBIAN_FRONTEND=noninteractive
5- ENV DEVSTACK_COMMIT=a4680766515ed9317b71cfb39cd0d75dc04f3d9c
5+ ENV DEVSTACK_COMMIT=ab8e51eb49068a8c5004007c18fdfb9b1fcc0954
66
77RUN apt-get update \
88 && apt-get install -y --no-install-recommends \
@@ -32,10 +32,8 @@ RUN git clone https://github.com/openstack/devstack.git \
3232
3333COPY compute/local.conf /opt/stack/devstack/
3434COPY compute/devstack.service /etc/systemd/system/
35- COPY 0001-devstack-disable-dstat.patch /opt/stack/
3635
37- RUN patch -d ./devstack -p1 < 0001-devstack-disable-dstat.patch \
38- && systemctl enable devstack
36+ RUN systemctl enable devstack
3937
4038STOPSIGNAL SIGRTMIN+3
4139CMD [ "/sbin/init" ]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM ubuntu:20.04
22
33EXPOSE 80 5000 8773 8774 8775 8776 9292
44ENV DEBIAN_FRONTEND=noninteractive
5- ENV DEVSTACK_COMMIT=a4680766515ed9317b71cfb39cd0d75dc04f3d9c
5+ ENV DEVSTACK_COMMIT=ab8e51eb49068a8c5004007c18fdfb9b1fcc0954
66
77RUN apt-get update \
88 && apt-get install -y --no-install-recommends \
@@ -32,10 +32,9 @@ RUN git clone https://github.com/openstack/devstack.git \
3232
3333COPY controller/local.conf /opt/stack/devstack/
3434COPY controller/devstack.service /etc/systemd/system/
35- COPY 0001-devstack-disable-dstat.patch /opt/stack /
35+ COPY iscsid.service /etc/systemd/system /
3636
37- RUN patch -d ./devstack -p1 < 0001-devstack-disable-dstat.patch \
38- && systemctl enable devstack
37+ RUN systemctl enable devstack
3938
4039STOPSIGNAL SIGRTMIN+3
4140CMD [ "/sbin/init" ]
Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ disable_service ovn-controller
4242disable_service ovn-northd
4343disable_service q-ovn-metadata-agent
4444
45+ # Dsiable dstat
46+ disable_service dstat
47+ disable_service memory_tracker
48+ disable_service peakmem_tracker
49+ disable_service file_tracker
50+
4551# Use openvswitch as the ml2 plugin driver
4652Q_AGENT=openvswitch
4753
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =
3+ Documentation =
4+ Wants =
5+ Before =
6+ After =
7+ DefaultDependencies =
8+ Conflicts =
9+ Before =
10+ ConditionVirtualization =
11+
12+ [Service]
13+ Type =oneshot
14+ PIDFile =
15+ ExecStart =/usr/bin/true
16+
17+ [Install]
18+ WantedBy =
You can’t perform that action at this time.
0 commit comments