1941 Commits

Author SHA1 Message Date
Julia Kreger
e16bdf274c Centralize testing preparation
Adding dependencies and default vars in order to use
bifrost-prepare-for-test as the main role to prepare
for testing.
2015-04-01 17:50:26 -04:00
Julia Kreger
57fb88ddb5 Add missing ironic_url variable references.
Added ironic_url to defaults and READMEs for
bifrost-unprovision-nodes and ironic-delete roles.
2015-04-01 10:05:33 -04:00
Julia Kreger
363c5aaeef Update ironic-delete role README file
Added an example playbook, variables, and dependency information.
2015-04-01 09:59:36 -04:00
Julia Kreger
64d06d3fb2 Update bifrost-unprovision-nodes README
Added example playbook, variable, and dependency information.
2015-04-01 09:46:59 -04:00
Julia Kreger
99c9bbd157 Updated bifrost-prepare-for-test README 2015-04-01 09:40:18 -04:00
Julia Kreger
d1eb0fed3d Updating bifrost-test-vm README 2015-04-01 09:01:16 -04:00
Julia Kreger
4e17b938a0 Updated comments in bifrost-test-vm
Wrapped the previous comments in the bifrost-test-vm role
and added an additional note about the future possibility
of using the inventory it's self to define the nodes.
2015-04-01 08:34:18 -04:00
Julia Kreger
6a472818c2 Removed outdated comment in setup-nodes role
Removed a comment noting that the format was conceptual
for the execution of os_ironic_node as that module had
not yet been written when the playbook was initially
written.
2015-04-01 08:30:49 -04:00
Julia Kreger
d3b633f466 Update enrollment README file
Cleaned up variable list to be a bit more clear to understand
what the variable actually is, as well as added the ironic_url
variable, and noted that the testing variable is defaulted to
false.
2015-04-01 08:27:53 -04:00
Julia Kreger
9fc0ce0267 Adding default ironic_url for enrollment
Adding a default ironic_url setting for the node enrollment
role.
2015-04-01 08:23:41 -04:00
Julia Kreger
6171e6ff05 Update install to use newer ipmi retry fix
Updated the url for the ipmi retry patch to represent a newer
version of the patch which does contain one fix from the previous
version, as well as unit tests.
2015-04-01 08:21:45 -04:00
Julia Kreger
0f22d3515f Adding a default ironic_url entry for setup-nodes
Added a default environment variable of for ironic_url for
bifrost-setup-nodes which represents what the typicaly expected
configuration to look like.
2015-04-01 08:18:21 -04:00
Julia Kreger
2c5776c7a6 Setting enroll testing default
Set enroll stage testing default to a falue of false as the
conditional statements require testing to be present upon
playbook execution.
2015-03-31 16:58:31 -04:00
Julia Kreger
8faee32f61 Update README for bifrost-setup-nodes
Updated the README file for bifrost-setup-nodes to indicate
dependencies, use, and variables.
2015-03-30 11:48:17 -04:00
Julia Kreger
2c41be30cf Updating README for configdrive role
Added dependency, example, and additional context around config
drives for users in order to help facilitate use of the
bifrost-configdrives role.
2015-03-30 09:44:40 -04:00
Julia Kreger
d8e981ebc2 Update validation role README and defaults
Updated the Bifrost validation role to have default variables
set and updated the documentation to indicate variables that are
likely to differ on customized environments, and included a sample
playbook.
2015-03-27 23:45:47 -04:00
Julia Kreger
7f9700209c Rename ironic-deploy role
Changed the name of the ironic-deploy role to
bifrost-validate-host-for-deploy to be in-line
with what the role actually does which is perform
basic node validation before the process proceeds.
2015-03-27 22:37:28 -04:00
Julia Kreger
cc947b67b1 Updates to the ironic-enroll task README
Defined variables and requirements for the ironic-enroll task
README file, as well as provide an example playbook of the task's
use.
2015-03-27 22:28:39 -04:00
Julia Kreger
e9d09dae32 Updating ironic-install role README
Updating the README file with additional pertinant information
including variables and an example playbook.
2015-03-27 21:49:49 -04:00
Julia Kreger
90ed7975da Cleaning up ironic-install defaults yaml file
Added comments to variables for better documentation of the
ironic-install variables and cleaned up the file by removing
un-necessary items.
2015-03-27 21:49:05 -04:00
Julia Kreger
fa584a9917 Changing testing to utilize role
Changed the test-bifrost.yml playbook to utilize the basic vm
creation role, and moved the vm creation script to the tools
folder.
2015-03-27 20:44:10 -04:00
Julia Kreger
565d3d6f0c Adding basic role to create VMs for testing
Adding a basic role to create virtual machines for testing
Bifrost.
2015-03-27 20:39:53 -04:00
Julia Kreger
afc8426f4b Fix testing vars and test-bifrost.yaml command line
Upon realizing that using the testing variable on the commandline was
unreliable, I set it into the test-bifrost.yaml playbook to assume
it by default and set the variable for the playbooks it is invoking.
2015-03-27 10:09:37 -04:00
Julia Kreger
21dd36b834 Change Ironic patch for ipmi retry operations
Changed out the patch that Bifrost retreives for installation as the
patch that was present landed in Ironic today.  The new patch is to
address ipmi retries on busy BMCs where multiple nodes share the same
BMC address.
2015-03-26 16:21:43 -04:00
Julia Kreger
79d03f67cd Adding ironic-delete to test-bifrost sequence
Added ironic-delete step into the test-bifrost.yaml playbook sequence
and updated documentation to indicate that the node was being removed
from active use and then deleted from ironic.

