Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit aa59d59

Browse files
committed
README: add OpenStack configuration docs
1 parent 11e8d3d commit aa59d59

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Ideally, all software needed for a test should be included by building
5656
it into the image from the SDK.
5757

5858
Kola supports running tests on multiple platforms, currently QEMU, GCE,
59-
AWS, VMware VSphere, and Packet. In the future systemd-nspawn and other
59+
AWS, VMware VSphere, Packet, and OpenStack. In the future systemd-nspawn and other
6060
platforms may be added.
6161
Local platforms do not rely on access to the Internet as a design
6262
principle of kola, minimizing external dependencies. Any network
@@ -261,6 +261,25 @@ you can paste in. This will populate the `.boto` file.
261261
See [Google Cloud Platform's Documentation](https://cloud.google.com/storage/docs/boto-gsutil)
262262
for more information about the `.boto` file.
263263

264+
### openstack
265+
`openstack` uses `~/.config/openstack.json`. This can be configured manually:
266+
```
267+
{
268+
"default": {
269+
"auth_url": "auth url here",
270+
"tenant_id": "tenant id here",
271+
"tenant_name": "tenant name here",
272+
"username": "username here",
273+
"password": "password here",
274+
"user_domain": "domain id here",
275+
"floating_ip_pool": "floating ip pool here",
276+
"region_name": "region here"
277+
}
278+
}
279+
```
280+
281+
`user_domain` is required on some newer versions of OpenStack using Keystone V3 but is optional on older versions. `floating_ip_pool` and `region_name` can be optionally specified here to be used as a default if not specified on the command line.
282+
264283
### packet
265284
`packet` uses `~/.config/packet.json`. This can be configured manually:
266285
```

platforms.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ create images from the image file.
104104
- UserData is passed to the instances via the GCE metadata service.
105105
- Instances are tagged with `created-by:mantle` which is used when filtering instances for `GC`.
106106

107+
## OpenStack
108+
109+
- The OpenStack platform wraps [gophercloud](https://github.com/gophercloud/gophercloud).
110+
- By default SSH keys will be passed via both the OpenStack metadata AND the userdata.
111+
- UserData is passed to the instances via the OpenStack metadata service.
112+
- Instances are tagged with `CreatedBy: mantle` which is used when filtering instances for `GC`.
113+
107114
## Packet
108115

109116
- The Packet platform wraps [packngo](https://github.com/packethost/packngo).

0 commit comments

Comments
 (0)