505 Commits

Author SHA1 Message Date
Alexis Lee
6f3f9ec6da 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
2014-10-08 15:40:39 +01:00
Jenkins
a35679f539 Merge "Add SwiftMinPartHours parameter" 2014-10-07 20:50:59 +00:00
Therese McHale
3ba00edb2a 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
2014-10-07 14:03:51 +01:00
Loganathan Parthipan
02140eb5b1 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
2014-10-01 12:53:23 +01:00
Jenkins
7d703cb7e7 Merge "Remove unnecessary completion signal" 2014-09-30 11:53:51 +00:00
Lorcan
24a45cb0de 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
2014-09-29 10:22:28 +01:00
Jenkins
0df4f416f9 Merge "undercloud: use Nova compute Ironic driver" 2014-09-26 12:23:12 +00:00
Dan Prince
46e724baa0 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
2014-09-19 10:44:32 -04:00
Dan Prince
53aaa6b528 Drop CinderLVMLoopDeviceSize from the undercloud
This parameter is unused so lets drop it.

Change-Id: Ie0bec06b14b6b284716604281d29fea065c2a03b
2014-09-19 10:27:52 -04:00
Tom Cammann
f33720a3cc 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
2014-09-18 10:54:37 +01:00
Jenkins
6e76648330 Merge "Deprecate Role and ImageBuilder metadata handling" 2014-09-18 06:41:08 +00:00
Jenkins
622d4cb6cf Merge "Parametrize Swift partition power" 2014-09-16 09:15:26 +00:00
Jenkins
4608c70e12 Merge "Parameterize network type and tunnel types" 2014-09-15 19:18:08 +00:00
James Slagle
eb7fe9bb9b 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
2014-09-15 08:16:48 -04:00
Steve Baker
d6e40a3fff 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
2014-09-14 10:05:43 +12:00
Jenkins
fd18617b30 Merge "Fix spelling of controller0_VLANPort" 2014-09-12 09:18:47 +00:00
Jenkins
218bd3cad5 Merge "Add specific pass-through config for each role" 2014-09-10 12:01:42 +00:00
Tomas Sedovic
9e262a51e9 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
2014-09-10 11:30:15 +02:00
Jenkins
cdfe285f79 Merge "Update overcloud examples for ExtraConfig" 2014-09-08 15:17:24 +00:00
Dan Prince
b15bdfc8cc 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
2014-09-05 16:30:00 -04:00
Dan Prince
656b8385ef 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
2014-09-05 16:18:01 -04:00
Eamonn O'Toole
b7964165b7 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
2014-09-05 11:19:22 +01:00
James Polley
033111d66a 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
2014-09-04 15:35:59 +10:00
Jenkins
a916a8b2f8 Merge "Make turning debug on globally easy." 2014-09-02 21:53:16 +00:00
Jenkins
b2e3a746d4 Merge "Change | to > in templates." 2014-09-02 20:18:37 +00:00
Jenkins
2d6e729c59 Merge "Remove unused Neutron values" 2014-09-01 14:31:33 +00:00
Nicholas Randon
8e0331271d 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
2014-09-01 15:03:36 +01:00
Robert Collins
cfb9931ce4 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
2014-08-30 20:53:54 +12:00
Jenkins
ec7abd73d7 Merge "Expose public_interface_tag support." 2014-08-29 23:13:00 +00:00
James Slagle
11e8ac8f75 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
2014-08-29 15:39:15 -04:00
Robert Collins
91e763f748 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
2014-08-28 13:34:38 -04:00
Robert Collins
3757966936 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
2014-08-28 08:23:17 +12:00
Jenkins
1c7e2c8cd7 Merge "Make Swift replica count configurable." 2014-08-26 11:35:34 +00:00
Jenkins
59e97e4ae0 Merge "Permit specifying VLAN mappings to overclouds." 2014-08-26 10:57:50 +00:00
Jenkins
006fe1febc Merge "Fixup network configuration for ext-net" 2014-08-25 20:18:57 +00:00
Kiall Mac Innes
4cc77d768c 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
2014-08-25 10:42:08 +01:00
Jenkins
316a89f0b4 Merge "Set vnc to use controller virtual_ip" 2014-08-25 04:23:32 +00:00
Jenkins
aea200427d Merge "Make signal_transport a parameter" 2014-08-25 04:18:47 +00:00
Ryan Moore
65bad0e737 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
2014-08-22 10:03:22 +01:00
Jenkins
bf5fcb4f73 Merge "Remove hardcoded version." 2014-08-20 21:35:48 +00:00
Robert Collins
97174ff005 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
2014-08-20 13:04:17 +12:00
Jenkins
b7363014fe Merge "Set the MySQL root password" 2014-08-19 13:17:50 +00:00
Clint Byrum
bf62abdc07 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
2014-08-18 16:45:29 -07:00
Jenkins
1192fb70d6 Merge "Fix bash env var conditionals in merge.py call to be consistent" 2014-08-18 22:15:14 +00:00
Jenkins
501f1b5618 Merge "Make BlockStorage deployment dependent on controller0AllNodes" 2014-08-18 19:10:17 +00:00
Jenkins
5c22cfadb8 Merge "Ensure glance.host and glance.cinder are set for BlockStorage nodes" 2014-08-18 14:54:26 +00:00
Jenkins
5dd1df9543 Merge "Rename NovaCompute resources suffix to be consistent with controller" 2014-08-18 13:09:34 +00:00
Giulio Fidente
66eb3d005b Ensure glance.host and glance.cinder are set for BlockStorage nodes
Change-Id: I03056681b795a2078a678dcb0cd29002310e5843
Related-bug: 1351110
2014-08-17 12:35:03 +02:00
Giulio Fidente
26730cbb41 Make BlockStorage deployment dependent on controller0AllNodes
As per the NovaCompute nodes, this change makes deployment of
BlockStorage nodes dependent on controller0AllNodes.

Change-Id: I4bc4d33d42463a0abadc2bfd4e48b1a4e554d396
2014-08-17 12:21:37 +02:00
Jenkins
91fd462aae Merge "Use VIP for rabbit/keystone and mysql in block-storage.yaml" 2014-08-15 20:02:03 +00:00