Additionally noted in the README that cleaning is disabled for the
bifrost-test playbook.
2015-03-26 09:40:28 -04:00
Julia Kreger
76a23b09f9 Adding ironic-delete role
Adding ironic-delete role to remove hosts that have been added
to Ironic.
2015-03-26 09:31:47 -04:00
Julia Kreger
659e97a812 Turning off cleaning for test-bifrost.yaml
Turning off cleaning for test-bifrost.yaml as the cleaning step
is a lengthy IO intensive operation, and the testing sequence
does not need cleaning at this point in time.
2015-03-25 21:32:34 -04:00
Julia Kreger
e71534d6ed Adding basic role to unprovision nodes
Added a basic role which, in the same style as other roles,
unprovisions the nodes created.

Added to the test-bifrost.yaml playbook as it will be useful
in the testing sequence.
2015-03-25 20:57:33 -04:00
Julia Kreger
777ab9691c Updated role readme files
Update role readme files to include a very basic description and the
correct license.
2015-03-25 19:59:20 -04:00
Julia Kreger
57f8992e28 Enabling Cleaning mode by default
Enabling cleaning mode which will cause nodes to be scrubbed
before being available for re-use.
2015-03-24 13:19:47 -04:00
Julia Kreger
e6544bdf3d Cleaning up Ironic Client and Shade Library installs
Changed the Ironic client and Shade installations to utilize pip
by default however with a flag that could be set in order to change
the logic over to utilizing source based installation.
2015-03-24 12:35:16 -04:00
Julia Kreger
f37e1289e4 Refining README command line regarding testing. 2015-03-24 12:34:26 -04:00
Julia Kreger
ac3e46f5a8 Adding README update for testing.
Added basic details on use of the test-bifrost.yaml playbook.

With the previous addition of a self contained basic test sequence
and basic documentation, this commit should close out issue #4.
2015-03-24 12:30:19 -04:00
Julia Kreger
fe05724902 Adding basic testing of VMs with test-bifrost.yaml
Added two roles and appropriate changes to test-bifrost.yaml in
order to add the new hosts, typically which should be a single
virtual machine, to the running inventory, and then connect
to them and verify that the hostname is NOT ubuntu.

This is in support of issue #4.
2015-03-24 12:13:22 -04:00
Julia Kreger
ee0f8a067c Initial testing playbook
Adding an intial testing playbook that includes installation,
vm creation, enrollment, and deployment.
2015-03-23 18:58:51 -04:00
Julia Kreger
e9a65bf67c Updating deploy.yaml to not use sudo globally
Changed deploy.yaml to not invoke sudo for the configdrive and
deployment roles in order to allow a user's key to be pulled into
the configuration drive instead of the root user key by default.
2015-03-23 18:53:56 -04:00
Julia Kreger
7a50fddc3a Cleaning up ironic-deploy role
Removed un-necessary/duplicated steps and old comment.
2015-03-23 18:49:59 -04:00
Julia Kreger
5598f3baa7 Change configdrive steps to use sudo
Changed the configdrive generation steps to utilize sudo so the base
user context remains the same as the running user the playbook
and thus the user's key can be incorporated without needing root
privliges

This is part of issue #5
2015-03-23 18:24:13 -04:00
Julia Kreger
aef052f79c Adding patch to correct ironic DHCP support
Adding temporary addition of https://review.openstack.org/#/c/166903/
to the ironic installation in order to be able to utilize bifrost.

This effectively closes issue #6.
2015-03-23 15:17:19 -04:00
Julia Kreger
ec10cee617 Add coreos.configdrive=0 as a default setting
Due to a race condition in CoreOS, any pre-existing configuration
drive that is present on a system is being attached to the node.

The only documented way to prevent CoreOS from attaching a
pre-existing configuration drive is to pass the kernel parameter.

This combined with an update that has been made to IPA, closes #2.

Additional details can be found at
https://bugs.launchpad.net/ironic/+bug/1433812
2015-03-19 17:34:48 -04:00
Julia Kreger
13cbd10482 Add initial documentation for troubleshooting
Adding troubleshooting information for network connectivity, node
locking, and the ironic-python-agent.
2015-03-19 13:48:59 -04:00
David Shrewsbury
0c4772596c Change VM default RAM to 3GB
The image built using DiB requires large amounts of RAM. A minimum of
3GB, it would seem. Set this to the default.
2015-03-17 15:53:35 -04:00
David Shrewsbury
d872db6f7b Increase default memory for VM node 2015-03-17 17:00:39 +00:00
Julia Kreger
f797abacfb Merge branch 'master' of https://github.com/juliakreger/bifrost 2015-03-17 12:32:23 -04:00
Julia Kreger
4326127bed Correct conditional for dnsmasq change with testing
The default dnsmasq/libvirt config excludes the default libvirt
bridge.  Fixed conditional to utilise .stat.exists so the logic
is correctly triggered.
2015-03-17 12:30:20 -04:00
David Shrewsbury
babcba7c40 Remove unused variables 2015-03-17 16:19:23 +00:00
David Shrewsbury
b4358a8b45 Merge branch 'master' of github.com:juliakreger/bifrost 2015-03-17 16:16:30 +00:00
David Shrewsbury
679bf59a53 Fix SSH port to 22 2015-03-17 16:15:56 +00:00
David Shrewsbury
51f1975c8a Fix README 2015-03-17 12:05:27 -04:00
David Shrewsbury
6224a6554a Update README for VM usage 2015-03-17 12:04:38 -04:00