1941 Commits

Author SHA1 Message Date
Julia Kreger
f5389ce8f1 Correcting testing enrollment compare
Changed the standard enrollment compare to utilize the boolean
comparison as opposed to the string comparison.
2015-03-17 11:52:01 -04:00
Julia Kreger
4bd6fcc37e Merge branch 'master' of https://github.com/juliakreger/bifrost 2015-03-17 11:48:48 -04:00
Julia Kreger
916ca46115 Correcting default image name
When using disk image builder deployments, the file name needs
to end with .qcow2.  Documented and changed the default file name.
2015-03-17 11:47:42 -04:00
David Shrewsbury
647934cb9f Fix for enrolling VMs 2015-03-17 15:41:28 +00:00
David Shrewsbury
81ffc8c7f8 Add VM creation script 2015-03-17 10:26:09 -04:00
Julia Kreger
9eaf90767e Further clarification of path for CSV file
Reworded the note regarding the full path to the CSV file being
required in order to stress the importance of doing so.
2015-03-17 08:30:52 -04:00
Julia Kreger
1af6d2f55b Note location of example CSV file
The readme lacked any direct reference to the example CSV file.
Added reference to the location of the file.
2015-03-17 08:25:24 -04:00
Julia Kreger
bc6f2fa570 Correcting role dependencies
Role dependences cause the dependency to be auto-included before
the dependent role, and as such they needed to be corrected.
2015-03-16 21:32:06 +00:00
Julia Kreger
5ba137cee5 Merge branch 'master' of https://github.com/juliakreger/ironic-poc into cleanup
Merged changes by hand due to the changes made in the cleanup branch.

Conflicts:
	enroll/virtual_enroll.yaml
	install/roles/install_standalone_ironic_localhost/tasks/main.yml
2015-03-16 13:12:31 -04:00
David Shrewsbury
f3bedfa298 Setup SSH keys for ironic user
During testing using VMs, let's automatically setup the SSH keys
that will be needed for the agent_ssh driver functionality.
2015-03-16 17:02:33 +00:00
Julia Kreger
195245b98e Cleanup required for deploy role changes to function
Moved template file locations to the correct role.

Corrected syntax error in deploy.yaml.

Removed "templates/" path from template entires as it is not
required when using a role.

Added fact collection into roles where required as passing vars
between roles does not seem clean nor maintainable in the long run.
2015-03-16 12:56:26 -04:00
Julia Kreger
87f2df26a4 Adding license headers to deploy yaml files 2015-03-16 12:18:02 -04:00
Julia Kreger
b3dc2eb446 Changing note for baremetal csv file path
Updating description text for baremetal_csv_file to ensure that
the user utilizes the full path to the file.  This is necessary
as file loading/searching behaviors are different between roles
and standalone playbooks.
2015-03-16 12:12:44 -04:00
Julia Kreger
db2dd9f17c Remove excess spacing in enroll yaml files
Removed excess spaces at the beginning of the lines of the enroll
yaml files to ensure that they are cleaner moving forward.
2015-03-16 12:10:52 -04:00
Julia Kreger
61445fce51 Cleaning up comments in virtual enrollment file
File formatting was shuffled due to efforts to correct syntax
interpretation issues with Ansible, correcting to make the look
consistent across the files.
2015-03-16 12:04:22 -04:00
Julia Kreger
fc6f55e9f5 Adding license headers to enrollment files 2015-03-16 12:01:05 -04:00
Julia Kreger
8a9b98a8e6 Cleaning up virtural enrollment yaml file
Removed excess spacing at the beginning of the lines due to
parsing issues when converted to a role.
2015-03-16 11:55:07 -04:00
Julia Kreger
2d3db48f10 Logic fixes for roles changes to node enrollment step 2015-03-13 16:36:50 -04:00
Julia Kreger
64790dd512 Cleanup and changes required for role updates 2015-03-13 16:01:31 -04:00
Julia Kreger
053c2f288d Correct group_vars variable file name 2015-03-13 15:38:12 -04:00
Julia Kreger
2931933c89 Initial ironic-install README.md file 2015-03-13 11:58:49 -04:00
Julia Kreger
8fb8308e1c Removal of local_action
Removed local_action calls as they are an artifact of the original
playbook and no longer required.
2015-03-13 10:41:52 -04:00
Julia Kreger
8867bdf06a Add license headers to ironic-install role 2015-03-13 10:34:12 -04:00
Julia Kreger
a6bc72f632 Change install vars to defaults 2015-03-13 09:24:44 -04:00
Julia Kreger
51617d36eb Merge branch 'master' of https://github.com/emonty/ironic-poc into emonty
Conflicts:
	enroll/enroll.yaml
