aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/nova/compute.pp
AgeCommit message (Collapse)AuthorFilesLines
2017-07-11Refactor iscsi initiator-name reset into separate profileOliver Walsh1-13/+0
This currently assumes nova-compute and iscsid run in the same context which isn't true for a containerized deployment Change-Id: I91f1ce7625c351745dbadd84b565d55598ea5b59
2017-06-14Ensure hiera step value is an integerSteve Baker1-1/+1
The step is typically set with the hieradata setting an integer value: {"step": 1} However it would be useful for the value to be a string so that substitutions are possible, for example: {"step": "%{::step}"} This change ensures the step parameter defaults to an integer by calling Integer(hiera('step')) This change was made by manually removing the undef defaults from fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with: find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/" Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-03-23Ensure iscsi-initiator-utils installedAlex Schultz1-0/+2
We attempt to use iscsi-iname in an exec for our nova compute profile but we do not ensure that the package providing this command is installed. This change adds the package definition for iscsi-initiator-utils to ensure it is installed before trying to use iscsi-iname. Change-Id: I1bfdb68170931fd05a09859cf8eefb50ed20915d Closes-Bug: #1675462
2017-02-09Run nova-cell_v2-discover_hosts at step 5Emilien Macchi1-1/+1
We need to run nova-cell_v2-discover_hosts at the very end of the deployment because nova database needs to be aware of all registred compute hosts. 1. Move keystone resources management at step 3. 2. Move nova-compute service at step 4. 3. Move nova-placement-api at step 3. 5. Run nova-cell_v2-discover_hosts at step 5 on one nova-api node. 6. Run neutron-ovs-agent at step 5 to avoid racy deployments where it starts before neutron-server when doing HA deployments. With that change, we expect Nova aware of all compute services deployed in TripleO during an initial deployment. Depends-On: If943157b2b4afeb640919e77ef0214518e13ee15 Change-Id: I6f2df2a83a248fb5dc21c2bd56029eb45b66ceae Related-Bug: #1663273 Related-Bug: #1663458
2017-02-09start nova-compute when keystone resources are createdEmilien Macchi1-1/+2
1. Move keystone resources management at step 4. 2. Move nova-compute startup at step 5. That way, we make sure nova-compute will start when all Keystone resources are ready. Change-Id: I6e153e11b8519254d2a67b9142bf774a25bce69d Closes-Bug: #1663273
2016-07-20Merge "make sure we start nova-compute after nova-conductor"Jenkins1-0/+3
2016-07-12Merge "profile/nova/compute: add iscsi bits"Jenkins1-0/+11
2016-07-06make sure we start nova-compute after nova-conductorEmilien Macchi1-0/+3
When nova-compute and nova-conductor are collocated, we need to make sure nova-conductor starts before nova-compute otherwise nova-compute will just fail to start. Change-Id: Icc3ed768af2a08e2db78d9c9278d309a62d26850
2016-06-30nova/compute: add NFS bitsEmilien Macchi1-1/+19
Deploy NFS bits that were in THT before. Change-Id: I75d68cc766ad274b16b22f43b7d34d02ab26de13
2016-06-29profile/nova/compute: add iscsi bitsEmilien Macchi1-0/+11
Add iscsi bits allowing live migration. Change-Id: I495a7af4220f0b35e9fd0a6cfc146610d8f46d10
2016-06-21Implement Libvirt profileEmilien Macchi1-0/+6
Deploy bits when running nova-compute + libvirt. Note: some work will be done in puppet-nova to decouple nova-compute from libvirt in nova::compute::libvirt class. Change-Id: I754bfa89ba78a70b4b866598fb1163f4e14807c9 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova Compute profileSven Anderson1-0/+35
Implements: blueprint refactor-puppet-manifests Change-Id: I57f729daf675674ce37b49e17652c575715fbe23