Hi Ian,
CloudMonkey's config system design was sort of based on git and similar
command line tools. The config is independent of multiple sessions per
user, though every user has their own config file. The only difference
in this design wrt git is that CloudMonkey does not provide a local vs
global scope like git as there is no concept of repo/directories to
implement that. So, if you want to use CloudMonkey and running a cron
job; make sure they are not run by the same user as they will share the
same gitconfig. At the same time, CloudMonkey has a way to profile
server profiles, so except for few global settings (color, output etc)
you can talk to multiple ACS mgmt servers and switch between them.
Though when multiple cloudmonkeys are already running they can have
different in-memory configs which are synchronized with the user's
config whenever a set command is called.
A quick solution I can think of is to move those global settings to
server profiles, so if in a server profile a global setting is redefined
(say color, output type, etc) we can load those settings whenever you do
a set profile <profile name>. This way you can run multiple
cloudmonkeys, by cron and on shell etc, with a requirement that before
you run anything you do run the set commands (choose profile, or change
options) and then continue etc.
I don't have a strong motivation to change this, as this is how many
command line tools work. But, if it would be great if you have a better
design to propose then let's discuss it (perhaps in a different thread).
On Saturday 28 February 2015 05:05 AM, Ian Forde wrote:
Thanks for the feedback Geoff. I’ll have to update my scripts to reflect
that. Are there any plans to change cloudmonkey’s behavior in that regard?
-I
On 2/27/15, 3:31 PM, "Geoff Higginbottom"
<geoff.higginbot...@shapeblue.com> wrote:
Hi Ian,
I always have a standatd set of commands at the beginning of every script
defining the required settings such as color false etc.
If I need to use a specific setting such as table output, I always set it
back to default as soon as possible within the script.
This is just my methodology but I make very heavy use of cloudmonkey
scripts and it has not let me down yet.
Regards
Geoff Higginbottom
CTO / Cloud Architect
D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603
0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>
geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
| www.shapeblue.com<htp://www.shapeblue.com/> |
Twitter:@cloudstackguru<https://twitter.com/#!/cloudstackguru>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N
4HS<x-apple-data-detectors://5>
On 27 Feb 2015, at 23:20, Ian Forde
<ifo...@marketo.com<mailto:ifo...@marketo.com>> wrote:
Question - Currently, options set in Cloudmonkey seem to persist into
~/.cloudmonkey/config. For example, if one uses cloudmonkey
interactively, and changes the display setting from json to table (without
putting the setting back to json when finished), any cron jobs that depend
on the output set to json will break. (Unless they explicitly set that
option in their cron script.)
I was wondering if that was a feature? I suppose I could always have
separate cloudmonkey config files for different scripts, but I was
wondering what other folks do…
-I (LLAP)
On 2/27/15, 1:27 AM, "Abhinandan Prateek"
<abhinandan.prat...@shapeblue.com<mailto:abhinandan.prat...@shapeblue.com>
wrote:
+1
I have been using cloud monkey to bootstrap a cloud with advance zone.
-abhi
On 27-Feb-2015, at 11:33 am, Rohit Yadav
<rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>>
wrote:
Hi Lucian/Geoff,
Yeah, I had included both users@ and dev@ ML so please reply to dev@ or
both to get it on dev@ :)
On 26-Feb-2015, at 9:11 pm, Nux! <n...@li.nux.ro<mailto:n...@li.nux.ro>>
wrote:
+1 from me, as well.
PS: shouldn't this also go to dev@ ?
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro<http://www.nux.ro>
----- Original Message -----
From: "Geoff Higginbottom"
<geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Sent: Thursday, 26 February, 2015 15:19:46
Subject: RE: [VOTE] Apache CloudStack CloudMonkey 5.3.1 RC4
+1
Have been using on a daily basis for a number of weeks using both
command line
and heavily in many different scripts.
Regards
Geoff Higginbottom
D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com>
-----Original Message-----
From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com]
Sent: 26 February 2015 10:56
To: dev; users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Subject: [VOTE] Apache CloudStack CloudMonkey 5.3.1 RC4
Hi All,
CloudMonkey master branch has been rather stable since last two
months.
It has been already tested by many since the last three 5.3.1 RC
candidates.
Please take some time to do basic tests and vote for a speedy
release. Thanks.
I've created a 5.3.1 release candidate of CloudMonkey, with the
following
artifacts up for a vote:
Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=
shortlog;h=refs/heads/master
Commit: 7b66d39376d2711443a4b91af8375bdf3ae690b5
List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=
blob_plain;f=CHANGES.md
Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/
PGP release keys (signed using 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS
For ease of testing, the CloudMonkey 5.3.1 RC4 candidate is uploaded
on PYPI and
can be installed using:
pip install cloudmonkey==5.3.1
Though the PYPI page will have 5.3.0 as default until we unhide 5.3.1
package on
https://pypi.python.org/pypi/cloudmonkey
For usage and other information please refer to this wiki:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloud
monkey+CLI
Vote will be open for 72 hours.
For sanity in tallying the vote, can PMC members please be sure to
indicate
"(binding)" with their vote?
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 |
rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>
Blog: bhaisaab.org<http://bhaisaab.org> | Twitter: @_bhaisaab
Find out more about ShapeBlue and our range of CloudStack related
services
IaaS Cloud Design &
Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment
framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training
Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are
intended solely
for the use of the individual to whom it is addressed. Any views or
opinions
expressed are solely those of the author and do not necessarily
represent those
of Shape Blue Ltd or related companies. If you are not the intended
recipient
of this email, you must neither take any action based upon its
contents, nor
copy or show it to anyone. Please contact the sender if you believe
you have
received this email in error. Shape Blue Ltd is a company
incorporated in
England & Wales. ShapeBlue Services India LLP is a company
incorporated in
India and is operated under license from Shape Blue Ltd. Shape Blue
Brasil
Consultoria Ltda is a company incorporated in Brasil and is operated
under
license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by
The Republic of South Africa and is traded under license from Shape
Blue Ltd.
ShapeBlue is a registered trademark.
Find out more about ShapeBlue and our range of CloudStack related
services
IaaS Cloud Design &
Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment
framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training
Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are
intended solely
for the use of the individual to whom it is addressed. Any views or
opinions
expressed are solely those of the author and do not necessarily
represent those
of Shape Blue Ltd or related companies. If you are not the intended
recipient
of this email, you must neither take any action based upon its
contents, nor
copy or show it to anyone. Please contact the sender if you believe
you have
received this email in error. Shape Blue Ltd is a company
incorporated in
England & Wales. ShapeBlue Services India LLP is a company
incorporated in
India and is operated under license from Shape Blue Ltd. Shape Blue
Brasil
Consultoria Ltda is a company incorporated in Brasil and is operated
under
license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by
The Republic of South Africa and is traded under license from Shape
Blue Ltd.
ShapeBlue is a registered trademark.
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 |
rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>
Blog: bhaisaab.org<http://bhaisaab.org> | Twitter: @_bhaisaab
Find out more about ShapeBlue and our range of CloudStack related
services
IaaS Cloud Design &
Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training
Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do
not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither
take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue Services India LLP is a company incorporated in India and is
operated under license from Shape Blue Ltd. Shape Blue Brasil
Consultoria Ltda is a company incorporated in Brasil and is operated
under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license
from Shape Blue Ltd. ShapeBlue is a registered trademark.
Find out more about ShapeBlue and our range of CloudStack related services
IaaS Cloud Design &
Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training
Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views
or opinions expressed are solely those of the author and do not
necessarily represent those of Shape Blue Ltd or related companies. If
you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone. Please
contact the sender if you believe you have received this email in error.
Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
a company incorporated in Brasil and is operated under license from Shape
Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
is a registered trademark.
Find out more about ShapeBlue and our range of CloudStack related services
IaaS Cloud Design &
Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training
Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views
or opinions expressed are solely those of the author and do not
necessarily represent those of Shape Blue Ltd or related companies. If
you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone. Please
contact the sender if you believe you have received this email in error.
Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
a company incorporated in Brasil and is operated under license from Shape
Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
is a registered trademark.
--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are intended solely
for the use of the individual to whom it is addressed. Any views or opinions
expressed are solely those of the author and do not necessarily represent those of
Shape Blue Ltd or related companies. If you are not the intended recipient of this
email, you must neither take any action based upon its contents, nor copy or show
it to anyone. Please contact the sender if you believe you have received this email
in error. Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue
SA Pty Ltd is a company registered by The Republic of South Africa and is traded
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.