aboutsummaryrefslogtreecommitdiffstats
path: root/nova-compute-instance.yaml
AgeCommit message (Collapse)AuthorFilesLines
2014-03-26Update templates to default to preserve ephemeralCian O'Driscoll1-1/+1
Updated heat templates to default to preserve ephemeral partition on a heat stack update. Allows undercloud and overcloud to be re-imaged/updated and state preserved. Change-Id: I6626af48d8c55672022a46fe48e5725ad2619f0c
2014-03-21Pass undercloud metadata to overcloud computeAllison Randal1-0/+28
Capture some undercloud metadata into the overcloud compute configs, so the overcloud nodes can pull updated images from the undercloud glance. Unset by default, but able to be set during stack-create or stack-update. Change-Id: I2997d23c584055c40034827e9beb58e6542ea11c
2014-03-05Merge "Make Wait Conditions depend on config creation"Jenkins1-1/+1
2014-02-26Make Wait Conditions depend on config creationClint Byrum1-1/+1
Currently our wait conditions are racing with Heat resolving configurations. There should be plenty of time but sometimes Heat may be dealing with a temporarily problematic Nova API and spinning on that. While that is happening, the in-instance tools will not have their full configuration available to them. We don't want the wait condition timeout to start until the box has had its actual config exposed to it. Change-Id: I0eab8fe7547d3cbcebb1559fd3d06206b1750e96
2014-02-25Different Flavors for Tuskar rolesLadislav Smola1-2/+2
- different Flavors for control, compute and storage nodes - for devtest use, they default to 'baremetal', so nothing changes - for Tuskar, there is a possibility to have them different for every role Change-Id: I8c1b80f55a91c7a7fd5e560ccdb8da82ec374084
2014-02-17Add username parameter for rabbitRichard Su1-0/+3
Username is currently assumed to be guest in the configuration files. This change makes it more explicit. Configuration files in tripleo-image-elements will be updated to use this parameter in an upcoming patch. Change-Id: Ia176f4d573a3a293560c72236a4181befa678301
2014-02-14Allow manual hosts entry exports in overcloud.Robert Collins1-0/+5
This makes it possible to have SSL connections to APIs from compute hosts with no DNS or external connectivity - something the ci-overcloud has. Change-Id: I089ef8fdfb4a59279f09bf3cd2a4474000e4bfa6
2014-02-12Make it possible to do physical networks for VMs.Robert Collins1-0/+10
This patch makes it possible to setup physical networks for VMs, separate to the control plane configuration which is needed for routed/natted access to physical networks. Future work is needed to automate ci-overcloud configuration of the control plane where we need two distinct bridges, but this is enough to stop folk dying of boredom setting up a sizeable ci-overcloud. Change-Id: I6ac7129f22bb797467adb0408638781d20081f19
2014-02-04Support neutron.flat-networks in overclouds.Robert Collins1-0/+5
This is needed to allow configuring the template in I9fa923b63033edb694720bfe5fc756a7c0fbfd2a. Change-Id: I65810db156cb3d93291ac56fcf96e3ed2c87e1b2
2014-01-31Prep work for a scalable control plane.Robert Collins1-1/+1
This is complete as far as it goes but it isn't enough to make running a scaled out control plane actually work. Specifically, the constructs to point at API hosts based on looking up a network address aren't suirtable for scaled out - we need to be using the virtual IP or DNS round robin or other such resilient configurations, but that is largely / entirely orthogonal to making the template be ready for scaling. Change-Id: Ib9e6db5e7d5db84e4746afdabea046d2b8702bbb
2014-01-31Update overcloud to support N compute hosts.Robert Collins1-9/+9
This uses the new merge feature earlier in this series. Exporting COMPUTESCALE before running make will build a different template. Note that since Make doesn't depend on variable values, you need to delete overcloud.yaml between building with different scales. Change-Id: If05b99ae3596bcc794e3a899ab1443aeb14ec754
2014-01-02Add Ceilometer parameters for the overcloudTomas Sedovic1-0/+22
Change-Id: I205bb2c0bb7c9b956fd3e0d6b266bdf5afb48864
2013-12-17Permit setting overcloud image update policies.Robert Collins1-0/+6
This is the first step towards preserving state on stack updates when the image id has changed. I chose REPLACE as the default value because that is the current behaviour and we can override it from the command line. Change-Id: I64eab51892922ab51a89a9f389457fd1ed979fb2
2013-11-25Wait for o-r-c on nova compute as well.Clint Byrum1-0/+11
We have seen situations where nova-compute is not ready when notcompute has run its waitcondition. That leads to errors while we fail to boot instances until there is at least one nova compute available. We also update nova-compute-instance.yaml so that it continues to work stand-alone. Change-Id: Iadea7a34e2cd4576cc78659b99c12e1041af5b45
2013-11-18Add metadata to configure swiftDerek Higgins1-3/+0
o Adds the required swift metadata (in swift-source.yaml). o Sets up glance to use the swift backend on the overcloud. o Sets up glance to use the file backend on the undercloud and seed, i.e. maintain the Status quo. Change-Id: I4a70ffbf9c51f1fea5cfc84d8718d3d30d36b3f2
2013-10-11Delete unused interfaces.control key.Robert Collins1-5/+0
Change-Id: I3a84cf52cc46f0c338319a046d77edb2a9b29c45
2013-09-19Provide Neutron password in compute metadataRoman Podolyaka1-0/+2
overcloud compute node makes requests to Neutron API and requires quantum_admin_password option of nova.conf to be set (it is defined in nova image element like quantum_admin_password={{neutron.service-password}}). Without this, booting of a user instance in overcloud fails, because nova-compute service can't authorize requests to Neutron API. Change-Id: Ie726d0c3d54abc6c24a45fde3f5af03fd2cf9e37
2013-09-17Set NoEcho: true for parameters containing secretsSteve Baker1-0/+3
This prevents secret values being returned for stack-show. Change-Id: I82eff26fda31511b66c6371f6ded2a5fb559f3fb Fixes-Bug: #1226730
2013-09-17Finish correcting all OS::Nova::Server referencesClint Byrum1-3/+7
Some references to first_private_address were missed and some of the Fn::Select calls were only half-completed. Change-Id: I92a4e5e67784e5d64ec6e44ddcac55762cde81eb
2013-09-16Update PrivateIp to first_private_address.James Slagle1-1/+1
Update the PrivateIp attribute to first_private_address as a result of the change to the OS::Nova::Server type. Change-Id: Id90f8c7c4e0217e1f94d3e5134744a810390e7b7
2013-09-14Get rid of global service-password.Robert Collins1-6/+5
No longer needed, less globals == win. Change-Id: I2872e5a8775a09b2e857ef082f3b86109785a126
2013-09-14Add Nova service password.Robert Collins1-0/+6
Another service converted to match the keystone model of unique accounts per service. Change-Id: I62fce289a7032138be3aca8c74df499c2b1fde28
2013-09-13Use native resource for nova-compute-instanceClint Byrum1-5/+5
Change-Id: I347465b32578467ca3d9f55ea2994d832fcd8b3f
2013-08-15Migrate nova-compute-instance to split Metadata.Clint Byrum1-2/+19
The file was using the old 0.0.0.0 method from heat-localip, but it was missed when converting the other templates to a split Metadata approach to enable a machine to know its own IP. Change-Id: I0b117de12416a52950b1c7079f659df8649d67f9
2013-08-15Correct os-collect-config.cfn.path to be string.Clint Byrum1-1/+1
Specified as a list, it gets translated literally into ["NovaCompute0"] in /etc/os-collect-config.conf. This is not desirable and results in 500 errors because ["NovaCompute0"] does not exist. Change-Id: I7dc01937d73c0c0e5cea70f5a3202d0e43c4caed
2013-08-14Migrate from cfn-hup to os-collect-configClint Byrum1-10/+8
Os-collect-config is meant to replace cfn-hup from heat-cfntools. It allows pulling from multiple metadata sources and runs continuously. Fixes bug #1211289 Change-Id: Ia4e9127fb79048bd1022b32a37272f8463a774ae
2013-08-14Make Resource names suitable for merge/includeClint Byrum1-10/+10
In nova-compute-instance.yaml, we need to use resource names that are unique within the entire set of resources that may be merged or included. However, we need the instance resource name to _match_ the one in overcloud-source.yaml so that its own access policies can function. Without this change we will not have unique users and Metadata access keys/policies for compute and controller. Change-Id: Iebde7e6adede4984f4f693cf2d57b6fadb8be558
2013-08-14Fix missing NovaComputeLibvirtType parameter.Clint Byrum1-1/+1
Also change default to '' as null is not technically allowed as a string default in cloudformation (Heat accidentally allows this). Os-apply-config, via pystache, will still treat this as false for the purposes of checking if it is set or not. Change-Id: Ia02dbcf619bdc92647f1d21157fa4a8e3f749de3
2013-08-12Add ability to set overcloud hypervisor type.Robert Collins1-0/+4
This is needed for non-nested-kvm capable environments. Change-Id: I2b87071941c04d3c99a687082db42d2a84f481fd
2013-07-10Quantum -> Neutron renameDerek Higgins1-13/+13
Almost all references to quantum have been changed neutron in tripleo-image-elements. Change-Id: Ib17353d5834dd95d0348f62111074180c6e47181
2013-07-10Set a default image name for compute nodes.Robert Collins1-0/+1
Defaults that match devtest.md will make adoption easier. Change-Id: I6b8c2b13cada5454ff52681451f9124b67ea44a9
2013-06-20Fixup https://review.openstack.org/#/c/33308.Robert Collins1-1/+1
The local_ip value of 127.0.0.1 breaks clusters. Using 0.0.0.0 will have the right value when the heat-localip element is used. Change-Id: Id0da5d46c60e808944a40bcaf05f1072be55eed7
2013-06-19Remove references to Fn::GetAtt.Derek Higgins1-2/+1
These were causing a Circular dependency error during the creation of a stack. Change-Id: Iccdf4a081f38aa3a5fe0e250b9e9382958a0f26e
2013-06-12Parameterise more settings for nova and quantum.Robert Collins1-4/+12
Change-Id: Ia35431302848666ad013adaeae1d06482cd3117a
2013-06-06Nested stack of nova-compute-instance.yamlClint Byrum1-0/+17
2013-06-06New single instance nova-compute.Clint Byrum1-0/+83