Hi Ilya, > On 05-Dec-2014, at 4:00 am, ilya musayev <[email protected]> wrote: > > 1) When executing cloudmonkey in batch mode, it would be nice to provide exit > codes - but this may not be something easily done due to how cloudstack > responds.
The latest CloudMonkey 5.3.0 returns non-zero exit code when a CloudStack API fails. It would be great to discuss if there are any specific error code it should return based on the failed API, as I don’t know which ones to use. If I know that, I should be able to easily implement it. On shell (not as interpreter) it prints without any color and outputs errors on stderr. Errors are more verbose now that include any cs error code and HTTP error code with the returned json. Any discussions on this on what/how we can improve this or any patch contributions would be great. > 2) One other major useful feature would be, dump all configs from one CS host > as json, import configs into another. This way configuration of new CS hosts > becomes really easy. By config, do you mean global settings? I want to keep the tool simply but I’m thinking of refactoring CloudMonkey’s code so people can write plugins for it that could control it’s behaviour, color/themes, output styles etc. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | [email protected] Blog: 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.
