602 Commits

Author SHA1 Message Date
Mark Goddard
73fed6d2a3
Add an issue template. 2017-12-14 20:39:55 +00:00
Mark Goddard
269d216f5f
Merge pull request #95 from markgoddard/compute-node-management
Improve bare metal compute node management
2017-12-13 13:13:02 +00:00
Mark Goddard
5869f9b17f
Add more detail on baremetal compute state transitions 2017-12-13 12:59:42 +00:00
Mark Goddard
a2cbe94b76 Improve bare metal compute node management
Adds these new commands:

kayobe baremetal compute inspect
kayobe baremetal compute manage
kayobe baremetal compute provide

These can be used to set the provision state of ironic nodes in the
baremetal-compute group.
2017-12-13 11:30:26 +00:00
Mark Goddard
c02524d753
Merge pull request #94 from markgoddard/add-docker-to-ka-test
Add docker registry config to kolla-ansible role test
2017-12-08 09:24:06 +00:00
Mark Goddard
94f37ea66f
Merge pull request #86 from ktibi/add_collectd
add collectd regex
2017-12-08 09:03:47 +00:00
Kevin TIBI
1f3032233b add collectd regex 2017-12-08 09:52:16 +01:00
Mark Goddard
4b7f3c2344 Add docker registry config to kolla-ansible role test 2017-12-08 08:40:52 +00:00
Mark Goddard
dc9b511192
Merge pull request #93 from markgoddard/kolla-ansible-tests
Add 'unit' tests for kolla-ansible role
2017-12-07 12:30:16 +00:00
Mark Goddard
76309988ff Initial unit testing of ansible - kolla-ansible role
Adds a new tox environment, ansible, which runs ansible unit tests. One
such test has been implemented so far, for the kolla-ansible role.
2017-12-07 11:26:50 +00:00
Mark Goddard
91c341ad3e Add missing defaults for kolla-ansible docker configuration 2017-12-07 11:00:46 +00:00
Mark Goddard
6aef98b142 Add a variable to kolla-ansible role for path to passwords.yml
This is the input file kept in $KAYOBE_CONFIG_PATH, rather than the generated
file in .
2017-12-07 11:00:46 +00:00
Mark Goddard
10212674ac Use ansible_user_id rather than ansible_user
The former is a fact, the latter is used to configure the remote connection user
for a host.
2017-12-07 11:00:46 +00:00
Mark Goddard
817df37bf9 Don't quote a boolean value in globals.yml 2017-12-07 11:00:46 +00:00
Mark Goddard
84e8ba948b Allow controllers and seed groups to be non-existent in kolla-ansible role 2017-12-07 11:00:46 +00:00
Mark Goddard
c818758260 Remove support for colocated kolla & kolla-ansible
Kolla-ansible python code was moved to the kolla-ansible repo in ocata.
2017-12-07 11:00:46 +00:00
Mark Goddard
3381d4237e
Merge pull request #92 from stackhpc/check-ipa-once
Only check presence of locally built IPA image on first controller
2017-12-05 17:20:36 +00:00
Mark Goddard
50a8e72a23
Only check presence of locally built IPA image on first controller
The image is only built on the first controller, so will not be present on other controllers.
2017-12-05 17:08:12 +00:00
Mark Goddard
c370b54a41
Merge pull request #88 from markgoddard/multiple-external-nets
Support multiple external networks
2017-12-05 14:08:21 +00:00
Mark Goddard
e05b762db9
Merge pull request #85 from yankcrime/vagrant_fixes
[Vagrant] Support for VMware Fusion, fixes for container image builds
2017-12-05 13:37:49 +00:00
Mark Goddard
7c9378d0bc
Merge pull request #89 from autonomouse/add_ironicclient
Added python-ironicclient
2017-12-04 16:30:30 +00:00
Mark Goddard
4f7a6ddde9
Add blank line after pip install task 2017-12-04 16:29:35 +00:00
Darren Hoyland
2bd0926604 Added python-ironicclient (would be better going in the os-openstackclient role, but that's on galaxy 2017-12-04 16:26:04 +00:00
Mark Goddard
bb22c94067 Use largest MTU of interfaces when determining OVS veth MTU
We create a veth pair to link the Linux bridge to the neutron Open vSwitch
bridge.  The MTU of the veth needs to be the largest MTU of the networks that
it will carry.  When VLAN subinterfaces are used, the provisioning network may
map to the same bridge as one of the external networks, and we must use the
largest MTU of these networks.
2017-12-01 11:21:00 +00:00
Mark Goddard
1eff7466c6 Sync sample inspector.yml config with group_vars 2017-12-01 11:21:00 +00:00
Mark Goddard
5b0a90baa4 Support multiple external networks 2017-12-01 11:21:00 +00:00
Mark Goddard
3608993e36 Fix support for provisioning and external networks on different physical networks
A list of external network interfaces is generated and provided to kolla-ansible. When
the list is greater than one item, the generated list is incorrect, containing OVS
bridge names instead of external interface names. This change fixes that.
2017-12-01 11:21:00 +00:00
Mark Goddard
dbb298707a Remove config-mgmt group, instead use localhost
There are places where we assume the control host is localhost, so this group is of
little use.
2017-12-01 11:21:00 +00:00
Mark Goddard
ef3c1c069f
Merge pull request #87 from markgoddard/destroy-extra-containers
Use a separate task to destroy node exporter, opensm and docker registry containers
2017-11-30 13:11:29 +00:00
Mark Goddard
91f01ff8af Use a separate task to destroy node exporter, opensm and docker registry containers 2017-11-29 11:41:21 +00:00
Nick Jones
b8cb373c61
Refactor Vagrantfile to support VMware 2017-11-29 11:30:25 +00:00
Nick Jones
7ef01d1ed5
Add container-image-builders group
Update development environment inventory to include an entry which
enables container image building.
2017-11-28 15:32:49 +00:00
Nick Jones
4123550db2
Ignore contents of .vagrant 2017-11-28 15:32:49 +00:00
Mark Goddard
12fc3f86e1
Merge pull request #83 from markgoddard/kolla-ansible-config-docs
Add documentation on custom kolla-ansible configuration
2017-11-28 11:07:46 +00:00
Mark Goddard
493b2a1295 Add documentation on custom kolla-ansible configuration 2017-11-27 11:26:00 +00:00
Mark Goddard
610c8a9566 Update documentation for container-image-builders group 2017-11-24 17:27:43 +00:00
Mark Goddard
5f6c181c69
Merge pull request #81 from markgoddard/container-image-builders
Improve container image build workflow
2017-11-24 15:37:43 +00:00
Mark Goddard
7f767b1b4e Convert variable to bool in group_by
We use the group_by module to create groups based on host variables.
When the variable is a boolean, we should convert it to a bool using the
bool filter, to ensure that the group name has a consistent format.
2017-11-24 15:34:54 +00:00
Mark Goddard
c57faedcd8
Merge pull request #82 from markgoddard/etc-hosts-workaround-loopback
Extend /etc/hosts fixup playbook for the loopback IP
2017-11-22 17:54:22 +00:00
Mark Goddard
92d70e70eb Extend /etc/hosts fixup playbook for the loopback IP
On Vagrant in particular, we get an entry for 127.0.0.1 for the server's hostname.
This will cause rabbitmq checks to fail, blocking upgrades.
2017-11-22 17:01:30 +00:00
Mark Goddard
6a6186f64f Add enable flag and image regex for manila 2017-11-22 09:43:04 +00:00
Mark Goddard
ae4a818007
Merge pull request #78 from markgoddard/veth-mtu
Add support for setting MTU on veth interfaces
2017-11-21 18:14:12 +00:00
Mark Goddard
def2e587e5 Add missing variables for seed VM data volume config to seed-vm.yml 2017-11-21 17:51:07 +00:00
Mark Goddard
6c4f179b6e Add support for free-form configuration of kolla-build.conf
Provide extra configuration of kolla-build.conf via
$KAYOBE_CONFIG_PATH/kolla/kolla-build.conf.
2017-11-21 17:51:07 +00:00
Mark Goddard
d130b8a62c Make more container image builds conditional
Also adds support for building the etcd image.
2017-11-21 17:51:07 +00:00
Mark Goddard
713da0730f Don't specify a docker registry when kolla_docker_registry is defined but None
This is the default.
2017-11-21 17:51:07 +00:00
Mark Goddard
19614e9491 Add an ansible group for container image builders
Hosts in this group are used to build container images for both the seed and
overcloud hosts.

We also rename various overcloud image related variables from controller* to
overcloud*.
2017-11-21 17:50:32 +00:00
Mark Goddard
0daf298502
Merge pull request #80 from stackhpc/fix-image-build-regex
Fix image build regex
2017-11-21 15:43:29 +00:00
John Garbutt
63cf1abf9f Fix image build regex
Turns out kolla_docker_registry is always defined, but is sometimes an
empty string or None. It defaults to None.

Before this change we always sent "--registry" but the kolla build CLI
would pick up our regex as the parameter associated with "--registry" so
we would get a strange image tag, and still build all the images.
2017-11-21 15:33:44 +00:00
John Garbutt
a98b25452e
Merge pull request #79 from JohnGarbutt/add-manila-dir
Add manila extra config path
2017-11-21 11:28:46 +00:00