Dan Prince [Tue, 28 Oct 2014 22:00:40 +0000 (18:00 -0400)]
Controller: Split out software config
This is a step towards supporting pluggable software configurations
in the heat templates. By moving controller-config out of controller.yaml
we make it possible to define alternate implementations by
changing the OS::TripleO::ControllerConfig value in the
overcloud-resource-registry.yaml heat environment file.
Change-Id: I228216a0b55ff2d384b281d9ad2a61b93d58dab9
Dan Prince [Wed, 22 Oct 2014 18:22:44 +0000 (14:22 -0400)]
Puppet: overcloud compute config
This patch provides an alternate implementation of
the OS::TripleO::Compute::SoftwareConfig which uses Puppet
to drive the configuration. Using this it is possible
to create a fully functional overcloud compute instance
which has the compute node configured via Puppet
stackforge modules. This includes all the Nova, Neutron,
and Ceilometer configuration required to make things work.
In order to test this you'll want to build your images
with these elements:
os-net-config
heat-config-puppet
puppet-modules
hiera
None of the OpenStack specific TripleO elements
should be used with this approach (the nova/neutron/ceilometer
elements were NOT used to build the compute image).
Also, rather than use neutron-openvswitch-agent to configure
low level networking it is recommended that os-net-config
by configured directly via heat modeling rather than
parameter passing to init-neutron-ovs. This allows us to
configure the physical network while avoiding the coupling to
the neutron-openvswitch-element that our standard
parameter driven networking currently uses. (We still need
to move init-neutron-ovs so that it isn't coupled and/or deprecate
its use entirely because the heat drive stuff is more flexible.)
Packages may optionally be pre-installed via DIB using the
-p option (-p openstack-neutron,openstack-nova).
Change-Id: Ic36be25d70f0a94ca07ffda6e0005669b81c1ac7
Jenkins [Tue, 23 Dec 2014 17:30:45 +0000 (17:30 +0000)]
Merge "Don't store Neutron DB credentials on compute node"
Jenkins [Tue, 23 Dec 2014 17:30:28 +0000 (17:30 +0000)]
Merge "Don't store Nova DB credentials on compute nodes"
Dan Prince [Thu, 23 Oct 2014 19:17:49 +0000 (15:17 -0400)]
Compute: drive NW configuration via software conf
This example extends the compute software configuration
so that heat metadata is used to model the os-net-config
YAML (ultimately JSON) directly. The existing
os-net-config element already supports this format.
Configuring the physical network layer in this manner
would supplant the ever growing list of Heat parameters
that we have and is something that could be automatically
generated via tuskar.
The default is to use net-config-noop.yaml which
will pass no config metadata into the os-net-config
element which will essentially disable it in favor
of using parameters w/ init-neutron-ovs.
Change-Id: I30f325b1751caaef5624537e63ee27c2e418d5c8
Jenkins [Fri, 19 Dec 2014 14:01:22 +0000 (14:01 +0000)]
Merge "Set default network interfaces to nic1"
Giulio Fidente [Wed, 17 Dec 2014 18:06:28 +0000 (19:06 +0100)]
Set more aggressive keepalive timings
We want to customize the default kernel keepalive timings and
make them more aggressive to workaround lack of hearbeat support
in the Oslo RabbitMQ client, see:
https://bugs.launchpad.net/oslo.messaging/+bug/856764/comments/19
and
https://bugs.launchpad.net/oslo.messaging/+bug/856764/comments/70
Change-Id: Ieac08f595086acb8dd336e33efc705ee0b8a3a87
Closes-Bug:
1301431
Closes-Bug:
1385240
Closes-Bug:
1385234
Jenkins [Tue, 9 Dec 2014 21:34:15 +0000 (21:34 +0000)]
Merge "Remove default flavor from every template"
Jenkins [Tue, 9 Dec 2014 17:51:11 +0000 (17:51 +0000)]
Merge "bump up the number of sesson limit for rabbitmq"
Dan Prince [Tue, 25 Nov 2014 20:14:03 +0000 (15:14 -0500)]
Don't store Neutron DB credentials on compute node
This patch removes all references to the Neutron DSN parameter
in the overcloud compute templates. These credentials
are not required in order to run the required Neutron
services.
Change-Id: I0691f43bd2ce85bec0d68ab979136414f0610c61
Dan Prince [Tue, 25 Nov 2014 20:02:00 +0000 (15:02 -0500)]
Don't store Nova DB credentials on compute nodes
Remove NovaDSN from overcloud compute.
When using the Conductor the Nova compute service
does not need access to the database. This patch
removes all references to the Nova DSN in the overcloud
compute templates.
Change-Id: If75f480489b84002dd061c183dbee3572a8b63f1
Dan Prince [Sat, 6 Dec 2014 02:07:32 +0000 (21:07 -0500)]
Remove missing cinder-storage Neutron* parameters
In I00af10e07feed6c9c97ee6cad545dbff88cd6afc we removed the
Neutron* parameters from cinder-storage.yaml but we forgot to
also remove them from overcloud-without-mergepy.yaml.
Change-Id: I09f2eb278fa0eba1dff80884f12b6f682c7b0484
Dan Prince [Fri, 5 Dec 2014 18:42:34 +0000 (13:42 -0500)]
Add missing novncproxy settings to controller
This patch adds the missing HAProxy novncproxy parameters to
controller.yaml
These parameters were adding to overcloud-source.yaml
in I0c6a3d6a8fd10da71abbf568633b28bdb5e56aa2.
Change-Id: Icff2f17a301e5e95fa43549ec1566c0c0d5b5353
Dan Prince [Fri, 5 Dec 2014 18:33:47 +0000 (13:33 -0500)]
Add missing HAProxy settings to controller
This patch adds the missing parameters to controller.yaml
These parameters were adding to overcloud-source.yaml
in I1581c091b996422fb1374ea4c024d0a88453e10b.
Change-Id: I3e4e0e1feb521dded2679fed508fa97e8dd27661
Dan Prince [Fri, 5 Dec 2014 16:13:18 +0000 (11:13 -0500)]
Add missing Neutron DVR params to without-mergepy
This patch adds the missing parameters to
overcloud-without-mergepy.yaml.
These parameters were adding to overcloud-source.yaml
in I422c65e7d941593083d52ad7fdf0dfd1d2fb3155. Due to
the concurrent review window they never made it
into the new overcloud-without-mergepy.yaml
implementation.
Change-Id: If54dc111aec852f906c9e7ac1bf56f9dcaf678ea
Dan Prince [Fri, 5 Dec 2014 15:44:29 +0000 (10:44 -0500)]
Remove duplicate Neutron params in overcloud
In I422c65e7d941593083d52ad7fdf0dfd1d2fb3155
(Enable Neutron DVR support in TripleO installation)
we added duplicate parameters for NeutronPublicInterfaceRawDevice
and NeutronNetworkType.
In preparation for syncing with overcloud-without-mergepy.yaml
lets remove these dups.
Change-Id: Ib4888bc91f30aeb3aba590b69e4919a93f577143
Dan Prince [Fri, 5 Dec 2014 15:13:36 +0000 (10:13 -0500)]
Add missing Keystone params to without-mergepy
This patch adds the missing KeystoneSSLCertificate and
KeystoneSSLCertificateKey to overcloud-without-mergepy.yaml.
These parameters were adding to overcloud-source.yaml
in Icf46132230512a31b6dec3c07164c95b13dd8f73. Due to
the concurrent review window they never made it
into the new overcloud-without-mergepy.yaml
implementation.
Change-Id: I8b1155ca0a28392e5d5ade57d53bf810d8b5f053
Dan Prince [Fri, 5 Dec 2014 15:00:13 +0000 (10:00 -0500)]
Add missing Rabbit params to without-mergepy
This patch adds the missing RabbitClientUseSSL and
RabbitClientPort to overcloud-without-mergepy.yaml.
These parameters were adding to overcloud-source.yaml
in I7b7613cb60b9095ba5665c335c496fea4514391a. Due to
the concurrent review window they never made it
into the new overcloud-without-mergepy.yaml
implementation.
Change-Id: I182671b84d0a21d7018eb136003968f101384716
Dan Prince [Tue, 25 Nov 2014 20:23:22 +0000 (15:23 -0500)]
Set default network interfaces to nic1
Now that we are using os-net-config we can make use of
the nic naming abstraction layer where the actual physical
nic name is mapped automatically.
This change removes all the eth0 references and replaces
them with nic1 which should make it more likely
that these default values would actually work on
some distributions.
It also removes the single instance of eth2 in the
undercloud-bm-nova-deploy.yaml template and replaces
it with nic1 as well. Underclouds aren't a special case
in this regard (I run my bare metal undercloud on em1)
so there is no good reason to default to the second nic.
Change-Id: I3ea92a502bc4b8789f74913f232ac8bc6b843008
Jenkins [Fri, 5 Dec 2014 18:51:25 +0000 (18:51 +0000)]
Merge "Remove LiveUpdate params"
Giulio Fidente [Thu, 4 Dec 2014 17:38:17 +0000 (18:38 +0100)]
Align the cinder-storage.yaml template with block-storage.yaml
Change-Id: I00af10e07feed6c9c97ee6cad545dbff88cd6afc
Dan Prince [Mon, 1 Dec 2014 15:05:44 +0000 (10:05 -0500)]
Remove LiveUpdate params
The params were added in I2997d23c584055c40034827e9beb58e6542ea11c
as a means to pass undercloud image data to overcloud instances
so they could perform an update via takeovernode). We've
never actually made use of them via takeovernode... furthermore
these params are a bit stale in that they haven't been applied
to other instance types (storage, etc.).
I propose we remove them entirely and start with a fresh plan for
how these would get used (perhaps a blueprint). As is these don't
appear to have ever been fully wired up to do anything removing
them should have no effect on end users.
Change-Id: I96f91fb0d67e7fe203d3767c8ab89ce82adbe331
Jerry Zhao [Tue, 25 Nov 2014 17:02:13 +0000 (09:02 -0800)]
bump up the number of sesson limit for rabbitmq
the default maxconn is only 150, which maybe good for api services
but not enough for the rabbitmq session in a cluster as small as 15
nodes. so bump up the number to 1500 for rabbitmq to allow for 100
nodes. this number should be calculated based on the scale numbers
in the long run.
Closes-bug: #
1386406
Change-Id: Ieb707b31022a6fc9ade32ed2a332b67bf4dc0311
Steve Kowalik [Thu, 27 Nov 2014 02:01:54 +0000 (13:01 +1100)]
Remove default flavor from every template
With the push to using the new setup-flavors provided by
os-cloud-config, the default flavor will no longer be called
'baremetal', and Heat will always validate the default even if it
is overridden. To that end, remove the default flavor from every
flavor definition. Just to be certain, also add a custom_constraint
to every flavor definition that was missing it.
Change-Id: I24251e73be4e86738857f73b89499f592c4908de
Jenkins [Wed, 26 Nov 2014 08:35:04 +0000 (08:35 +0000)]
Merge "Don't replace OS::Neutron::Port on update of undercloud"
Jerry Zhao [Mon, 24 Nov 2014 21:18:52 +0000 (13:18 -0800)]
Fix empty local_ip in ml2_conf.ini on undercloud
empty local_ip in ml2_conf.ini would make neutron-openvswitch-agent
fail to start, then fail to bridge dhcp to br-ctlplane and pxe boot an
overcloud, so provide the value in undercloud-source.yaml.
Related-Bug: #
1394956
Change-Id: If3a94b9c2b971ceb7601f91a2db64989960fb5d3
Jenkins [Wed, 19 Nov 2014 20:25:17 +0000 (20:25 +0000)]
Merge "Split out Nova software config"
Jenkins [Tue, 18 Nov 2014 10:48:06 +0000 (10:48 +0000)]
Merge "Add swift.mount-check metadata"
Dan Prince [Wed, 15 Oct 2014 15:18:42 +0000 (11:18 -0400)]
Split out Nova software config
This is a step towards supporting pluggable software configurations
in the heat templates. By moving compute-config out of compute.yaml
we make it possible to define alternate implementations by
changing the OS::TripleO::Compute::SoftwareConfig value in the
overcloud-resource-registry.yaml heat environment file.
Co-Authored-By: Steve Hardy <shardy@redhat.com>
Change-Id: I250dc1a8c02626cf7d1a5d2ce92706504ec0c7de
Jenkins [Fri, 14 Nov 2014 10:10:14 +0000 (10:10 +0000)]
Merge "Use HAProxy httpchk for openstack services"
Nicholas Randon [Thu, 13 Nov 2014 09:18:34 +0000 (09:18 +0000)]
Provide a single stunnel connect_host
At present connect_host is specified by each port, individually, as
the same value. Move connect_host to be a direct child of the stunnel
element so it is only specified once.
Although previously we could theoretically specify a different
connect_host for each service, in practice they were the same and
that never would have worked.
This change means Mustache like {{#stunnel.connect_host}} will work.
Change-Id: I25c4bb09cf28a3728e959d4dd583af26a602ad90
Partial-Bug: #
1391926
Eamonn O'Toole [Wed, 22 Oct 2014 13:06:09 +0000 (14:06 +0100)]
Add swift.mount-check metadata
We've submitted a patch (https://review.openstack.org/#/c/130172/)
to set the value of mount_check to swift.mount-check if it exists,
and otherwise to set mount_check to false. By default TripleO
deployments set mount_check to false since they do not use mounted
disks to store data. However we (HP) and others are now using
TripleO to deploy Swift servers with mounted drives for data, in
which case mount_check should be set to True. This change adds
swift.mount-check data and sets it to the value of the
SwiftMountCheck parameter, which has a default value of False.
Change-Id: I36fece56bafa9fe9c4883b572687b3fc819eeae1
Jenkins [Tue, 11 Nov 2014 15:25:11 +0000 (15:25 +0000)]
Merge "Enable Neutron DVR support in TripleO installation"
James Polley [Mon, 10 Nov 2014 10:43:51 +0000 (11:43 +0100)]
Don't replace OS::Neutron::Port on update of undercloud
This change is congruent with I6dd02ae17407f8f4c81ae418e5027f4f38ae4e9b
but applies to undercloud configs rather than overcloud configs.
I've listed this as closing 138709 even though that bug didn't talk
about the undercloud as this seems like it's another instance of the
same issue seen there.
Change-Id: I3ee80043bb455460991e78525fa4310934df4697
Closes-Bug: #
1383709
Tom Cammann [Tue, 4 Nov 2014 11:11:52 +0000 (11:11 +0000)]
Use HAProxy httpchk for openstack services
Instead of the default TCP connection check use the HTTP check. This
provides a more reliable way to tell if the service is up or not, only
2xx and 3xx response codes will signal a healthy service. This check can
also be used in conjunction with check-ssl to enable checks for services
running SSL/TLS in overcloud.
Change-Id: I1581c091b996422fb1374ea4c024d0a88453e10b
Jenkins [Fri, 31 Oct 2014 15:42:22 +0000 (15:42 +0000)]
Merge "Use parameter constraints for image, key and flavor"
Jenkins [Fri, 31 Oct 2014 01:41:49 +0000 (01:41 +0000)]
Merge "Add converted version of block and object storage"
Jenkins [Thu, 30 Oct 2014 16:38:34 +0000 (16:38 +0000)]
Merge "Don't replace OS::Neutron::Port on update"
Jenkins [Thu, 30 Oct 2014 09:11:01 +0000 (09:11 +0000)]
Merge "Add SSL PKI properties for keystone"
Steve Hardy [Tue, 28 Oct 2014 19:22:18 +0000 (19:22 +0000)]
Don't replace OS::Neutron::Port on update
Due to an ununsual interface to OS::Neutron::Port resources,
it's necessary to specify replacement_policy: AUTO, or the
resource is unconditionally replaced on every stack update.
I've started discussion re possibly changing the default in
Heat, but right now, we need this or we have the bad outcome
of replacing all (!) compute and controller nodes on every
stack-update, even if the templates are unmodified.
Passing the AUTO value should be safe regardless of any
potential change of default value in Heat.
Change-Id: I6dd02ae17407f8f4c81ae418e5027f4f38ae4e9b
Closes-Bug: #
1383709
Phil Neal [Mon, 27 Oct 2014 19:30:16 +0000 (13:30 -0600)]
Add overcloud options for SSL RabbitMQ connections
Adds configuration options for Rabbit port and use_ssl settings using a shared
RabbitMQ parameter.
Change-Id: I7b7613cb60b9095ba5665c335c496fea4514391a
Jenkins [Mon, 27 Oct 2014 08:07:49 +0000 (08:07 +0000)]
Merge "Simplify the layout of haproxy net binds config"
Jenkins [Fri, 24 Oct 2014 07:40:24 +0000 (07:40 +0000)]
Merge "Add block completion signal"
Steven Hardy [Thu, 23 Oct 2014 15:42:45 +0000 (16:42 +0100)]
Use parameter constraints for image, key and flavor
If you don't have (or provide) the wrong image, KeyName,
or flavor, we fail at some later point (not always early,
depending on what's wrong).
Since Icehouse, Heat has had a "custom constraints" method
of dynamically validating parameter values, by comparing the
value provided with a list from the underlying service.
Despite the name, there's nothing "custom" about the constraints,
these ones are included in Heat by default (though they are pluggable,
which is where the name comes from..)
See the docs for more info:
http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#custom-constraint
Note, I've not considered network validation here, this could
possibly be added in a subsequent patch.
These constraints are evaluated via any of the following:
- heat template-validate -f <template>
- heat stack-preview <arguments given to create>
- heat stack-create <arguments, fails fast before creating anything>
- heat stack-update <arguments, fails fast before updating anything>
Change-Id: I3a6374ce5421575cdde893c62aa97c750a07acd8
Erik Colnick [Wed, 8 Oct 2014 13:04:07 +0000 (07:04 -0600)]
Enable Neutron DVR support in TripleO installation
This change adds the necessary elements to the overcloud-source.yaml,
nova-compute-config.yaml and nova-compute-instance.yaml to allow Neutron
Distributed Virtual Routers (DVR) to be enabled. The added elements are
set to default to values such that DVR is not enabled in keeping with
backwards compatibility.
Change-Id: I422c65e7d941593083d52ad7fdf0dfd1d2fb3155
blueprint: support-neutron-dvr
Gregory Haynes [Thu, 16 Oct 2014 21:10:43 +0000 (14:10 -0700)]
Add SSL PKI properties for keystone
To implement the SSL PKI spec we need to change the keystone ssl cert
and cert key properties to be more generalizable. We also need to
support the old properties for backwards compatibility.
Change-Id: Icf46132230512a31b6dec3c07164c95b13dd8f73
Nicholas Randon [Fri, 17 Oct 2014 13:42:10 +0000 (14:42 +0100)]
Simplify the layout of haproxy net binds config
Make the net binds simpler to maintain.
Change-Id: I7c7f2cde38a88976afe33097cdfe4a93d62a6417
Peter Belanyi [Wed, 24 Sep 2014 11:51:13 +0000 (07:51 -0400)]
Add converted version of block and object storage
This patch extends the previous 'Don't use merge.py for overcloud'
commit with the cinder-storage.yaml and swift-storage.yaml templates.
Requirements for this to deploy:
1. Block and object storage images have to be built
(overcloud-cinder-volume and overcloud-swift-storage)
2. The images have to be loaded by devtest_overcloud.sh
OVERCLOUD_CINDER_ID=$(load-image -d $TRIPLEO_ROOT/overcloud-cinder-volume.qcow2)
OVERCLOUD_SWIFT_ID=$(load-image -d $TRIPLEO_ROOT/overcloud-swift-storage.qcow2)
Change-Id: I45f9d9f051970a83e26c0fd924d7c98276958113
Alexis Lee [Mon, 13 Oct 2014 12:50:54 +0000 (13:50 +0100)]
Add block completion signal
In I973d197245ed32612bde9209479e6ae3a443fc69, the signal_transport was
set to NO_SIGNAL to prevent the resource staying CREATE_IN_PROGRESS
forever. This means that Heat reports the stack is configured before it
actually is.
The correct fix was to add completion-signal to BlockStorageConfig.
However now there's a BlockStorage0AllNodesDeployment, we simply have to
receive the signal from allNodesConfig by setting the deployment
signal-transport.
Change-Id: I1f6408ca39fddd146e7aae140f61d265bbf563ec
Tomas Sedovic [Wed, 6 Aug 2014 11:24:10 +0000 (13:24 +0200)]
Compute and controller templates without merge.py
This provides three templates: overcloud-without-mergepy.yaml,
compute.yaml and controller.yaml. These can be used in combination with
overcloud-resource-registry.yaml to deploy the overcloud on their own --
without having to do any pre-processing (via merge.py).
To test these you have to add the resource registry environment (in
addition to the existing `-e` option) and use the new overcloud template
in the Heat call in devtest_overcloud.sh (line 374):
heat $HEAT_OP -e $TRIPLEO_ROOT/overcloud-env.json \
-e "$TRIPLEO_ROOT/tripleo-heat-templates/overcloud-resource-registry.yaml" \
-t 360 \
-f $TRIPLEO_ROOT/tripleo-heat-templates/overcloud-without-mergepy.yaml \
-P "ExtraConfig=${OVERCLOUD_EXTRA_CONFIG}" \
$STACKNAME
The existing overcloud Heat environment
($TRIPLE_ROOT/overcloud-env.json) should keep on working. Scaling is
now being controlled by the `ControllerCount` and `ComputeCount`
template parameters, though.
NOTE: the changes here depend on a fairly recent Heat build (commit
e5f285f6cb from ~7th September, 2014). In other words, this requires
Juno Heat.
Also, passing more than one environment file to Heat requires
python-heatclient version 0.2.11.
Change-Id: I687a00c7dc164ba044f9f2dfca96a02401427855
Jenkins [Mon, 20 Oct 2014 10:07:19 +0000 (10:07 +0000)]
Merge "Passthrough{Specific} and allNodesConfig for BlockStorage nodes"
Giulio Fidente [Tue, 5 Aug 2014 16:44:33 +0000 (18:44 +0200)]
Passthrough{Specific} and allNodesConfig for BlockStorage nodes
Purpose of this change is to allow passthrough of *specific values*
for *same key* in particular to BlockStorage nodes. Same
behaviour is already implemented for controllers and computes.
Change-Id: I7074a8f7d406adaa56e55013b10bd520fcacfcf6
Jenkins [Thu, 16 Oct 2014 15:42:43 +0000 (15:42 +0000)]
Merge "Refactor Heat dependencies for nova compute"
Jenkins [Wed, 15 Oct 2014 22:17:27 +0000 (22:17 +0000)]
Merge "Configures haproxy to serve novnc_proxy"
Jenkins [Wed, 15 Oct 2014 22:01:55 +0000 (22:01 +0000)]
Merge "Secure the MySQL bind-address on the undercloud"
Tom Cammann [Thu, 18 Sep 2014 10:28:08 +0000 (11:28 +0100)]
Refactor Heat dependencies for nova compute
Allows heat to have more control of the parallelism of the deploy
and allow easy integration of the new heat dependencies required for
nova compute integration. At present is difficult understand and has
unnecessary complex dependencies.
Change-Id: Ie566b8b14cbd98fe29cc2368a96d45cc74ca4715
Co-Authored-By: Nicholas Randon <nicholas.randon@hp.com>
Alexis Lee [Wed, 8 Oct 2014 14:17:29 +0000 (15:17 +0100)]
Sort inputs and parameters
They're mostly rather higgledy-piggledy at the moment which makes it
quite difficult to compare against files where these are sorted. EG
compute.yaml from I687a00c7dc164ba044f9f2dfca96a02401427855.
Change-Id: I508a3d0f6a79810d2100fdd1ad143bcd37bf8c00
Jenkins [Tue, 7 Oct 2014 20:50:59 +0000 (20:50 +0000)]
Merge "Add SwiftMinPartHours parameter"
Therese McHale [Tue, 7 Oct 2014 12:57:51 +0000 (13:57 +0100)]
Secure the MySQL bind-address on the undercloud
The MySQL bind-address on the undercloud should be set to
localhost for security.
Change-Id: I0ea485fa6673c06087f5c5baedf591fba54288a4
Loganathan Parthipan [Wed, 1 Oct 2014 11:53:23 +0000 (12:53 +0100)]
Configures haproxy to serve novnc_proxy
This patch configures haproxy to serve novnc_proxy which currently
listens on 0.0.0.0. So before this patch goes in novnc needs to be
listening on local-ipv4 like the rest of the services. The following
patch does that in image-elements.
https://review.openstack.org/#/c/125326/
Change-Id: I0c6a3d6a8fd10da71abbf568633b28bdb5e56aa2
Jenkins [Tue, 30 Sep 2014 11:53:51 +0000 (11:53 +0000)]
Merge "Remove unnecessary completion signal"
Lorcan [Fri, 12 Sep 2014 12:40:24 +0000 (13:40 +0100)]
Add SwiftMinPartHours parameter
This parameter adds the facility for an operator to set the length
of time in hours that a partition in a swift ring can be altered
following a rebalance of that ring. The default value is set to one.
The corresponding element change is here:
Ie6438386a54794e1ae2f31ad925db01c2c10ed6d
Change-Id: Icc5e431a7e2884b3ca3a255b6fd901619bc98460
Jenkins [Fri, 26 Sep 2014 12:23:12 +0000 (12:23 +0000)]
Merge "undercloud: use Nova compute Ironic driver"
Dan Prince [Fri, 19 Sep 2014 14:44:32 +0000 (10:44 -0400)]
undercloud: use Nova compute Ironic driver
Updates the NovaComputeDriver and NovaSchedulerHostManager
defaults so that we use the Nova in-tree versions of
the Ironic compute and scheduler host managers.
The old Ironic in-tree drivers are now deprecated.
Change-Id: I91667a3e7861591285c931006c448cc304649349
Dan Prince [Fri, 19 Sep 2014 14:27:52 +0000 (10:27 -0400)]
Drop CinderLVMLoopDeviceSize from the undercloud
This parameter is unused so lets drop it.
Change-Id: Ie0bec06b14b6b284716604281d29fea065c2a03b
Tom Cammann [Thu, 18 Sep 2014 09:54:37 +0000 (10:54 +0100)]
Remove unnecessary completion signal
There is a spurious completion signal in nova compute config which is
confusing and unnecessary.
Change-Id: I302470933c80443a1069faa03cc924f14ba71ca3
Co-Author: Nicholas Randon
Jenkins [Thu, 18 Sep 2014 06:41:08 +0000 (06:41 +0000)]
Merge "Deprecate Role and ImageBuilder metadata handling"
Jenkins [Tue, 16 Sep 2014 09:15:26 +0000 (09:15 +0000)]
Merge "Parametrize Swift partition power"
Jenkins [Mon, 15 Sep 2014 19:18:08 +0000 (19:18 +0000)]
Merge "Parameterize network type and tunnel types"
James Slagle [Tue, 5 Aug 2014 00:04:18 +0000 (20:04 -0400)]
Parameterize network type and tunnel types
Remove the hardcoding of gre as the Neutron tenant network type for the
Overcloud. This will enable the ability to deploy an Overcloud that uses
vxlan instead of gre tunnels. A new parameter, NeutronTunnelTypes, is
added to allow configuring the tunnel_types parameter in the Neutron ML2
configuration.
This change is required by https://review.openstack.org/#/c/92913
Change-Id: I2c2e2153a61349e58ada28c87aa2338c9f00e7bd
Steve Baker [Sat, 13 Sep 2014 22:05:43 +0000 (10:05 +1200)]
Use the server name attribute
The 'show' attribute results in a nova API call, which has
performance overhead even with attribute memoization.
The name attribute was added to expose the name without needing
an API call, since the resource already knows the name. This
change switches from using 'show' to 'name' throughout.
Change-Id: I1e83dd008cd02e5cec97868db0d5a695f07b7199
Jenkins [Fri, 12 Sep 2014 09:18:47 +0000 (09:18 +0000)]
Merge "Fix spelling of controller0_VLANPort"
Jenkins [Wed, 10 Sep 2014 12:01:42 +0000 (12:01 +0000)]
Merge "Add specific pass-through config for each role"
Tomas Sedovic [Wed, 25 Jun 2014 13:03:16 +0000 (15:03 +0200)]
Deprecate Role and ImageBuilder metadata handling
Our templates and elements no longer depend on `OpenStack::Role` or
`OpenStack::ImageBuilder::Elements` metadata. Using either now prints out a
deprecation warning.
Change-Id: I91e79b00bacca8caf13d4b6fa83d90e9c20b241c
Jenkins [Mon, 8 Sep 2014 15:17:24 +0000 (15:17 +0000)]
Merge "Update overcloud examples for ExtraConfig"
Dan Prince [Fri, 5 Sep 2014 20:30:00 +0000 (16:30 -0400)]
Update overcloud examples for ExtraConfig
The existing examples for the overcloud ExtraConfig options
use an ironic setting that would likely never apply (Ironic
isn't for the overcloud).
This patch modifies the default section setting to use
the Nova force_config_drive option instead as a
config example.
Change-Id: Ieb893552fe9466b90b9d9a831a676d114efb6db1
Dan Prince [Fri, 5 Sep 2014 19:39:35 +0000 (14:39 -0500)]
Undercloud params for compute driver and manager
Add undercloud template parameters for NovaComputeDriver,
NovaComputeManager, and NovaSchedulerHostManager.
The motivation here is to be able to test configure Nova to use
the new (in-tree) Ironic compute driver (which used to live
in Ironic).
NOTE: The initial Nova in-tree Ironic driver won't have its
own ClusteredComputeManager (compute_manager). Even so I've
gone ahead and added a parameter for NovaComputeManager
so we can modify this accordingly in the future without
making hard coded template changes.
Change-Id: Ib48a6b6d8a6cff157bdf3948bd0330e9b29dd46a
Eamonn O'Toole [Mon, 28 Jul 2014 15:33:06 +0000 (16:33 +0100)]
Parametrize Swift partition power
The Swift partition power is currently hard-coded to 10. While
this is fine for small Swift clusters there are some users who
will want to configure rings with higher partition powers. We
have parametrized the value of the partition power, and the
default is set to 10.
Change-Id: If115cf5cf2f4c2ff7d28b0f5ae3d2ca3f4b4be5a
James Polley [Thu, 4 Sep 2014 05:35:59 +0000 (15:35 +1000)]
Fix spelling of controller0_VLANPort
Prior to this change, using these templates fails as
controller0_VLANPort is defined, but we attempt to use
controller0VLANPort instead.
Change-Id: Ieb2eece4e7d48177acae0bef916192d8e6a4a4a3
Jenkins [Tue, 2 Sep 2014 21:53:16 +0000 (21:53 +0000)]
Merge "Make turning debug on globally easy."
Jenkins [Tue, 2 Sep 2014 20:18:37 +0000 (20:18 +0000)]
Merge "Change | to > in templates."
Jenkins [Mon, 1 Sep 2014 14:31:33 +0000 (14:31 +0000)]
Merge "Remove unused Neutron values"
Nicholas Randon [Mon, 21 Jul 2014 15:43:38 +0000 (16:43 +0100)]
Add specific pass-through config for each role
Supplement ExtraConfig with specific versions - ControllerExtraConfig and
NovaComputeExtraConfig. This allows the user to specify different
configurations for each role.
Change-Id: Ieaee80e414130504a5e40e878a5a4ca1c196ca2b
Robert Collins [Sat, 30 Aug 2014 08:51:56 +0000 (20:51 +1200)]
Change | to > in templates.
Clint pointed out that | prevents things rendering properly on
arbitrarily wide screens. For most things that makes sense but it
doesn't for the JSON examples IMO so I didn't alter those.
Change-Id: Ifb7dcc265c225b000bd5d26500212d41ea0233c8
Jenkins [Fri, 29 Aug 2014 23:13:00 +0000 (23:13 +0000)]
Merge "Expose public_interface_tag support."
James Slagle [Fri, 29 Aug 2014 19:36:23 +0000 (15:36 -0400)]
Remove unused Neutron values
These Neutron parameters are not actually needed or used on a Swift
Storage instance. neutron-openvswitch-agent does not even need to be
present on a Swift node.
Change-Id: I5d61cc1d22a719b186e6d89baaf25f119e0416d7
Robert Collins [Mon, 30 Jun 2014 04:53:25 +0000 (16:53 +1200)]
Expose public_interface_tag support.
Proper VLAN support requires adding the IP address to a new device,
rather than br-ex/br-ctlplane. This is added in the
tripleo-image-elements change https://review.openstack.org/103449
(I3f77f72ac623792e844dbb4d501b6ab269141f8e) and here we just expose
it with appropriate glue to get the IP address from Neutron.
With this we can now describe a VLAN public interface scenario
to the undercloud and overcloud control planes.
Change-Id: I4d2194fc813aebb0708d6fddf4f05bae5f091fd8
Robert Collins [Fri, 8 Aug 2014 07:26:04 +0000 (19:26 +1200)]
Make turning debug on globally easy.
We can obviously use passthrough for this, but I rather suspect that
OMFG something is broken get me debug will be a common phrase.
Change-Id: I62539630a4737bbbe6883ed71929f38c819ceed4
Jenkins [Tue, 26 Aug 2014 11:35:34 +0000 (11:35 +0000)]
Merge "Make Swift replica count configurable."
Jenkins [Tue, 26 Aug 2014 10:57:50 +0000 (10:57 +0000)]
Merge "Permit specifying VLAN mappings to overclouds."
Jenkins [Mon, 25 Aug 2014 20:18:57 +0000 (20:18 +0000)]
Merge "Fixup network configuration for ext-net"
Kiall Mac Innes [Thu, 21 Aug 2014 18:36:22 +0000 (19:36 +0100)]
MySQL connections via HAProxy should not timeout
With the default 60 second timeout, many services will periodically
log "MySQL has gone away" as HAProxy has closed the connection.
Change-Id: Ied67344fbabcd77def4483be37a4706190ab28a0
Jenkins [Mon, 25 Aug 2014 04:23:32 +0000 (04:23 +0000)]
Merge "Set vnc to use controller virtual_ip"
Jenkins [Mon, 25 Aug 2014 04:18:47 +0000 (04:18 +0000)]
Merge "Make signal_transport a parameter"
Ryan Moore [Fri, 20 Jun 2014 14:23:27 +0000 (15:23 +0100)]
Set vnc to use controller virtual_ip
The address for the vnc proxy is incorrectly configured in the nova
configuration file.
The correct IP address is the Public Virtual IP address of the
controller node as created by:
I9649ee74ebaf62b6b929b28243a07c789a08867c
The nova image_element nova.conf already has:
novncproxy_base_url=http://{{nova.public_ip}}:6080/vnc_auto.html
but nothing was setting nova.public_ip - until now
Closes-Bug: #
1332554
Change-Id: I41214834511680170393dd4325b510f549373141
Jenkins [Wed, 20 Aug 2014 21:35:48 +0000 (21:35 +0000)]
Merge "Remove hardcoded version."
Robert Collins [Wed, 20 Aug 2014 01:04:17 +0000 (13:04 +1200)]
Remove hardcoded version.
We use semantic versioning, not pbr's pre-version facility. This
line causes local package builds to have the wrong version, and
pbr will in future detect this and error.
Change-Id: Ia625d31e87d137e867badcdeac1f33630257bb8c
Jenkins [Tue, 19 Aug 2014 13:17:50 +0000 (13:17 +0000)]
Merge "Set the MySQL root password"
Clint Byrum [Tue, 12 Aug 2014 00:13:22 +0000 (17:13 -0700)]
Make signal_transport a parameter
There may be times where an update needs to change this without changing
the template, such as when updates will be done by something other than
Heat (i.e. Ansible).
Change-Id: I89d1153acab697b64468f841b3f2d17c169da649
Jenkins [Mon, 18 Aug 2014 22:15:14 +0000 (22:15 +0000)]
Merge "Fix bash env var conditionals in merge.py call to be consistent"