summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #73 from lhuard1A/fix_aws_cluster_listThomas Wiest2015-03-031-1/+1
|\ | | | | Fix './cluster.sh list' on AWS when some VMs have no name
| * Fix './cluster.sh list' on AWS when some VMs have no nameLénaïc Huard2015-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case some AWS VMs have no name (VMs not managed by openshift-online-ansible), './cluster.sh list' fails with the following error: ./cluster.sh list /home/lenaic/doc/prog/RedHat/openshift-online-ansible/lib/aws_helper.rb:31:in `sort_by': comparison of Array with Array failed (ArgumentError) from /home/lenaic/doc/prog/RedHat/openshift-online-ansible/lib/aws_helper.rb:31:in `sort_by!' from /home/lenaic/doc/prog/RedHat/openshift-online-ansible/lib/aws_helper.rb:31:in `get_hosts' from /home/lenaic/doc/prog/RedHat/openshift-online-ansible/lib/aws_command.rb:118:in `list' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor.rb:235:in `block in subcommand' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch' from /home/lenaic/.gem/ruby/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start' from ./cloud.rb:27:in `block in <main>' from ./cloud.rb:25:in `chdir' from ./cloud.rb:25:in `<main>' With that fix, we get the expected result: ./cluster.sh list Name Env State IP Address Created By ---- --- ----- ---------- ---------- UNSET UNSET running 54.152.46.170 test-openshift-master-92675686da test running 54.152.33.235 lenaic test-openshift-node-2a43dcb0b4 test running 52.1.69.75 lenaic test-openshift-node-94af201376 test running 54.86.4.149 lenaic
* | Merge pull request #65 from lhuard1A/osxThomas Wiest2015-03-032-3/+3
|\ \ | | | | | | Allows it to run on OSX
| * | Allows it to run on OSXAkram Ben Aissi2015-02-192-3/+3
| |/ | | | | | | | | - Versions of ruby ported on OSX requires escaping of hyphens in regexp - Adds documentation on packages required by OSX to run openshift-online-ansible on OSX
* | add jdetiber to list of SUPPORTED_ENVSJason DeTiberus2015-02-242-2/+2
| |
* | cleaned up ansible towerMatt Woodson2015-02-241-1/+1
| |
* | changed tint to twiest and added gshipley envThomas Wiest2015-02-232-2/+2
| |
* | Fixed an issue with the latest gce list. Correctly handles _metaKenny Woodson2015-02-192-10/+34
|/
* Merge pull request #61 from jwhonce/wip/kubeconfigJhon Honce2015-02-172-2/+2
|\ | | | | Update playbooks for latest origin code
| * Use more descriptive name in Development ProjectJhon Honce2015-02-132-2/+2
| |
* | Fixed a couple of other variables that were incorrect.Kenny Woodson2015-02-131-2/+2
| |
* | Fixing tag name to prepend aws identifier.Kenny Woodson2015-02-131-1/+1
|/
* removed ignore_bug_6407 as that bug has now been fixed by ansible.Thomas Wiest2015-02-053-12/+0
|
* Adding AWS support to openshift-ansible moduleAkram Ben Aissi2014-12-121-3/+1
| | | | | | | | | | - Update documentation to say that ssh configuration need to point to the private key file - Removing the -p argument when calling time .... because it is misintrepreted by ruby - Turning the cluster.sh to agnostic in its help/error message by replacing explicit reference to GCE by a a variable - Fixing a bug within the playbooks that incorrectly references the minions and master fact group. - Adding playbooks for AWS, which are almost of copy/paste for those of GCE - Added environment variable OO_PROVIDER to allow definition of the provider. Defaults is gce - TODO implement the terminate.yml cookbook
* Add lint environment tag for QEJhon Honce2014-11-132-2/+2
|
* updated docs to have better setup instructions, fixed minor bugs, addedThomas Wiest2014-10-313-3/+3
| | | | envs for admiller (amint) and tdawson (tdint).
* fixed cluster.sh to only run minion and master creation once, and to use -c ↵Thomas Wiest2014-10-302-2/+2
| | | | if there are multiple needed. Also added nicer output.
* minor cleanupThomas Wiest2014-10-232-3/+4
|
* made aws list display more information, and be able to only show a single ↵Thomas Wiest2014-10-232-7/+15
| | | | environment
* Added atomic aws host to cloud.rbThomas Wiest2014-10-236-13/+255
|
* broke out parts of cloud.rb into libs for easier maintenance.Thomas Wiest2014-10-214-0/+418