Open badmutex opened 9 years ago
why would it be different. did we not decide with koji that it shuld be uniform? can you check with koji.
On Apr 15, 2015, at 10:44 AM, badi notifications@github.com wrote:
Currently the path to the openrc.sh is hardcoded as ~/.cloudmesh/clouds/juno/openrc.sh. In some cases the user may have this file in a difference location or named differently.
One option is for the user to symlink the file to the expected location, but this requires accessing india and making a change.
Alternatively, if there was a --remote-openrc flag this could override the default location
$ cm-iu user fetch --remote-openrc=.cloudmesh/clouds/juno/openrc-12345.sh — Reply to this email directly or view it on GitHub https://github.com/cloudmesh/cloudmesh/issues/203.
This is the situation we saw with Oliver's case. I'm not sure how he ended up with a different name for the rc file. I'll ask Koji.
cc @kjtanaka
Why don't you guys ask Oliver first?
Koji
On Wed, Apr 15, 2015 at 1:52 PM, badi notifications@github.com wrote:
cc @kjtanaka https://github.com/kjtanaka
— Reply to this email directly or view it on GitHub https://github.com/cloudmesh/cloudmesh/issues/203#issuecomment-93500407.
So it looks like renaming the openrc.sh file is an unsupported situation. I think this would be a nice feature to have, but low priority. @laszewsk I'll close if you prefer.
That would be a nice feature to have. Is there a cloudmesh's way for a user to switch tenant? If so, then, at least, you can introduce how to do it with cloudmesh? (If what I'm asking is pointless, please forget about it.)
I will create a new issue to generate readable error messages if openrc.sh is missing along with this issue.
Currently the path to the openrc.sh is hardcoded as
~/.cloudmesh/clouds/juno/openrc.sh
. In some cases the user may have this file in a difference location or named differently.One option is for the user to symlink the file to the expected location, but this requires accessing india and making a change.
Alternatively, if there was a
--remote-openrc
flag this could override the default location