Currently we omit the os_distro property when uploading the
cirros image to glance. Nova assumes it to need vfat disk
incase the image is Windows.
This change sets the property to "linux" causing ext4 to be
used instead.
TrivialFix
Change-Id: I3fdb71f5be7702a2dc223946fae82131c6c46154
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
When using init-runonce script multiple default
security groups are present and raise error:
More than one security_group exists with the name 'default'.
Add a check to create rules to admin's default sec group.
Change-Id: Iaf93467d70ae41fdbcd2b37d6c5639a32d939394
When run tools/init-runonce without some client installed,it's
retrun not friendly and confuse people,such as user does not
install python-openstackclient, it will return "openstack not
installed".This patch update it.
Use "type" command to avoid "which"
TrivialFix
Change-Id: I53789a767b3a2727bf2cb848c2881272e313e14c
During osic scale testing it is found that the cirros
image added during kolla deployed infra init has private
visibility. This need to be public.
TrivialFix
Change-Id: I39712f0a054f393a8450356e23d41170bc22166e
The nova team is removing the default flavors from a standard
deployment. This is great for operators, who have to delete
the defaults anyways. This patch adds the original default
flavors back during init-runonce so kolla users can be ready
to launch instances.
Closes-Bug: #1567964
Change-Id: I17daec98997a6e412a99f34d3f8a4324460d8c60
The previous method of using the API image for a data container
worked, but resulted in more data being bindmounted and copied
into the system. This patch resolves that by essentially using
a distro-type as a FROM in a Dockerfile to generate
distro-type-data. Further all of the data containers used
throughout ansible are modified to use this new data container.
Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
Partially-Implements: blueprint one-data-container
Receive several quickstart related questions every day. Make a
first pass at cleaning up our documentation to point people
in the right direction. While we are about it remove compose
related bits. Anything in the compose directory will remain as
a reference implementation for how to implement the compose
files to work well with our container content.
Change-Id: I9e832e97ac2bacca8eab7e1bfbd82664d2b191b8
Closes-Bug: #1485163
Paritally-Implements: blueprint remove-config-internal
This makes some changes to init-runonce to allow using Ansible as well as
updating it to use the openstack-client where applicable since the
keystone-client is not usable with keystone v3 api at all.
Change-Id: I6b9d6beb04df7724b1967638e98042ab03221cd1
Closes-Bug: #1477725
Keystone requires a valid LC_ALL environment variable to be set, if left
empty the following output is shown:
"""
$ tools/init-runonce
Downloading glance image.
Creating glance image.
[=============================>] 100%
<snip>
Configuring neutron.
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
unsupported locale setting
Could not find any suitable endpoint. Correct region?
<snip>
"""
A similar problem occurred in devstack
(https://bugs.launchpad.net/devstack/+bug/1249131), apply the same patch
they use to to sanitize language settings
(https://github.com/openstack-dev/devstack/blob/master/stack.sh#L27).
Closes-Bug: #1466548
Change-Id: I8e86a4466181d6dd1c1749915c1c43521af805b7
(neutron client version: 2.5.0)
The option is --dns-nameservers not --dns_namservers and the
subnet-create subcommand expects the NETWORK and CIDR to be adjacent
args.
Change-Id: I4f776632902fd001c38ee5c8c87a213883ca87be
The --router:external option is a boolean flag that doesn't take a value
(neutron client version 2.5.0). Passing True results in the following
error:
Invalid values_specs True
This patch simply removes the 'True' value.
Change-Id: If4b5305f37d50c14c767393eb21223b0e0b59494
Make a Magnum demonstration that creates a baymodel and bay. Just
run demos/magnum/launch to make it work. This depends on Neutron.
Borrow the v1beta3 redis example from the examples repository in
Kubernetes.
Change-Id: I448a5890bfe0c1675914ae7dbd02fad03f4b1eeb
Add Heat-api-cfn for wait conditions
Magnum needs wait conditions in order to operate properly. heat-api-cfn
is where wait conditions connect.
Change-Id: I56742dd96e4607dc0042d0cef4e18c922f9ed736
Implements: blueprint container-heat-api-cfn
Fix issues reported in https://review.openstack.org/#/c/177681/3, and
simplify detection of cirros images in glance.
Only add developer's SSH key to nova if ~/.ssh/id_rsa.pub exists and is
readable.
Change-Id: I5936c6db399d63902d460b0d3c959619073cc3cc