cloudmesh / cloudmesh1

http://cloudmesh.org
Apache License 2.0
14 stars 12 forks source link

Check for cloudmesh rc files #191

Closed badmutex closed 9 years ago

badmutex commented 9 years ago

Check for the presence of cloudmesh rc files under ~/.cloudmesh.

In particular:

Example output on my system:

$ ./bin/openstack-setup-test  -h
Usage: ./bin/openstack-setup-test [-h] -c
  -c    Run check
  -h    Print this help

This script tests for the presence of cloudmesh RC files:
    /home/badi/.cloudmesh/clouds/india/havana
    /home/badi/.cloudmesh/clouds/india/juno

$ ./bin/openstack-setup-test  -c
Checking for /home/badi/.cloudmesh/clouds/india/havana...FAIL
Checking for /home/badi/.cloudmesh/clouds/india/juno...FAIL
ERROR Cloud not find the needed cloudmesh files.
Please send an email to help@futuresystems.org

@laszewsk Is this what you had in mind? CC @lee212

laszewsk commented 9 years ago

right!

On Feb 20, 2015, at 9:58 AM, badi notifications@github.com wrote:

Check for the presence of cloudmesh rc files under ~/.cloudmesh.

In particular:

~/.cloudmesh/clouds/india/havana ~/.cloudmesh/clouds/india/juno Example output on my system:

$ ./bin/openstack-setup-test -h Usage: ./bin/openstack-setup-test [-h] -c -c Run check -h Print this help

This script tests for the presence of cloudmesh RC files: /home/badi/.cloudmesh/clouds/india/havana /home/badi/.cloudmesh/clouds/india/juno

$ ./bin/openstack-setup-test -c Checking for /home/badi/.cloudmesh/clouds/india/havana...FAIL Checking for /home/badi/.cloudmesh/clouds/india/juno...FAIL ERROR Cloud not find the needed cloudmesh files. Please send an email to help@futuresystems.org @laszewsk https://github.com/laszewsk Is this what you had in mind? CC @lee212 https://github.com/lee212 You can view, comment on, or merge this pull request online at:

https://github.com/cloudmesh/cloudmesh/pull/191 https://github.com/cloudmesh/cloudmesh/pull/191 Commit Summary

Check for cloudmesh rc files File Changes

A bin/openstack-setup-test https://github.com/cloudmesh/cloudmesh/pull/191/files#diff-0 (69) Patch Links:

https://github.com/cloudmesh/cloudmesh/pull/191.patch https://github.com/cloudmesh/cloudmesh/pull/191.patch https://github.com/cloudmesh/cloudmesh/pull/191.diff https://github.com/cloudmesh/cloudmesh/pull/191.diff — Reply to this email directly or view it on GitHub https://github.com/cloudmesh/cloudmesh/pull/191.

lee212 commented 9 years ago

You need to check the existence of a novarc or openrc.sh file in the followng paths:

From Juno release, it seems novarc filename has changed to openrc.sh.

laszewsk commented 9 years ago

badi has created some script. Assign this to him in github and explain how we use git issue.

I will create label for him

On Feb 20, 2015, at 10:32 AM, Hyungro Lee notifications@github.com wrote:

You need to check the existence of a novarc or openrc.sh file in the followng paths:

~/.cloudmesh/clouds/india/havana/novarc ~/.cloudmesh/clouds/india/juno/openrc.sh From Juno release, it seems novarc filename has changed to openrc.sh.

— Reply to this email directly or view it on GitHub https://github.com/cloudmesh/cloudmesh/pull/191#issuecomment-75256825.