summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Strassner <bryan.strassner@gmail.com>2018-10-15 16:16:18 -0500
committerBryan Strassner <bryan.strassner@gmail.com>2018-10-15 16:16:18 -0500
commitc2bec175292a76e074b19d67615f7c84cd790e0d (patch)
treefb0dd3df565c9688f0401e3b9d37cad579023a17
parent1e14112a74981278989a7a35fc5d773cc3b661b2 (diff)
Add build vm to multinode_genesis
Adds the needed changes to multinode_genesis to bring it in line with multinode_deploy. Removes the multinode_genesis_slim, as it is just a duplicate of the multinode_genesis with some tweaked memory sizes, and provides no alternate flow of steps. Change-Id: I4946fe5f2bc23f863de2aa8a187b0488fe66843b
Notes
Notes (review): Code-Review+2: Aaron Sheffield <ajs@sheffieldfamily.net> Code-Review+2: Scott Hussey <sthussey@att.com> Workflow+1: Scott Hussey <sthussey@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 23 Oct 2018 20:34:33 +0000 Reviewed-on: https://review.openstack.org/610730 Project: openstack/airship-in-a-bottle Branch: refs/heads/master
-rw-r--r--tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis.json18
-rw-r--r--tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis_slim.json68
2 files changed, 18 insertions, 68 deletions
diff --git a/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis.json b/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis.json
index ca505ad..dd422f0 100644
--- a/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis.json
+++ b/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis.json
@@ -4,6 +4,11 @@
4 "primary_repo": "deployment_files", 4 "primary_repo": "deployment_files",
5 "aux_repos": [] 5 "aux_repos": []
6 }, 6 },
7 "ingress": {
8 "domain": "gate.local",
9 "172.24.1.5": ["maas"],
10 "172.24.1.6": ["drydock","shipyard","keystone"]
11 },
7 "stages": [ 12 "stages": [
8 { 13 {
9 "name": "Gate Setup", 14 "name": "Gate Setup",
@@ -30,12 +35,25 @@
30 "script": "create-vms.sh" 35 "script": "create-vms.sh"
31 }, 36 },
32 { 37 {
38 "name": "Register Ingress",
39 "script": "ingress-dns.sh",
40 "arguments": ["build"]
41 },
42 {
33 "name": "Genesis", 43 "name": "Genesis",
34 "script": "genesis.sh", 44 "script": "genesis.sh",
35 "on_error": "collect_genesis_info.sh" 45 "on_error": "collect_genesis_info.sh"
36 } 46 }
37 ], 47 ],
38 "vm": { 48 "vm": {
49 "build": {
50 "memory": 2048,
51 "vcpus": 2,
52 "mac": "52:54:00:00:be:31",
53 "ip": "172.24.1.9",
54 "bootstrap": true,
55 "userdata": "packages: [docker.io]"
56 },
39 "n0" : { 57 "n0" : {
40 "memory": 16384, 58 "memory": 16384,
41 "vcpus": 8, 59 "vcpus": 8,
diff --git a/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis_slim.json b/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis_slim.json
deleted file mode 100644
index c236984..0000000
--- a/tools/multi_nodes_gate/airship_gate/manifests/multinode_genesis_slim.json
+++ /dev/null
@@ -1,68 +0,0 @@
1{
2 "configuration": {
3 "site": "gate-multinode",
4 "primary_repo": "deployment_files",
5 "aux_repos": []
6 },
7 "stages": [
8 {
9 "name": "Gate Setup",
10 "script": "gate-setup.sh"
11 },
12 {
13 "name": "Pegleg Collection",
14 "script": "pegleg-collect.sh"
15 },
16 {
17 "name": "Populate Image Cache",
18 "script": "registry-load.sh"
19 },
20 {
21 "name": "Generate Certificates",
22 "script": "generate-certificates.sh"
23 },
24 {
25 "name": "Build Scripts",
26 "script": "build-scripts.sh"
27 },
28 {
29 "name": "Create VMs",
30 "script": "create-vms.sh"
31 },
32 {
33 "name": "Genesis",
34 "script": "genesis.sh",
35 "on_error": "collect_genesis_info.sh"
36 }
37 ],
38 "vm": {
39 "n0" : {
40 "memory": 18432,
41 "vcpus": 8,
42 "mac": "52:54:00:00:a4:31",
43 "ip": "172.24.1.10",
44 "bootstrap": true
45 },
46 "n1" : {
47 "memory": 2816,
48 "vcpus": 2,
49 "mac": "52:54:00:00:a3:31",
50 "ip": "172.24.1.11",
51 "bootstrap": false
52 },
53 "n2" : {
54 "memory": 2816,
55 "vcpus": 2,
56 "mac": "52:54:00:1a:95:0d",
57 "ip": "172.24.1.12",
58 "bootstrap": false
59 },
60 "n3" : {
61 "memory": 2816,
62 "vcpus": 2,
63 "mac": "52:54:00:31:c2:36",
64 "ip": "172.24.1.13",
65 "bootstrap": false
66 }
67 }
68}