Skip to content

Commit 1139c5e

Browse files
authored
Merge pull request #28 from bobuhiro11/bumpup_devstack3
Bump up devstack version.
2 parents 7ebe4a7 + 2f67a14 commit 1139c5e

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
test:
1818
runs-on: ubuntu-22.04
1919
steps:
20+
- name: Remove unused files
21+
run: |
22+
sudo rm -rf /usr/share/dotnet
23+
sudo rm -rf /opt/ghc
24+
sudo rm -rf "/usr/local/share/boost"
25+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
2026
- uses: actions/checkout@v2
2127
- name: Install docker-compose
2228
uses: ndeloof/install-compose-action@v0.0.1

compute/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:22.04
22

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

77
ENV OS_REGION_NAME=RegionOne
88
ENV OS_PROJECT_DOMAIN_ID=default

controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:22.04
22

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

77
ENV OS_REGION_NAME=RegionOne
88
ENV OS_PROJECT_DOMAIN_ID=default

test.bash

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@ openstack compute service list
1010
openstack network agent list
1111

1212
net_id=$(openstack network show private -f json 2>/dev/null | jq -r .id | tr -d "\r\n")
13-
nova boot --image cirros-0.5.2-x86_64-disk --flavor m1.medium \
13+
image=$(openstack image list | awk '/cirros/ { print $4 }')
14+
15+
nova boot --image $image --flavor m1.medium \
1416
--nic net-id=$net_id --availability-zone=nova:controller testvm
1517
sleep 60
1618

19+
ip=$(openstack server show testvm -f json | jq -r '.addresses.private[0]')
20+
1721
nova list
1822
nova show testvm | grep ACTIVE
1923
nova console-log testvm
20-
nova console-log testvm | grep "udhcpc: lease of"
21-
nova console-log testvm | grep "successful after"
24+
nova console-log testvm | grep $ip
2225
nova delete testvm
2326

2427
sudo journalctl --no-pager -n 300 -eu devstack@n-cpu

0 commit comments

Comments
 (0)