2015-03-13 09:14:58 -04:00
David Shrewsbury
2de31449c3 Correct private key path 2015-03-12 21:24:45 +00:00
Monty Taylor
1480845fea Fix filenames 2015-03-12 17:13:44 -04:00
Monty Taylor
a26fd36f07 Update meta.yml files 2015-03-12 17:13:20 -04:00
Monty Taylor
046066e3c7 Blind stab at breaking things into more roles 2015-03-12 17:07:46 -04:00
David Shrewsbury
afcdd237ee Merge branch 'dev' 2015-03-12 21:07:14 +00:00
David Shrewsbury
97a8dd5d34 Updates for enrolling VMs 2015-03-12 21:06:57 +00:00
Julia Kreger
e56fe3708b Correcting software deployment name tag 2015-03-12 19:48:39 +00:00
Julia Kreger
781fd2648c Adding a feature to skip pip installs
Defining the skip_install variable will result in pip installs not
being performed to allow repeated rapid testing.
2015-03-12 19:06:13 +00:00
Julia Kreger
2ec9bb6ce3 Adding DIB element path to configuration 2015-03-12 18:53:40 +00:00
Julia Kreger
1b315d406d Merge branch 'master' of https://github.com/juliakreger/ironic-poc 2015-03-12 17:58:04 +00:00
Julia Kreger
70169451cf Initial support for diskimage-builder
Changing the process over to utilize diskimage-builder
as it has support for building images that will boot
utilizing configuration drives.
2015-03-12 17:55:29 +00:00
David Shrewsbury
77c9b97c0c Add agent pxe parameters when testing 2015-03-12 13:29:17 -04:00
David Shrewsbury
1456464286 Install testing packages when testing
We need libvirt, qemu, etc, when testing is true.

Also work around Ubuntu issue with sgabios.bin location if we
need to.
2015-03-12 11:01:42 -04:00
David Shrewsbury
f2b6e474c5 Updates for testing to work with libvirt
dnsmasq needs certain options set when working with libvirt
virtual machines rather than physical hardware. We also need
to kill libvirt-controlled dnsmasq processes when testing, and
make sure IP forwarding is enabled.
2015-03-12 10:19:27 -04:00
David Shrewsbury
f4ed4a5376 Fix role path references
Roles do not need to specify paths for templates or copy tasks.
2015-03-10 18:37:38 +00:00
David Shrewsbury
7ce1c2202f Fix spelling errors 2015-03-10 18:03:06 +00:00
David Shrewsbury
2e8957e600 Fix role key path 2015-03-10 17:52:10 +00:00
Devananda van der Veen
9fefca26fc Merge branch 'bifrost' 2015-03-10 10:46:08 -07:00
David Shrewsbury
4c41bce0f0 Quote SSH key path 2015-03-10 17:43:16 +00:00
David Shrewsbury
f35928e568 Adjust testing driver to agent_ssh, fix key path
Make testing default to false. When enabled the ironic driver being
used should be agent_ssh.

Also fix the SSH key path (~ is not interpreted by ansible modules).
2015-03-10 17:38:22 +00:00
Julia Kreger
7489bec66a Extending default task manager retries
Extending the default task manager lock acquistion retries from
three to six in order to reduce the risk of lock errors from being
returned.
2015-03-10 12:00:28 -04:00
Julia Kreger
d93a3218af Polishing of the readme and synchronizing structure
Updates to the README to provide additional context and sync up
with the file layout.

Moved the setup folder to the install folder as the folder is
specificially utilized to install.
2015-03-09 16:33:45 -04:00
Julia Kreger
e6cbfc0098 Correct spacing for the role main.yml file
The setup/install task main.yml file started as a stand alone
playbook.  As it has been converted, it is a good idea to remove the
excess space at the beginning of the lines.
2015-03-09 14:59:11 -04:00
Julia Kreger
2498cb2ee0 Convert installer into the style of a role
The format for the install has been changed to be more in-line with
an ansible role in order to make this portion of more portable and
re-usable.

Additionally performed cleanup of the main tasks ans removed
un-necessary pulls of components.
2015-03-09 14:52:17 -04:00
Julia Kreger
642a5cb3fe Merge branch 'master' of https://github.com/juliakreger/ironic-poc into bifrost 2015-03-09 13:50:25 -04:00