Skip to content

Commit a748b85

Browse files
committed
bump up devstack version to latest
Signed-off-by: Nobuhiro MIKI <nob@bobuhiro11.net>
1 parent 9b58a3d commit a748b85

5 files changed

Lines changed: 29 additions & 89 deletions

File tree

0001-devstack-disable-dstat.patch

Lines changed: 0 additions & 81 deletions
This file was deleted.

compute/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:20.04
22

33
EXPOSE 80 5000 8773 8774 8775 8776 9292
44
ENV DEBIAN_FRONTEND=noninteractive
5-
ENV DEVSTACK_COMMIT=a4680766515ed9317b71cfb39cd0d75dc04f3d9c
5+
ENV DEVSTACK_COMMIT=ab8e51eb49068a8c5004007c18fdfb9b1fcc0954
66

77
RUN 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

3333
COPY compute/local.conf /opt/stack/devstack/
3434
COPY 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

4038
STOPSIGNAL SIGRTMIN+3
4139
CMD [ "/sbin/init" ]

controller/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:20.04
22

33
EXPOSE 80 5000 8773 8774 8775 8776 9292
44
ENV DEBIAN_FRONTEND=noninteractive
5-
ENV DEVSTACK_COMMIT=a4680766515ed9317b71cfb39cd0d75dc04f3d9c
5+
ENV DEVSTACK_COMMIT=ab8e51eb49068a8c5004007c18fdfb9b1fcc0954
66

77
RUN 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

3333
COPY controller/local.conf /opt/stack/devstack/
3434
COPY 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

4039
STOPSIGNAL SIGRTMIN+3
4140
CMD [ "/sbin/init" ]

controller/local.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ disable_service ovn-controller
4242
disable_service ovn-northd
4343
disable_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
4652
Q_AGENT=openvswitch
4753

iscsid.service

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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=

0 commit comments

Comments
 (0)