RE: [ACS42] Resolved Defects

2013-09-18 Thread Paul Angus
Sudha,

No one has picked up CLOUDSTACK-4624 
(https://issues.apache.org/jira/browse/CLOUDSTACK-4624) which is a blocker for 
anyone using security groups in advanced zones.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: 18 September 2013 07:57
To: dev@cloudstack.apache.org
Subject: [ACS42] Resolved Defects

Please validate and close the following as release is getting closed now

Reporter  Total
Abhinandan Prateek  2
Ahmad Emneina   2
Alena Prokharchyk  12
angeline shen5
Anthony Xu4
Ashutosk Kelkar   1
Bharat Kumar12
Brian Angus1
Brian Federle 2
Brian Spindler2
Chandan Purushothama   16
Chiradeep Vittal   1
Dave Brosius  1
Dave Cahill  1
David Noland 1
david vz1
Devdeep Singh 3
Diogo Monteiro1
Fang Wang  4
Francois Gaudreault   1
Gaurav Aradhye   1
Harikrishna Patnala 7
Hiroaki Kawai 2
Hongtu Zang  2
Hugo Trippaers 1
ilya musayev  3
Isaac Chiang   3
Jayapal Reddy   4
Jessica Tomechak2
Jessica Wang  2
John Burwell  3
Kelven Yang   2
Kishan Kavala 9
Koushik Das2
Likitha Shetty 4
Max Clark1
Mice Xia   1
Milamber2
Min Chen1
Minying Bao   2
Murali Reddy 8
Nick Wales  1
Nitin Mehta18
Parth Jagirdar1
Paul Angus  1
Prachi Damle  9
Pranav Saxena  1
Prasanna Santhanam 4
Radhika Nair   8
Rajesh Battala   3
Ram Ganesh  2
Rayees Namathponnan6
roxanne chang  1
sadhu suresh 4
Sailaja Mada   4
Saksham Srivastava 8
Sangeetha Hariharan  2
Sanjay Tripathi  1
Sanjeev N   5
Sateesh Chodapuneedi 11
sebastien goasguen1
Shane Witbeck  1
Shanker Balan   1
Sheng Yang 3
shweta agarwal1
Simon Waterhouse 1
Simon Weller 1
Sowmya Krishnan3
Sreekanth Challa  1
Srikanteswararao Talluri2
Sudha Ponnaganti   1
Toshiaki Hatano2
Venkata Siva Vijayendra Bhamidipati  4
venkata swamybabu budumuru   2
XxYton  1
Grand Total250
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


[4.2] [xenserver] [system vms] Xentools

2013-10-08 Thread Paul Angus
Hi all,

The current XenServer system VM template doesn't seem to include XenServer 
Tools - is this by design?


systemvmtemplate-2013-07-12-master-xen.vhd.bz2


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: CloudyAngus
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses
02/03 October, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
13/14 November, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
27/28 November, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
08/09 January 2014, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 is a registered trademark.


RE: [4.2] [xenserver] [system vms] Xentools

2013-10-09 Thread Paul Angus
Thanks Daan.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
Sent: 09 October 2013 08:15
To: dev
Cc: Joris van Lieshout
Subject: Re: [4.2] [xenserver] [system vms] Xentools

Paul, Harikrishna,

A colleague at Schuberg Philis created a template with the xenserver tools.  He 
was going to give the template back to the communitee. I think he is too busy 
but I'll remind him/ask him for the status.

regards,
Daan

On Tue, Oct 8, 2013 at 1:14 PM, Harikrishna Patnala 
 wrote:
> Hi,
> Earlier there was discussion on putting xen tools in systemvms. Please
> look into that.
> http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201309.mbox/%3
> cce676527.4398b%25abhinandan.prat...@citrix.com%3E
>
>
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Tuesday, October 08, 2013 1:36 PM
> To: dev@cloudstack.apache.org
> Subject: [4.2] [xenserver] [system vms] Xentools
>
> Hi all,
>
> The current XenServer system VM template doesn't seem to include XenServer 
> Tools - is this by design?
>
>
> systemvmtemplate-2013-07-12-master-xen.vhd.bz2
>
>
> Regards
>
> Paul Angus
> Senior Consultant / Cloud Architect
>
> [cid:image002.png@01CE1071.C6CC9C10]
>
> S: +44 20 3603 0540 | M:
> +447711418784 | T: CloudyAngus
> paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> Apache CloudStack Bootcamp training courses
> 02/03 October,
> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 13/14 November,
> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 27/28 November,
> Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course
> />
> 08/09 January 2014,
> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>
> 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 is a registered 
> trademark.
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 is a registered trademark.


4.0.x to 4.2 upgrade

2013-10-13 Thread Paul Angus
Hey,

I've come across a few people trying to upgrade from 4.0.x to 4.2 having 
problems.

It's not an upgrade that's mentioned in the release notes and the ../setup/db 
directory contains sql scripts to update the db from 4.0 to 4.1 and 4.1 to 4.2 
- so I guess it has to be a two-step upgrade?

Can someone confirm the upgrade process from 4.0.x to 4.2



Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: CloudyAngus
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses
02/03 October, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
13/14 November, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
27/28 November, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
08/09 January 2014, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 is a registered trademark.


KVM HA tuning

2013-10-30 Thread Paul Angus
Hi Guys,

I've been testing KVM HA in 4.2.1-SNAPSHOT and it seems to be working great.  
There seems to be a consistent 5 minute wait between killing a host and 
CloudStack marking the host and VMs as down and then carrying out HA actions.  
Is this delay customisable or is it hard coded somewhere?

Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image003.png@01CED54F.82425140]

S: +44 20 3603 0540 | M: +447711418784 | 
T: CloudyAngus
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses:
**NEW!** CloudStack 4.2 
training<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
13/14 November, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
09-13 December, GLOBAL. Instructor led, 
On-line<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
27/28 November, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
08/09 January 2014, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 is a registered trademark.


4-2-advanced-zone-security-group

2013-05-18 Thread Paul Angus
Hi Anthony,

I've been doing some testing on the [4-2-advanced-zone-security-group] branch.

I found that the 'Add Guest Network' button does not work from the Network tab 
(it does via Zone > Physical Network > Guest).
I've tried as root admin and a domain guest. And using chrome and Firefox - no 
joy.

Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image002.png@01CE53F1.89ACF3C0]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
20/21 May, London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: 4-2-advanced-zone-security-group

2013-05-18 Thread Paul Angus
The options in the UI look very different from the current add guest network 
options.  Where would I find the API call required for adding a guest network 
for 4.2 [sg in advanced zones] documented (sorry if I'm just being lazy).


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Ahmad Emneina [mailto:aemne...@gmail.com]
Sent: 18 May 2013 23:15
To: dev@cloudstack.apache.org
Subject: Re: 4-2-advanced-zone-security-group

Sorry Pranav, I wasnt trying to single it out as a UI issue, at least not until 
the root cause is identified. I recommend firing up firebug or dev tools 
(depending on browser) and see if an API call is being made when hitting that 
button. Then we can figure out whats going wrong.


On Sat, May 18, 2013 at 12:52 PM, Pranav Saxena wrote:

> It could be an issue on that branch though it works absolutely fine on
> master. Some code check-in might have affected the UI functionality there .
> You could raise a JIRA ticket perhaps.
>
> Thanks,
> Pranav
>
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Saturday, May 18, 2013 10:30 PM
> To: dev@cloudstack.apache.org
> Cc: Anthony Xu
> Subject: 4-2-advanced-zone-security-group
>
> Hi Anthony,
>
> I've been doing some testing on the [4-2-advanced-zone-security-group]
> branch.
>
> I found that the 'Add Guest Network' button does not work from the
> Network tab (it does via Zone > Physical Network > Guest).
> I've tried as root admin and a domain guest. And using chrome and
> Firefox
> - no joy.
>
> Regards,
>
> Paul Angus
> Senior Consultant / Cloud Architect
> [cid:image002.png@01CE53F1.89ACF3C0]
>
> S: +44 20 3603 0540 | M: +4 >47711418784
> paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> ShapeBlue are proud to be sponsoring CloudStack Collaboration
> Conference NA [
> https://cwiki.apache.org/confluence/download/attachments/30760149/Clou
> dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?ver
> sion=3&modificationDate=1367282397297
> ]<http://www.cloudstackcollab.net/>
>
> Apache CloudStack Bootcamp training courses
> 20/21 May, London<
> http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 22/23 June, Santa Clara  CA<
> http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>
> 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 operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: 4-2-advanced-zone-security-group

2013-05-19 Thread Paul Angus
Firebug shows that pressing the 'Add Guest Network' button
Sends a request to list zones...

http://10.0.0.11:8080/client/api?command=listZones&response=json&sessionkey=Sh7AB%2FpSYASsNVLeZflAG4WeFwQ%3D&_=1369031332187

which is returned:

{ "listzonesresponse" : { "count":1 ,"zone" : [  
{"id":"64df012f-2027-4e37-83ec-5bbab9682808","name":"TestZone","dns1":"8.8.8.8","internaldns1":"8.8.4.4","networktype":"Advanced","securitygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"2ee762ab-afcf-3e62-b523-dc21b69e3af1","dhcpprovider":"VirtualRouter","localstorageenabled":false}
 ] } }



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
Sent: 19 May 2013 06:46
To: dev@cloudstack.apache.org; aemne...@gmail.com
Subject: RE: 4-2-advanced-zone-security-group

As Ahmad pointed out , you could probably see what API calls are going through 
in the Firebug console when you try to create an advanced zone with security 
groups enabled. And , also check  , in case there any specific UI errors 
occurring when you click the Add guest network option .

Thanks,
Pranav

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Sunday, May 19, 2013 5:28 AM
To: dev@cloudstack.apache.org; aemne...@gmail.com
Subject: RE: 4-2-advanced-zone-security-group

The options in the UI look very different from the current add guest network 
options.  Where would I find the API call required for adding a guest network 
for 4.2 [sg in advanced zones] documented (sorry if I'm just being lazy).


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Ahmad Emneina [mailto:aemne...@gmail.com]
Sent: 18 May 2013 23:15
To: dev@cloudstack.apache.org
Subject: Re: 4-2-advanced-zone-security-group

Sorry Pranav, I wasnt trying to single it out as a UI issue, at least not until 
the root cause is identified. I recommend firing up firebug or dev tools 
(depending on browser) and see if an API call is being made when hitting that 
button. Then we can figure out whats going wrong.


On Sat, May 18, 2013 at 12:52 PM, Pranav Saxena wrote:

> It could be an issue on that branch though it works absolutely fine on
> master. Some code check-in might have affected the UI functionality there .
> You could raise a JIRA ticket perhaps.
>
> Thanks,
> Pranav
>
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Saturday, May 18, 2013 10:30 PM
> To: dev@cloudstack.apache.org
> Cc: Anthony Xu
> Subject: 4-2-advanced-zone-security-group
>
> Hi Anthony,
>
> I've been doing some testing on the [4-2-advanced-zone-security-group]
> branch.
>
> I found that the 'Add Guest Network' button does not work from the
> Network tab (it does via Zone > Physical Network > Guest).
> I've tried as root admin and a domain guest. And using chrome and
> Firefox
> - no joy.
>
> Regards,
>
> Paul Angus
> Senior Consultant / Cloud Architect
> [cid:image002.png@01CE53F1.89ACF3C0]
>
> S: +44 20 3603 0540 | M: +4 >47711418784
> paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> ShapeBlue are proud to be sponsoring CloudStack Collaboration
> Conference NA [
> https://cwiki.apache.org/confluence/download/attachments/30760149/Clou
> dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?ver
> sion=3&modificationDate=1367282397297
> ]<http://www.cloudstackcollab.net/>
>
> Apache CloudStack Bootcamp training courses
> 20/21 May, London<
> http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 22/23 June, Santa Clara  CA<
> http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>
> 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 operated under
> license from Shape Blue Ltd. ShapeBlue i

RE: 4-2-advanced-zone-security-group

2013-05-20 Thread Paul Angus


Presumably the button is currently just a place holder then as it actually 
sends a listzones API call?


http://10.0.0.11:8080/client/api?command=listZones&response=json&sessionkey=Sh7AB%2FpSYASsNVLeZflAG4WeFwQ%3D&_=1369031332187



which is returned:



{ "listzonesresponse" : { "count":1 ,"zone" : [  
{"id":"64df012f-2027-4e37-83ec-5bbab9682808","name":"TestZone","dns1":"8.8.8.8","internaldns1":"8.8.4.4","networktype":"Advanced","securitygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"2ee762ab-afcf-3e62-b523-dc21b69e3af1","dhcpprovider":"VirtualRouter","localstorageenabled":false}
 ] } }

Although your reply suggests to me that I should be able to create other 
non-security group networks in this zone?

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Anthony Xu [mailto:xuefei...@citrix.com]
Sent: 20 May 2013 19:21
To: Paul Angus; dev@cloudstack.apache.org
Subject: RE: 4-2-advanced-zone-security-group

Thanks for reporting this,

It didn't work in normal advanced zone or advanced zone with security group.

In advanced zone with security group, only one shared network security group 
network is supported, which is created when you create the zone, you may not be 
able to create another guest network.


Anthony

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Saturday, May 18, 2013 10:00 AM
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Cc: Anthony Xu
Subject: 4-2-advanced-zone-security-group

Hi Anthony,

I've been doing some testing on the [4-2-advanced-zone-security-group] branch.

I found that the 'Add Guest Network' button does not work from the Network tab 
(it does via Zone > Physical Network > Guest).
I've tried as root admin and a domain guest. And using chrome and Firefox - no 
joy.

Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image001.png@01CE55EE.977FDE00]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
20/21 May, London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


[ACS41] can't start cloudstack-management service

2013-05-31 Thread Paul Angus
Hi,

On clean builds of 4.1-SNAPSHOT I'm getting an issue where the 
cloudstack-management service can't start because of the permissions on 
/var/log/cloudstack/management/catalina.out

If I change the permissions to allow root user and group has full control of 
the file. Then the service can start.

Is anyone else seeing this?  What should the user and group permissions be?


Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image002.png@01CE5E97.052CD560]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
20/21 May, London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


[ACS4.1.0]

2013-06-07 Thread Paul Angus
Guys,

The installation guide for 4.1.0 says that the convenience RPMs are located in:

baseurl=http://cloudstack.apt-get.eu/rhel/4.0/

they're actually in

http://cloudstack.apt-get.eu/rhel/4.1/

is the documentation wrong or have they been uploaded to the wrong place?

Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image004.png@01CE635E.50C5D0A0]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
20/21 May, London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Contributing as a non-committer

2013-06-07 Thread Paul Angus
Guys,

I'm just trying to get up to speed with how I can contribute more (starting 
with a minor doc fix) but the link  
http://cloudstack.apache.org/develop/non-contributors.html is broken.

Can it be fixed pls (does it count as a bug that I need to report). Is there an 
alternate link for the time being?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
19/20 June, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
10/11 July, Bangalore, 
India<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Contributing as a non-committer

2013-06-08 Thread Paul Angus
Thanks Kelsey


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Kelcey Jamison Damage [mailto:kel...@bbits.ca]
Sent: 07 June 2013 22:19
To: dev@cloudstack.apache.org
Subject: Re: Contributing as a non-committer

As a non-committer follow these steps:

http://cloudstack.apache.org/develop/non-committer.html

hope that helps.

- Original Message -
From: "Paul Angus" 
To: dev@cloudstack.apache.org
Cc: "Sebastien Goasguen" 
Sent: Friday, June 7, 2013 1:55:17 PM
Subject: Contributing as a non-committer

Guys,

I'm just trying to get up to speed with how I can contribute more (starting 
with a minor doc fix) but the link  
http://cloudstack.apache.org/develop/non-contributors.html is broken.

Can it be fixed pls (does it count as a bug that I need to report). Is there an 
alternate link for the time being?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA 
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
19/20 June, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
10/11 July, Bangalore, 
India<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Contributing as a non-committer

2013-06-08 Thread Paul Angus
Hi Joe,

It's on

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Home
under 'Developer Docs and Resources'



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net]
Sent: 08 June 2013 23:04
To: dev@cloudstack.apache.org
Subject: Re: Contributing as a non-committer

Paul, where are you seeing that link?

On Fri, Jun 7, 2013, at 03:55 PM, Paul Angus wrote:
> Guys,
>
> I'm just trying to get up to speed with how I can contribute more
> (starting with a minor doc fix) but the link
> http://cloudstack.apache.org/develop/non-contributors.html is broken.
>
> Can it be fixed pls (does it count as a bug that I need to report). Is
> there an alternate link for the time being?
>
>
> Regards
>
> Paul Angus
> Senior Consultant / Cloud Architect
>
> [cid:image002.png@01CE1071.C6CC9C10]
>
> S: +44 20 3603 0540 | M:
> +447711418784
> paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> ShapeBlue are proud to be sponsoring CloudStack Collaboration
> Conference NA
> [https://cwiki.apache.org/confluence/download/attachments/30760149/Clo
> udStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?ve
> rsion=3&modificationDate=1367282397297]<http://www.cloudstackcollab.ne
> t/>
>
> Apache CloudStack Bootcamp training courses
> 19/20 June,
> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 22/23 June, Santa Clara
> CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 10/11 July, Bangalore,
> India<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
> 21/22 August,
> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>
> 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 operated under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Best,

jzb
--
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Contributing as a non-committer

2013-06-10 Thread Paul Angus
Thanks Seb,
I've bought pro git as extra reading too.

Now I'm trying to setup my dev environment, the 'Setting Up an Apache 
CloudStack Development Environment' says
"Most Apache CloudStack developers use Eclipse as their primary IDE. CloudStack 
source code already includes Eclipse .project file in each project folder"

But I can't find the .project file in the CloudStack directory...?


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com]
Sent: 09 June 2013 08:46
To: dev@cloudstack.apache.org
Subject: Re: Contributing as a non-committer

Paul, I fixed the wiki link.

Thanks for reporting it, note that if you have a wiki account you can edit the 
page yourself and edit it.

Let us know if the instructions are not clear. I also have a screencast on git 
basics for non-committers:
http://www.youtube.com/watch?v=3c5JIW4onGk&list=PLb899uhkHRoZCRE00h_9CRgUSiHEgFDbC&index=5



-sebastien

On Jun 9, 2013, at 2:28 AM, Paul Angus  wrote:

> Hi Joe,
>
> It's on
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Home
> under 'Developer Docs and Resources'
>
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Joe Brockmeier [mailto:j...@zonker.net]
> Sent: 08 June 2013 23:04
> To: dev@cloudstack.apache.org
> Subject: Re: Contributing as a non-committer
>
> Paul, where are you seeing that link?
>
> On Fri, Jun 7, 2013, at 03:55 PM, Paul Angus wrote:
>> Guys,
>>
>> I'm just trying to get up to speed with how I can contribute more
>> (starting with a minor doc fix) but the link
>> http://cloudstack.apache.org/develop/non-contributors.html is broken.
>>
>> Can it be fixed pls (does it count as a bug that I need to report).
>> Is there an alternate link for the time being?
>>
>>
>> Regards
>>
>> Paul Angus
>> Senior Consultant / Cloud Architect
>>
>> [cid:image002.png@01CE1071.C6CC9C10]
>>
>> S: +44 20 3603 0540 | M:
>> +447711418784
>> paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
>> www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>>
>> ShapeBlue are proud to be sponsoring CloudStack Collaboration
>> Conference NA
>> [https://cwiki.apache.org/confluence/download/attachments/30760149/Cl
>> o
>> udStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?v
>> udStack+Collaboration+Conference+Banner+v2+Blue+Background+e
>> rsion=3&modificationDate=1367282397297]<http://www.cloudstackcollab.n
>> e
>> t/>
>>
>> Apache CloudStack Bootcamp training courses
>> 19/20 June,
>> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>> 22/23 June, Santa Clara
>> CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>> 10/11 July, Bangalore,
>> India<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>> 21/22 August,
>> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>>
>> 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 operated under license from Shape Blue Ltd.
>> ShapeBlue is a registered trademark.
>
>
> Best,
>
> jzb
> --
> Joe Brockmeier
> j...@zonker.net
> Twitter: @jzb
> http://www.dissociatedpress.net/
>
> 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 

RE: PCI-Passthrough with CloudStack

2013-06-11 Thread Paul Angus
We're working with 'a very large broadcasting company' how are using cavium 
cards for ssl offload in all of their hosts

We need to add:







Into the xml definition of the guest VMs

I'm very interested in working you guys to make this an integrated part of 
CloudStack

Interestingly cavium card drivers can present a number of virtual interfaces 
specifically designed to be passed through to guest vms, but these must be 
addressed separately so a single 'stock' xml definition wouldn't be flexible 
enough to fully utilise the card.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Kelven Yang [mailto:kelven.y...@citrix.com]
Sent: 11 June 2013 18:10
To: dev@cloudstack.apache.org
Cc: Ryousei Takano
Subject: Re: PCI-Passthrough with CloudStack



On 6/11/13 12:52 AM, "Pawit Pornkitprasan"  wrote:

>Hi,
>
>I am implementing PCI-Passthrough to use with CloudStack for use with
>high-performance networking (10 Gigabit Ethernet/Infiniband).
>
>The current design is to attach a PCI ID (from lspci) to a compute
>offering. (Not a network offering since from CloudStack¹s point of
>view, the pass through device has nothing to do with network and may as
>well be used for other things.) A host tag can be used to limit
>deployment to machines with the required PCI device.


>
>Then, when starting the virtual machine, the PCI ID is passed into
>VirtualMachineTO to the agent (currently using KVM) and the agent
>creates a corresponding  (
>http://libvirt.org/guide/html/Application_Development_Guide-Device_Conf
>ig-
>PCI_Pass.html)
>tag and then libvirt will handle the rest.


VirtualMachineTO.params is designed to carry generic VM specific 
configurations, these configuration parameters can either be statically linked 
with the VM or dynamically populated based on other factors like this one. Are 
you passing PCI ID using VirtualMachineTO.params?

>
>For allocation, the current idea is to use CloudStack¹s capacity system
>(at the same place where allocation of CPU and RAM is determined) to
>limit 1 PCI-Passthrough VM per physical host.
>
>The current design has many limitations such as:
>
>   - One physical host can only have 1 VM with PCI-Passthrough, even if
>   many PCI-cards with equivalent functions are available
>   - The PCI ID is fixed inside the compute offering, so all machines have
>   to be homogeneous and have the same PCI ID for the device.

Anything that affects VM placement could have impact to HA/migration, we 
probably need some graceful error-handling in these code paths, hopefully these 
have been taken care of.

>
>The initial implementation is working. Any suggestions and comments are
>welcomed.
>
>Thank you,
>Pawit


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Contributing as a non-committer

2013-06-11 Thread Paul Angus
I've got an etch-a-sketch, will that work?


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net]
Sent: 11 June 2013 16:35
To: dev@cloudstack.apache.org
Subject: Re: Contributing as a non-committer

On Mon, Jun 10, 2013, at 10:03 PM, Alex Huang wrote:
> > Forget about eclipse for now :) just use vi :)
>
> Why don't we just go back to ed?

+1

Alex - do you want to start the vote? ;-)

Best,

jzb
--
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: PCI-Passthrough with CloudStack (Improved)

2013-06-20 Thread Paul Angus
Hi,

Will you be looking at/documenting the need to enable PCI pass-through by 
creating a customised kernel for KVM hosts?

[we've needed to change the DMAR flag to 'on' by default]


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Pawit Pornkitprasan [mailto:p.pa...@gmail.com]
Sent: 20 June 2013 05:38
To: dev@cloudstack.apache.org
Cc: Ryousei Takano; Pawit Pornkitprasan
Subject: Re: PCI-Passthrough with CloudStack (Improved)

Hi,

I've forgot to describe the detach-attach mechanism, so I'll describe it in 
this reply.

PCI Device detach is done automatically by the agent when a MigrateCommand is 
processed. In KVM case, the server gets a list of attached PCI devices from 
libvirt's XML and detach very device. If detach is not successful (i.e. the 
guest does not have the acpiphp module loaded), libvirt will error out and the 
migration will be canceled.

For re-attachment: Before the migration start, a PCI Device on the new host is 
assigned by PciDeviceManager and the one on the old host is freed (also on 
state change event). After the migration is successful, PciDeviceManager sends 
AttachPciDevicesCommand to the new agent with a list of the PCI IDs on the new 
host and the agent orders libvirt to attach it based on the command.

Best Regards,
Pawit

On Thu, Jun 20, 2013 at 1:12 PM, Pawit Pornkitprasan  wrote:
> Hi,
>
> Following my previous post about implementing PCI Passthrough on
> CloudStack (KVM), I have taken Edison Su's and others' comments into
> account and came up with an improved design.
>
> Because the devices available at each agent may be different, the
> available devices for passthrough are now configured at the agent
> configuration file (/etc/cloudstack/agent/agent.properties).
> Configuration is a comma separated list of available PCI devices and
> its given name.
>
> pci.devices=28:00.1|10GE,28:00.2|10GE,28:00.3|10GE,28:00.4|10GE,28:00.
> 5|10GE,28:00.6|10GE,28:00.7|10GE,28:01.0|10GE
>
> At agent startup, the list of PCI devices is parsed and sent together
> with StartupRoutingCommand (in a new field, not in details). The
> management server then stores it in a new table "op_host_pci_devices".
> If a device is added, removed, or renamed, the table is updated
> accordingly. The current schema has the following fields
>
> id (auto-increment)
> host_id (host that this device belongs to) name (given name of the PCI
> device) domain (PCI ID - domain) bus (PCI ID - bus) slot (PCI ID -
> slot) function (PCI ID - function) instance_id (ID of the VM using the
> PCI device, NULL if not in use)
>
> The "name" of the PCI device is what is used to assign a device. In a
> compute offering, the user can specify the name of one or more PCI
> devices (as a comma-separated list) and CloudStack will find a host
> with the PCI device of the specified name available and assign it.
>
> A new manager, PciDeviceManager, is then created to handle the
> allocation of PCI device. The manager implements StateListener and
> assigns PCI devices on state change to "starting" and also release the
> devices VM stop. First fit allocator and first fit planner are also
> modified to check for PCI device availability accordingly.
>
> For migration, there are 2 approaches. The first approach is to forbid
> migration and is straightforward. The second approach is to PCI
> Hotplug to detach the device, migrate and attach it again at the other
> end. This will interrupt whatever is using the device on the VM.
> However, it may be desirable for networking devices where the VM can
> use a bonding device to channel network traffic through a standard
> virtualized network device while the PCI Passthrough device is down.
>
> The design mentioned here (including detach-attach migration) has been
> implemented in code and is working. Again, comments and suggestions
> are welcomed.
>
> Best Regards,
> Pawit

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Master build problem

2013-06-29 Thread Paul Angus
Is this fix in the new 4.2 branch?  I'm getting the following error when trying 
to log in to the management UI. (UI reports 'Invalid Username or Password')

2013-06-30 07:12:33,779 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-5:null) Attempting to log in user: admin in domain 1
2013-06-30 07:12:33,779 DEBUG [server.auth.SHA256SaltedUserAuthenticator] 
(catalina-exec-5:null) Retrieving user: admin
2013-06-30 07:12:33,782 WARN  [server.auth.SHA256SaltedUserAuthenticator] 
(catalina-exec-5:null) The stored password for admin isn't in the right format 
for this authenticator



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com



-Original Message-
From: Soheil Eizadi [mailto:seiz...@infoblox.com]
Sent: 27 June 2013 20:17
To: dev@cloudstack.apache.org
Subject: RE: Master build problem

Hi Prasanna,
I am glad the problem is fixed on master. I will pull it next time I merge with 
master.
Thanks,
-Soheil

From: Prasanna Santhanam [t...@apache.org]
Sent: Wednesday, June 26, 2013 9:47 PM
To: dev@cloudstack.apache.org
Subject: Re: Master build problem

Hiroaki fixed this with 39ef9240e87234afc2d4ddb37beaa63fe3240e4a. Do you have 
that commit SHA in your branch?

On Wed, Jun 26, 2013 at 06:45:20PM +, Soheil Eizadi wrote:
> I don't see a fix checked in for that, my merged branch is ahead of master. 
> It looks like it is due to the SSP Plugin checkin yesterday. If I had to 
> guess the component is not included in the client/pom.xml. I commented out 
> the plugin  in my branch (removed it from componentContext.xml.in) and I can 
> run the image now.
> -Soheil
>
> Administrators-MacBook-Pro-7:client seizadi$ pwd
> /Users/seizadi/cloudstack/infoblox_branch/cloudstack/client
>
> Administrators-MacBook-Pro-7:client seizadi$ fgrep "cloud-plugin-network" 
> pom.xml
>   cloud-plugin-network-nvp
>   cloud-plugin-network-ovs
>   cloud-plugin-network-elb
>   cloud-plugin-network-vns
>   cloud-plugin-network-midonet
>   cloud-plugin-network-internallb
>   cloud-plugin-network-infoblox
>   cloud-plugin-network-f5
>   cloud-plugin-network-netscaler
>   cloud-plugin-network-srx
>   cloud-plugin-network-cisco-vnmc
>
> 
> From: Min Chen [min.c...@citrix.com]
> Sent: Wednesday, June 26, 2013 11:07 AM
> To: dev@cloudstack.apache.org
> Subject: Re: Master build problem
>
> I got latest master and able to start MS. I think that Prasanna has
> fixed that with a later checkin.
>
> Thanks
> -min
>
> On 6/26/13 11:02 AM, "Soheil Eizadi"  wrote:
>
> >I merged the latest master into my branch and could not run it. I
> >switched to master branch and built it but can not run it either, has
> >anyone else seen this problem with sspCredentialDaoImpl?
> >
> >ERROR [web.context.ContextLoader] (main:) Context initialization
> >failed
> >org.springframework.beans.factory.BeanCreationException: Error
> >creating bean with name 'actionEventUtils': Injection of autowired
> >dependencies failed; nested exception is
> >org.springframework.beans.factory.BeanCreationException: Could not
> >autowire field: com.cloud.event.dao.EventDao
> >com.cloud.event.ActionEventUtils.eventDao; nested exception is
> >org.springframework.beans.factory.CannotLoadBeanClassException:
> >Cannot find class [com.cloud.network.dao.SspCredentialDaoImpl] for
> >bean with name 'sspCredentialDaoImpl' defined in class path resource
> >[componentContext.xml]; nested exception is
> >java.lang.ClassNotFoundException:
> >com.cloud.network.dao.SspCredentialDaoImpl
>

--
Prasanna.,


Powered by BigRock.com


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Master build problem

2013-06-30 Thread Paul Angus
Hi Prasanna,

Here is the section from the componentContext.xml file.  The username/password 
in the user table is admin / 0.724297075275608

The state was is "disabled" by default I changed it to enabled but it didn't 
make a difference.

 

  
  
  
  
  
  

  
  

  
  
  
  
  
  

  

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: 30 June 2013 17:50
To: dev@cloudstack.apache.org
Subject: Re: Master build problem

On Sun, Jun 30, 2013 at 06:47:22AM +0000, Paul Angus wrote:
> Is this fix in the new 4.2 branch?  I'm getting the following error
> when trying to log in to the management UI. (UI reports 'Invalid
> Username or Password')
>
> 2013-06-30 07:12:33,779 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-5:null) Attempting to log in user: admin in domain 1
> 2013-06-30 07:12:33,779 DEBUG
> [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-5:null)
> Retrieving user: admin
> 2013-06-30 07:12:33,782 WARN
> [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-5:null) The
> stored password for admin isn't in the right format for this
> authenticator
>

This sounds unrelated to the previous error described in this thread.

Did you redeploy the database? If not what are your passwords hashed as 
(MD5/SHA256/PlainText) in the cloud.account table? And what's in the 
componentContext.xml?  Specifically, the order of authenticators.

--
Prasanna.,


Powered by BigRock.com


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Master build problem

2013-07-01 Thread Paul Angus
This was a completely fresh build from the 4.2 branch (oss).

I don't use dev cloud as it's not representative of a real environment. I ran:

yum install -y cloud-client # run against local 4.2 repo
cloudstack-setup-databases cloud:cloud@$MYSQLIP --deploy-as=root:password
cloudstack-setup-management

that's it...

as a work around I assume I can open the unauthenticated api port and create a 
user (which I know the password for)...



-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: 01 July 2013 07:53
To: dev@cloudstack.apache.org
Subject: Re: Master build problem

On Sun, Jun 30, 2013 at 07:14:38PM +0000, Paul Angus wrote:
> Hi Prasanna,
>
> Here is the section from the componentContext.xml file.  The
> username/password in the user table is admin / 0.724297075275608
>
> The state was is "disabled" by default I changed it to enabled but it didn't 
> make a difference.

There is some kind of bug here. Can you tell us the steps to reproduce this 
from a fresh build? You will need to begin by wiping out the DB, doing the 
build, deploydb and a jetty:run.

What happens is that management server saves random values for user/password on 
startup. In another separate class it sets the password to default of 
admin/password based on the authenticator enabled. It looks like we randomized 
the password but failed to set it to defaults.
--
Prasanna.,


Powered by BigRock.com


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Master build problem

2013-07-01 Thread Paul Angus
:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
... 20 more
2013-07-01 19:14:14,056 ERROR [cloud.server.ConfigurationServerImpl] 
(Timer-1:null) Cannot read the private key file
java.io.FileNotFoundException: /var/cloudstack/management/.ssh/id_rsa (No such 
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:137)
at 
com.cloud.server.ConfigurationServerImpl.updateKeyPairs(ConfigurationServerImpl.java:631)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:292)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at 
com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: 01 July 2013 16:38
To: dev@cloudstack.apache.org
Subject: Re: Master build problem

On Mon, Jul 01, 2013 at 08:44:28AM +, Paul Angus wrote:
> This was a completely fresh build from the 4.2 branch (oss).
>
> I don't use dev cloud as it's not representative of a real environment. I ran:
>
Should fail on devcloud too ideally.

> yum install -y cloud-client # run against local 4.2 repo
> cloudstack-setup-databases cloud:cloud@$MYSQLIP
> --deploy-as=root:password cloudstack-setup-management
>

Ok, thought you were running dev environment. If you see something like "Admin 
user enabled" then everything went fine. Else we'll need to see the management 
server logs to see if any of the classes has misbehaved or hasn't done what 
it's supposed to do.

You can also enable trace level log for two classes in particular that we're 
chasing here: AccountManagerImpl and ConfigurationServerImpl.

See #5 in the wiki https://cwiki.apache.org/confluence/x/5QL8AQ on how to 
achieve this.

com.cloud.user.AccountManagerImpl
com.cloud.server.ConfigurationServerImpl

> that's it...
>
> as a work around I assume I can open the unauthenticated api port and
> create a user (which I know the password for)...

Umm, the system user should also have been randomized credentials so you won't 
be able to login. The security loophole here was fixed sometime ago.

--
Prasanna.,


Powered by BigRock.com


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Master build problem

2013-07-02 Thread Paul Angus
So  my vm for CSMan had 2GB RAM, but because it was only a 16GB disk, no 
swap partition had been created.

I created a 1GB swap file and now the setup completes and I can log in

Thanks Hugo/Prasanna.



Is there any documentation around memory requirements for the CloudStack 
management server(s) as the requirement has obviously gone up since 4.1...



-Original Message-
From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
Sent: 01 July 2013 19:30
To: dev@cloudstack.apache.org
Subject: Re: Master build problem

Hey Paul,

That out-of-memory error in the ConfigurationServerImpl might be the 
root-cause. This would prevent cloudstack from completely initialising and one 
of the last initialisation steps is to enable the admin user.

If you fix that you are a step closer.

Cheers,

Hugo


On Jul 1, 2013, at 8:24 PM, Paul Angus  wrote:

> I see the admin user getting added:
>
> 2013-07-01 19:14:04,739 TRACE [db.Transaction.Statement]
> (Timer-1:null) Preparing: INSERT INTO `cloud`.`user` (id, uuid,
> username, password, account_id, firstname, lastname, created, state,
> user.default) VALUES (2, UUID(), 'admin', RAND(), 2,
> 'admin','cloud',now(), 'disabled', 1)
>
> No other mention of admin.
>
> The other two classes you were looking for appear in errors:
>
> 2013-07-01 19:13:35,774 ERROR [cloud.api.ApiServlet]
> (catalina-exec-1:null) unknown exception writing api response 
> java.lang.NullPointerException
>at com.cloud.api.ApiServer.loginUser(ApiServer.java:784)
>at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:210)
>at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>at 
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>at 
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>at java.lang.Thread.run(Thread.java:679)
> 2013-07-01 19:13:35,781 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-1:null) ===END===  10.0.0.17 -- POST  null
> 2013-07-01 19:13:38,271 TRACE [db.Transaction.Transaction]
> (Timer-1:null) Took over the transaction: init
>
> --
> -
>
> 2013-07-01 19:14:14,037 INFO  [cloud.server.ConfigurationServerImpl]
> (Timer-1:null) Processing updateKeyPairs
> 2013-07-01 19:14:14,037 INFO  [cloud.server.ConfigurationServerImpl]
> (Timer-1:null) Systemvm keypairs not found in database. Need to store
> them in the database
> 2013-07-01 19:14:14,037 DEBUG [utils.script.Script] (Timer-1:null)
> Executing: /bin/bash -c if [ -f /var/cloudstack/management/.ssh/id_rsa
> ]; then rm -f /var/cloudstack/management/.ssh/id_rsa; fi; ssh-keygen
> -t rsa -N '' -f /var/cloudstack/management/.ssh/id_rsa -q
> 2013-07-01 19:14:14,055 WARN  [utils.script.Script] (Timer-1:null)
> Exception: /bin/bash -c if [ -f /var/cloudstack/management/.ssh/id_rsa
> ]; then rm -f /var/cloudstack/management/.ssh/id_rsa; fi; ssh-keygen
> -t rsa -N '' -f /var/cloudstack/management/.ssh/id_rsa -q
> java.io.IOException: Cannot run program "/bin/bash": java.io.IOException: 
> error=12, Cannot allocate memory
>at java.lang.ProcessBuilder.start(ProcessBuilder.java:488)
>at com.cloud.utils.script.Script.execute(Script.java:183)
>at com.cloud.utils.script.Script.ru

[acs42] [live storage migration]

2013-07-12 Thread Paul Angus
I'm looking at the live storage migration feature in acs4.2

A request for suitable pools to migration
http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373618623834

returns
{ "findstoragepoolsformigrationresponse" : { }

Is this a bug or is the feature still a Work In Progress ?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
19/20 June, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
10/11 July, Bangalore, 
India<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: [acs42] [live storage migration]

2013-07-12 Thread Paul Angus
I'm using XenServer 6.2, I have 2 storage pools in that cluster and one in a 
separate cluster.

Looking in the logs I've got:

2013-07-12 10:23:44,330 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
===START===  10.0.0.33 -- GET  
command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373621024636
2013-07-12 10:23:44,342 ERROR [cloud.server.ManagementServerImpl] 
(catalina-exec-22:null) Capabilities for host Host[-6-Routing] couldn't be 
retrieved.

So it maybe I need to test against XenServer 6.1
However if I try and migrate the primary storage for STOPPED VM I get:

2013-07-12 10:21:33,378 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===START===  10.0.0.33 -- GET  
command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373620893684
2013-07-12 10:21:33,387 INFO  [cloud.server.ManagementServerImpl] 
(catalina-exec-10:null) Volume Vol[16|vm=16|ROOT] isn't attached to any running 
vm. Only volumes attached to a running VM can be migrated.
2013-07-12 10:21:33,392 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===END===  10.0.0.33 -- GET  
command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373620893684



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: 12 July 2013 09:56
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: RE: [acs42] [live storage migration]

In your setup, there may not have been a suitable storage pool available for a 
volume to be migrated too. That is why the list is empty. Which hypervisor (and 
version) are you trying? How may storage pools are there in the cluster?

Regards,
Devdeep

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Friday, July 12, 2013 2:20 PM
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: [acs42] [live storage migration]

I'm looking at the live storage migration feature in acs4.2

A request for suitable pools to migration
http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373618623834

returns
{ "findstoragepoolsformigrationresponse" : { }

Is this a bug or is the feature still a Work In Progress ?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA 
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
19/20 June, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
10/11 July, Bangalore, 
India<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: [acs42] [live storage migration]

2013-07-12 Thread Paul Angus
Will do.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: 12 July 2013 11:44
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: RE: [acs42] [live storage migration]

Hi Paul,

Please see inline.

Regards,
Devdeep

> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Friday, July 12, 2013 2:58 PM
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: RE: [acs42] [live storage migration]
>
> I'm using XenServer 6.2, I have 2 storage pools in that cluster and
> one in a separate cluster.
>
> Looking in the logs I've got:
>
> 2013-07-12 10:23:44,330 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 22:null) ===START===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-
> 9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373621024636
> 2013-07-12 10:23:44,342 ERROR [cloud.server.ManagementServerImpl]
> (catalina-exec-22:null) Capabilities for host Host[-6-Routing]
> couldn't be retrieved.
[Devdeep] The hypervisor_capabilities table needs to be updated to add 
capabilities for xenserver 6.2. Can you open a bug for this? I'll fix the issue.

>
> So it maybe I need to test against XenServer 6.1 However if I try and
> migrate the primary storage for STOPPED VM I get:
>
> 2013-07-12 10:21:33,378 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 10:null) ===START===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-
> 9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373620893684
> 2013-07-12 10:21:33,387 INFO  [cloud.server.ManagementServerImpl]
> (catalina-exec-10:null) Volume Vol[16|vm=16|ROOT] isn't attached to
> any running vm. Only volumes attached to a running VM can be migrated.
> 2013-07-12 10:21:33,392 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 10:null) ===END===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-
> 9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373620893684
[Devdeep] The api needs to be improved to handle this. Please open another bug 
request for the same.

>
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: 12 July 2013 09:56
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: RE: [acs42] [live storage migration]
>
> In your setup, there may not have been a suitable storage pool
> available for a volume to be migrated too. That is why the list is
> empty. Which hypervisor (and version) are you trying? How may storage pools 
> are there in the cluster?
>
> Regards,
> Devdeep
>
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Friday, July 12, 2013 2:20 PM
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: [acs42] [live storage migration]
>
> I'm looking at the live storage migration feature in acs4.2
>
> A request for suitable pools to migration
> http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&;
> id
> =fa1dc489-0414-4f91-9637-
> 9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373618623834
>
> returns
> { "findstoragepoolsformigrationresponse" : { }
>
> Is this a bug or is the feature still a Work In Progress ?
>
>
> Regards
>
> Paul Angus
> Senior Consultant / Cloud Architect
>
> [cid:image002.png@01CE1071.C6CC9C10]
>
> S: +44 20 3603 0540 | M:
> +447711418784
> paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> ShapeBlue are proud to be sponsoring CloudStack Collaboration
> Conference NA
> [https://cwiki.apache.org/confluence/download/attachments/30760149/Clo
> u
> dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?v
> ersion=3&modificationDate=1367282397297]<http://www.cloudstackcollab.
> net/>
>
> Apache CloudStack Bootcamp training courses
> 19/20 June, London<http://www.shapeblue.com/cloudstack-bootcamp-
> training-course/>
> 22/23 June, Santa Clara  CA<http://www.shapeblue.com/cloudstack-
> bootcamp-training-course/>
> 10/11 July, Bangalore, India<http://www.shapeblue.com/cloudstack-
> bootcamp-training-course/>
> 21/22 August, London<http://www.shapeblue.com/

[URGENT] KVM HA - (FW: cs 4.1 host disconnected status)

2013-07-15 Thread Paul Angus
I bumped this from the user list as we've just come across the same issue.

CloudStack does not react or even change host status when contact is lost with 
a KVM host.

2013-07-13 17:53:56,695 DEBUG [cloud.ha.AbstractInvestigatorImpl] 
(AgentTaskPool-1:null) host (10.0.100.51) cannot be pinged, returning null ('I 
don't know')
2013-07-13 17:53:56,695 DEBUG [cloud.ha.UserVmDomRInvestigator] 
(AgentTaskPool-1:null) could not reach agent, could not reach agent's host, 
returning that we don't have enough information
2013-07-13 17:53:56,695 DEBUG [cloud.ha.HighAvailabilityManagerImpl] 
(AgentTaskPool-1:null) null unable to determine the state of the host.  Moving 
on.
2013-07-13 17:53:56,695 DEBUG [cloud.ha.HighAvailabilityManagerImpl] 
(AgentTaskPool-1:null) null unable to determine the state of the host.  Moving 
on.
2013-07-13 17:53:56,695 WARN  [agent.manager.AgentManagerImpl] 
(AgentTaskPool-1:null) Agent state cannot be determined, do nothing

HA for KVM is almost useless.

I suggest this a blocker for any release until fixed.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Koushik Das [mailto:koushik@citrix.com]
Sent: 12 July 2013 12:21
To: us...@cloudstack.apache.org
Subject: RE: cs 4.1 host disconnected status

I looked at the logs and none of the existing investigators are able to 
determine that the host is down. I am not sure if there is a clean way to 
identify if a host is down in case of KVM. Consider the following cases:

1. Host is actually shutdown
2. Management nic of the host is plugged out of the network but host is up and 
running

There is no clean way to distinguish these cases. Cloudstack should only mark 
the host as down in the first case. But not sure how one would achieve this.

-Koushik

> -Original Message-
> From: Valery Ciareszka [mailto:valery.teres...@gmail.com]
> Sent: Friday, July 12, 2013 2:39 PM
> To: us...@cloudstack.apache.org
> Subject: Re: cs 4.1 host disconnected status
>
> I've simulated crash again and here is the log:
> http://thesuki.org/temp/cs.log.txt
> I stripped out of there GET requests with api keys.
> Server was switched off at 8:36
>
> On Fri, Jul 12, 2013 at 11:17 AM, Koushik Das wrote:
>
> > Looks like the KVM investigator is not able to determine the state
> > of the agent. Can you share the full log?
> >
> > > -Original Message-
> > > From: Valery Ciareszka [mailto:valery.teres...@gmail.com]
> > > Sent: Thursday, July 11, 2013 7:47 PM
> > > To: users
> > > Subject: cs 4.1 host disconnected status
> > >
> > > Hi all.
> > >
> > > I use the following environment: CS 4.1, KVM, Centos 6.4
> > > (management+node1+node2), OpenIndiana NFS server as primary and
> > > secondary storage.
> > > and I have the following problem:
> > > If I switch one hypervisor node off via ipmi (simulate server
> > > crash), it
> > never
> > > goes to Disconnected status in management. Accordingly, ha-enabled
> > > VMs are not restarted on another hypervisor node, because it
> > > believes that disconnected node is still online.
> > >
> > >
> > > I get following in management server logs:
> > >
> > > 2013-07-11 10:19:16,153 DEBUG [agent.transport.Request]
> > > (AgentManager-Handler-13:null) Seq 19-1133189098: Processing:
> > >  { Ans: , MgmtId: 161603152803976, via: 19, Ver: v1, Flags: 10,
> > > [{"Answer":{"result":false,"details": "Unable to ping computing host,
> > > exiting","wait":0}}] }
> > > 2013-07-11 10:19:16,153 DEBUG [agent.transport.Request]
> > > (AgentTaskPool-1:null) Seq 19-1133189098: Received:  { Ans: , MgmtId:
> > > 161603152803976, via: 19, Ver: v1, Flags: 10, { Answer } }
> > > 2013-07-11 10:19:16,153 DEBUG [cloud.ha.AbstractInvestigatorImpl]
> > > (AgentTaskPool-1:null) host (172.16.20.241) cannot  be pinged,
> > > returning
> > null
> > > ('I don't know')
> > > 2013-07-11 10:19:16,153 DEBUG [cloud.ha.UserVmDomRInvestigator]
> > > (AgentTaskPool-1:null) could not reach agent, could   not reach agent's
> > > host, returning that we don't have enough information
> > > 2013-07-11 10:19:16,153 DEBUG
> > > [cloud.ha.HighAvailabilityManagerImpl]
> > > (AgentTaskPool-1:null) null unable to determine  the state of the host.
> > >  Moving on.
> > > 2013-07-11 10:19:16,153 DEBUG
> > > [cloud.ha.HighAvailabilityManagerImpl]
> > > (AgentTaskPool-1:null) null unable to determine  the state o

RE: [URGENT] KVM HA - (FW: cs 4.1 host disconnected status)

2013-07-15 Thread Paul Angus
I thought you guys did the impossible - tricky should be a walk in the park

Seriously though, surely HA is a fundamental feature of CloudStack and has to 
work.

The host is shown as UP when at least it should DISCONNECTED.
Also if the host that dies has a system VM on it CloudStack believes all is 
well and makes no attempt to restart them elsewhere causing much more 
widespread issues.

Pings fail so you know it's not just the agent that's crashed.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
Sent: 15 July 2013 11:21
To: dev@cloudstack.apache.org
Subject: Re: [URGENT] KVM HA - (FW: cs 4.1 host disconnected status)

Indeed HA is very tricky as you note. In the generic case where the MS cannot 
communicate with the agent, nothing can be concluded and the MS does nothing.
I dug this up and posted it to the wiki
https://cwiki.apache.org/confluence/x/dwn8AQ


On 7/15/13 1:20 PM, "Marcus Sorensen"  wrote:

>I don't know much about HA in regards to management server/agent
>connectivity, but it seems to me like this is perilous ground.  If a
>host loses connection with the management server, it seems to me that
>the management server doesn't have the resources to determine whether
>it should start HA-enabled VMs elsewhere. You could very well end up
>with VMs running in two or three places at once, corrupting them, just
>because a host failed to check in. Maybe the agent was stopped (that
>happens all the time). The management server has no fencing capaiblity,
>hence the messages "I don't know, doing nothing", are the correct thing
>to do. That doesn't seem like it's KVM specific, however.
>
>I'm very interested in hearing the details on how this HA was intended
>to work, or how it might be working on other platforms.  One solution
>may be to leverage the secondary storage to create locks for VMs, then
>again, when VMs can run without the agent it seems prone to deadlock
>(how does another node take over when another host has the lock, but
>the host seems down, but is actually running the vm?).
>
>On Mon, Jul 15, 2013 at 1:31 AM, Paul Angus 
>wrote:
>> I bumped this from the user list as we've just come across the same
>>issue.
>>
>> CloudStack does not react or even change host status when contact is
>>lost with a KVM host.
>>
>> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.AbstractInvestigatorImpl]
>>(AgentTaskPool-1:null) host (10.0.100.51) cannot be pinged, returning
>>null ('I don't know')
>> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.UserVmDomRInvestigator]
>>(AgentTaskPool-1:null) could not reach agent, could not reach agent's
>>host, returning that we don't have enough information
>> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
>>(AgentTaskPool-1:null) null unable to determine the state of the host.
>>Moving on.
>> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
>>(AgentTaskPool-1:null) null unable to determine the state of the host.
>>Moving on.
>> 2013-07-13 17:53:56,695 WARN  [agent.manager.AgentManagerImpl]
>>(AgentTaskPool-1:null) Agent state cannot be determined, do nothing
>>
>> HA for KVM is almost useless.
>>
>> I suggest this a blocker for any release until fixed.
>>
>>
>> Regards,
>>
>> Paul Angus
>> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
>> paul.an...@shapeblue.com
>>
>> -Original Message-
>> From: Koushik Das [mailto:koushik@citrix.com]
>> Sent: 12 July 2013 12:21
>> To: us...@cloudstack.apache.org
>> Subject: RE: cs 4.1 host disconnected status
>>
>> I looked at the logs and none of the existing investigators are able
>>to determine that the host is down. I am not sure if there is a clean
>>way to identify if a host is down in case of KVM. Consider the
>>following
>>cases:
>>
>> 1. Host is actually shutdown
>> 2. Management nic of the host is plugged out of the network but host
>>is up and running
>>
>> There is no clean way to distinguish these cases. Cloudstack should
>>only mark the host as down in the first case. But not sure how one
>>would achieve this.
>>
>> -Koushik
>>
>>> -Original Message-
>>> From: Valery Ciareszka [mailto:valery.teres...@gmail.com]
>>> Sent: Friday, July 12, 2013 2:39 PM
>>> To: us...@cloudstack.apache.org
>>> Subject: Re: cs 4.1 host disconnected status
>>>
>>> I've simulated crash again and here is the lo

RE: [URGENT] KVM HA - (FW: cs 4.1 host disconnected status)

2013-07-15 Thread Paul Angus
Bug ID: CLOUDSTACK-3535

https://issues.apache.org/jira/browse/CLOUDSTACK-3535


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net]
Sent: 15 July 2013 15:32
To: dev@cloudstack.apache.org
Subject: Re: [URGENT] KVM HA - (FW: cs 4.1 host disconnected status)

Hi Paul,

What's the bug ID for this so we can track it properly?

Thanks!

Joe

On Mon, Jul 15, 2013, at 02:31 AM, Paul Angus wrote:
> I bumped this from the user list as we've just come across the same
> issue.
>
> CloudStack does not react or even change host status when contact is
> lost with a KVM host.
>
> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.AbstractInvestigatorImpl]
> (AgentTaskPool-1:null) host (10.0.100.51) cannot be pinged, returning
> null ('I don't know')
> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.UserVmDomRInvestigator]
> (AgentTaskPool-1:null) could not reach agent, could not reach agent's
> host, returning that we don't have enough information
> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
> (AgentTaskPool-1:null) null unable to determine the state of the host.
> Moving on.
> 2013-07-13 17:53:56,695 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
> (AgentTaskPool-1:null) null unable to determine the state of the host.
> Moving on.
> 2013-07-13 17:53:56,695 WARN  [agent.manager.AgentManagerImpl]
> (AgentTaskPool-1:null) Agent state cannot be determined, do nothing
>
> HA for KVM is almost useless.
>
> I suggest this a blocker for any release until fixed.
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Koushik Das [mailto:koushik@citrix.com]
> Sent: 12 July 2013 12:21
> To: us...@cloudstack.apache.org
> Subject: RE: cs 4.1 host disconnected status
>
> I looked at the logs and none of the existing investigators are able
> to determine that the host is down. I am not sure if there is a clean
> way to identify if a host is down in case of KVM. Consider the following 
> cases:
>
> 1. Host is actually shutdown
> 2. Management nic of the host is plugged out of the network but host
> is up and running
>
> There is no clean way to distinguish these cases. Cloudstack should
> only mark the host as down in the first case. But not sure how one
> would achieve this.
>
> -Koushik
>
> > -Original Message-
> > From: Valery Ciareszka [mailto:valery.teres...@gmail.com]
> > Sent: Friday, July 12, 2013 2:39 PM
> > To: us...@cloudstack.apache.org
> > Subject: Re: cs 4.1 host disconnected status
> >
> > I've simulated crash again and here is the log:
> > http://thesuki.org/temp/cs.log.txt
> > I stripped out of there GET requests with api keys.
> > Server was switched off at 8:36
> >
> > On Fri, Jul 12, 2013 at 11:17 AM, Koushik Das wrote:
> >
> > > Looks like the KVM investigator is not able to determine the state
> > > of the agent. Can you share the full log?
> > >
> > > > -Original Message-
> > > > From: Valery Ciareszka [mailto:valery.teres...@gmail.com]
> > > > Sent: Thursday, July 11, 2013 7:47 PM
> > > > To: users
> > > > Subject: cs 4.1 host disconnected status
> > > >
> > > > Hi all.
> > > >
> > > > I use the following environment: CS 4.1, KVM, Centos 6.4
> > > > (management+node1+node2), OpenIndiana NFS server as primary and
> > > > secondary storage.
> > > > and I have the following problem:
> > > > If I switch one hypervisor node off via ipmi (simulate server
> > > > crash), it
> > > never
> > > > goes to Disconnected status in management. Accordingly,
> > > > ha-enabled VMs are not restarted on another hypervisor node,
> > > > because it believes that disconnected node is still online.
> > > >
> > > >
> > > > I get following in management server logs:
> > > >
> > > > 2013-07-11 10:19:16,153 DEBUG [agent.transport.Request]
> > > > (AgentManager-Handler-13:null) Seq 19-1133189098: 
> > > > Processing:
> > > >  { Ans: , MgmtId: 161603152803976, via: 19, Ver: v1, Flags: 10,
> > > > [{"Answer":{"result":false,"details": "Unable to ping computing 
> > > > host,
> > > > exiting","wait":0}}] }
> > > > 2013-07-11 10:19:16,153 DEBUG [agent.transport.Request]
> > >

[4.2] [KVM]

2013-08-20 Thread Paul Angus
Hi Guys,

I'm unable to deploy system VMs on KVM using 4.2 anymore

libvirtd.log contains:

2013-08-20 15:17:03.996+: 3299: warning : qemuSetupCgroup:395 : Could not 
autoset a RSS limit for domain s-13-VM
2013-08-20 15:17:04.092+: 3299: warning : qemuDomainObjTaint:1377 : Domain 
id=1 name='s-13-VM' uuid=e5ebde7c-0b0a-492e-98c0-528714b89327 is tainted: 
high-privileges
2013-08-20 15:17:05.161+: 3299: warning : qemuSetupCgroup:395 : Could not 
autoset a RSS limit for domain v-2-VM
2013-08-20 15:17:05.204+: 3299: warning : qemuDomainObjTaint:1377 : Domain 
id=2 name='v-2-VM' uuid=8bddb04c-6097-4e23-94ea-5c724ac98b4c is tainted: 
high-privileges
2013-08-20 15:25:09.181+: 3296: error : qemuMonitorIO:613 : internal error 
End of file from monitor
2013-08-20 15:25:10.147+: 3296: error : qemuMonitorIO:613 : internal error 
End of file from monitor

s-13-VM.log contains:

2013-08-20 15:17:04.092+: starting up
2013-08-20 15:17:04.092+: starting up
Domain id=1 is tainted: high-privileges
char device redirected to /dev/pts/0
qemu: terminating on signal 15 from pid 3296
2013-08-20 15:25:09.182+: shutting down
2013-08-20 15:25:11.087+: starting up
Domain id=3 is tainted: high-privileges
char device redirected to /dev/pts/0
qemu: terminating on signal 15 from pid 3296
2013-08-20 15:33:16.353+: shutting down

Cloudstack-management.log says:

2013-08-20 17:30:28,685 WARN  [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Exception while trying to start secondary storage vm
com.cloud.exception.AgentUnavailableException: Resource [Host:1] is 
unreachable: Host 1: Unable to start instance due to Unable to start 
VM[SecondaryStorageVm|s-13-VM] due to error in finalizeStart, not retrying

I can see primary storage mounted on the KVM host and I can see the system VM 
image appear, the patchdisk image appears but doesn't get renamed to 
s-13-VM-patchdisk


Any Ideas anyone?





Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
18/19 September, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
02/03 October, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
13/14 November, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
27/28 November, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
08/09 January 2014, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: [4.2] [KVM]

2013-08-20 Thread Paul Angus
The problem may be that I'm still using the older system VM templates, what are 
the paths for the new templates?

management-server-install-systemvm.xml on the 4.2 branch still has the older 
system vm paths.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Marcus Sorensen [mailto:shadow...@gmail.com]
Sent: 20 August 2013 18:00
To: dev@cloudstack.apache.org
Subject: Re: [4.2] [KVM]

When you say "anymore", it sounds like you were previously using 4.2 without 
issues, is that correct, or is this a fresh upgrade. If it's fresh, note that 
4.2 requires a new system vm image (this will be a part of the upgrade 
instructions when it's released).

As Wido mentions, patch disk is no longer necessary.

I don't see anything alarming in the libvirt/qemu logs provided, the management 
server simply states that the vm failed to start. The agent log will tell you 
why.

On Tue, Aug 20, 2013 at 10:48 AM, Wido den Hollander  wrote:
> Hi,
>
>
> On 08/20/2013 06:43 PM, Paul Angus wrote:
>>
>> Hi Guys,
>>
>> I'm unable to deploy system VMs on KVM using 4.2 anymore
>>
>> libvirtd.log contains:
>>
>> 2013-08-20 15:17:03.996+: 3299: warning : qemuSetupCgroup:395 :
>> Could not autoset a RSS limit for domain s-13-VM
>>
>> 2013-08-20 15:17:04.092+: 3299: warning : qemuDomainObjTaint:1377 :
>> Domain id=1 name='s-13-VM' uuid=e5ebde7c-0b0a-492e-98c0-528714b89327
>> is
>> tainted: high-privileges
>>
>> 2013-08-20 15:17:05.161+: 3299: warning : qemuSetupCgroup:395 :
>> Could not autoset a RSS limit for domain v-2-VM
>>
>> 2013-08-20 15:17:05.204+: 3299: warning : qemuDomainObjTaint:1377 :
>> Domain id=2 name='v-2-VM' uuid=8bddb04c-6097-4e23-94ea-5c724ac98b4c
>> is
>> tainted: high-privileges
>>
>> 2013-08-20 15:25:09.181+: 3296: error : qemuMonitorIO:613 :
>> internal error End of file from monitor
>>
>> 2013-08-20 15:25:10.147+: 3296: error : qemuMonitorIO:613 :
>> internal error End of file from monitor
>>
>> s-13-VM.log contains:
>>
>> 2013-08-20 15:17:04.092+: starting up
>>
>> 2013-08-20 15:17:04.092+: starting up
>>
>> Domain id=1 is tainted: high-privileges
>>
>> char device redirected to /dev/pts/0
>>
>> qemu: terminating on signal 15 from pid 3296
>>
>> 2013-08-20 15:25:09.182+: shutting down
>>
>> 2013-08-20 15:25:11.087+: starting up
>>
>> Domain id=3 is tainted: high-privileges
>>
>> char device redirected to /dev/pts/0
>>
>> qemu: terminating on signal 15 from pid 3296
>>
>> 2013-08-20 15:33:16.353+: shutting down
>>
>> Cloudstack-management.log says:
>>
>> 2013-08-20 17:30:28,685 WARN
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
>> Exception while trying to start secondary storage vm
>>
>> com.cloud.exception.AgentUnavailableException: Resource [Host:1] is
>> unreachable: Host 1: Unable to start instance due to Unable to start
>> VM[SecondaryStorageVm|s-13-VM] due to error in finalizeStart, not
>> retrying
>>
>> I can see primary storage mounted on the KVM host and I can see the
>> system VM image appear, the patchdisk image appears but doesn't get
>> renamed to s-13-VM-patchdisk
>>
>
> There shouldn't be a patchdisk with 4.2, all the information should be
> passed via a virtio socket to the SSVM.
>
>> Any Ideas anyone?
>
>
> What does the Agent log tell you?
>
> Wido
>
>>
>> Regards
>>
>> Paul Angus
>>
>> *Senior Consultant / Cloud Architect*
>>
>> cid:image002.png@01CE1071.C6CC9C10
>>
>> S: +44 20 3603 0540  | M: +4
>> 47711418784
>>
>> paul.an...@shapeblue.com <mailto:geoff.higginbot...@shapeblue.com> |
>> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>>
>>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>>
>> **
>>
>>
>> Apache CloudStack Bootcamp training courses
>>
>> 21/22 August, London
>> <http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>>
>> 18/19 September, Bangalore
>> <http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>>
>> 02/03 October, London
>> <http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>>
>> 13/14 November, London
>> <http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>>
>> 27/28 Novem

[ACS42] Security Groups in Advanced Zones

2013-09-01 Thread Paul Angus
Hi Guys,

Does a 'Security Groups in Advanced Zones' zone support multiple physical guest 
networks? You can't add them via the GUI as you receive an error saying you 
need to have already set the tags on them - which you'd have to do via the api.



Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image002.png@01CEA7AF.24301790]

S: +44 20 3603 0540 | M: +447711418784 | 
T: CloudyAngus
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
18/19 September, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
02/03 October, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
13/14 November, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
27/28 November, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
08/09 January 2014, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Instances migrated in an advanced zone do not get security groups applied.

2013-09-10 Thread Paul Angus
k_rules with args 
seqno: 10, vmIP: 10.79.128.229, deflated: true, secIps: 0:, vmID: 6, vmMAC: 
06:be:c6:00:00:e5, vmName: i-2-6-VM, rules: 
eJzztMpMzi2w0jUEIQM9MNQ30PFzjQhR8LQqSS6wMjICIaxSFgYghCblisdEV7A2QxDUA0N9YyNkGax2ueK2CwA5fy2s,
 signature: a30a3f964032bfbd44c86576a2ce0973,  due to There was a failure 
communicating with the plugin.
2013-09-10 14:25:58,914 WARN  [agent.manager.DirectAgentAttache] 
(DirectAgent-293:null) Seq 9-521535511: Exception Caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: 
network_rules with args seqno: 10, vmIP: 10.79.128.229, deflated: true, secIps: 
0:, vmID: 6, vmMAC: 06:be:c6:00:00:e5, vmName: i-2-6-VM, rules: 
eJzztMpMzi2w0jUEIQM9MNQ30PFzjQhR8LQqSS6wMjICIaxSFgYghCblisdEV7A2QxDUA0N9YyNkGax2ueK2CwA5fy2s,
 signature: a30a3f964032bfbd44c86576a2ce0973,  due to There was a failure 
communicating with the plugin.
   at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:4199)
   at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:5787)
   at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:565)
   at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
   at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104)
   at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
   at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:679)




Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image003.png@01CEAE3C.4D48A3C0]

S: +44 20 3603 0540 | M: +447711418784 | 
T: CloudyAngus
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Apache CloudStack Bootcamp training courses
21/22 August, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
18/19 September, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
02/03 October, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
13/14 November, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
27/28 November, 
Bangalore<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
08/09 January 2014, 
London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


The given command does not exist or it is not available for user

2013-04-12 Thread Paul Angus
Hi All,

When I try to log in to the current build of CloudStack 4.1 I get an error in 
the browser:

The given command does not exist or it is not available for user

The management-server.log shows:

2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-18:null) Attempting to log in user: admin in domain 1
2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator] 
(catalina-exec-18:null) Retrieving user: admin
2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-18:null) User: admin in domain 1 has successfully logged in
2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) 
===END===  10.0.1.31 -- POST  null
2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) 
===START===  10.0.1.31 -- GET  
command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer] (catalina-exec-6:null) The 
given command:listCapabilities does not exist or it is not available for user 
with id:2
2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) 
===END===  10.0.1.31 -- GET  
command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024
2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) 
===START===  10.0.1.31 -- GET  
command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059
2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer] (catalina-exec-7:null) The 
given command:listSwifts does not exist or it is not available for user with 
id:2
2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) 
===END===  10.0.1.31 -- GET  
command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059

Any ideas anyone?

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: The given command does not exist or it is not available for user

2013-04-12 Thread Paul Angus
Hi Marcus,

It was a clean install from an OSS build created from git pull of 4.1-SNAPSHOT 
this morning. The VM is CentOS 6.3.

I did see a previous post with a similar issue and so I checked 
/var/cloudstack/management - it does exist.

I'll look earlier in the log as you suggest...

(Thanks)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Marcus Sorensen [mailto:shadow...@gmail.com]
Sent: 12 April 2013 15:09
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

Is it an upgrade, or a fresh install? Which OS? Installed via package?
Generally this points to something during the startup not finishing, so you may 
want to scroll up well beyond the actual login attempt to see if something 
failed. I believe I saw this once when it couldn't find the cloud user's home 
(since it changed to /var/cloudstack/management) or wasn't owned/writable by 
cloud to set up ssh keys there, and maybe once during a botched DB upgrade.


On Fri, Apr 12, 2013 at 7:57 AM, Paul Angus wrote:

>  Hi All,
>
>
>
> When I try to log in to the current build of CloudStack 4.1 I get an
> error in the browser:
>
>
>
> The given command does not exist or it is not available for user
>
>
>
> The management-server.log shows:
>
>
>
> 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) Attempting to log in user: admin in domain 1
>
> 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-18:null) Retrieving user: admin
>
> 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) User: admin in domain 1 has successfully
> logged in
>
> 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-18:null) ===END===  10.0.1.31 -- POST  null
>
> 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===START===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer]
> (catalina-exec-6:null) The given command:listCapabilities does not
> exist or it is not available for user with id:2
>
> 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===END===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===START===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7
> s%3D&_=1365771173059
>
> 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer]
> (catalina-exec-7:null) The given command:listSwifts does not exist or
> it is not available for user with id:2
>
> 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===END===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7
> s%3D&_=1365771173059
>
>
>
> Any ideas anyone?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
>
> paul.an...@shapeblue.com  |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  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 operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: [RFC][FS]PVLAN for isolation within a VLAN

2013-04-17 Thread Paul Angus
I had a large client ask me for PVLANs for their private cloud just two weeks 
ago.

If etiquette allows me to +1 then I'm in.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: 18 April 2013 02:00
To: dev@cloudstack.apache.org
Subject: Re: [RFC][FS]PVLAN for isolation within a VLAN

On Wed, Apr 17, 2013 at 05:49:23PM -0700, Sheng Yang wrote:
> In fact that's the requirement for this design. We need this very strict
> restriction to implement isolation for the VMs. PVLAN is the way we used to
> approach this requirement.

As a user, the whole point of this type of network is to support a "backend"
management / monitoring network that can be connected to VMs regardless
of the user of the VM.  Using a VLAN per tenant isn't actually enough
even, when you consider the N-Tier apps feature.  If a user has 3
"tiers" using traditional VLAN isolation, you are basically tied to a
model of 2 VLANs per tier, burning through VLANs much faster than
necessary.  PVLANs (and the equiv via OVS flows) are the normal way to
accomplish this in a traditional hosting environment.

Sheng - +1 to this feature and the FS.  Nice work, and from someone who
will use it, glad to see it being worked on!

-chip

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: The given command does not exist or it is not available for user

2013-04-18 Thread Paul Angus
Thanks,

I found the error earlier in the log. (long story involving changing ISP)

Cheers.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 12 April 2013 16:01
To: dev@cloudstack.apache.org
Subject: RE: The given command does not exist or it is not available for user

Hi Marcus,

It was a clean install from an OSS build created from git pull of 4.1-SNAPSHOT 
this morning. The VM is CentOS 6.3.

I did see a previous post with a similar issue and so I checked 
/var/cloudstack/management - it does exist.

I'll look earlier in the log as you suggest...

(Thanks)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Marcus Sorensen [mailto:shadow...@gmail.com]
Sent: 12 April 2013 15:09
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

Is it an upgrade, or a fresh install? Which OS? Installed via package?
Generally this points to something during the startup not finishing, so you may 
want to scroll up well beyond the actual login attempt to see if something 
failed. I believe I saw this once when it couldn't find the cloud user's home 
(since it changed to /var/cloudstack/management) or wasn't owned/writable by 
cloud to set up ssh keys there, and maybe once during a botched DB upgrade.


On Fri, Apr 12, 2013 at 7:57 AM, Paul Angus wrote:

>  Hi All,
>
>
>
> When I try to log in to the current build of CloudStack 4.1 I get an
> error in the browser:
>
>
>
> The given command does not exist or it is not available for user
>
>
>
> The management-server.log shows:
>
>
>
> 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) Attempting to log in user: admin in domain 1
>
> 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-18:null) Retrieving user: admin
>
> 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-18:null) User: admin in domain 1 has successfully
> logged in
>
> 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-18:null) ===END===  10.0.1.31 -- POST  null
>
> 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===START===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer]
> (catalina-exec-6:null) The given command:listCapabilities does not
> exist or it is not available for user with id:2
>
> 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-6:null) ===END===  10.0.1.31 -- GET
> command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%3D&_=1365771173024
>
> 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===START===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7
> s%3D&_=1365771173059
>
> 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer]
> (catalina-exec-7:null) The given command:listSwifts does not exist or
> it is not available for user with id:2
>
> 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-7:null) ===END===  10.0.1.31 -- GET
> command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7
> s%3D&_=1365771173059
>
>
>
> Any ideas anyone?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
>
> paul.an...@shapeblue.com  |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  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 operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
This email and any attachments to it may be confidential and are intended 
s

[ACS41] UI - Global settings bug?

2013-05-02 Thread Paul Angus
I'm finding that if I search for 'sec' in global settings, then all of the 
'change value' icons disappear. It doesn't happen with any other search term 
I've tried.

Does this happen to anyone else?

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: [ACS41] UI - Global settings bug?

2013-05-02 Thread Paul Angus
Here's a screenshot

http://i.imgur.com/XoHO9lA.png

I'll raise a JIRA ticket as well.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
Sent: 02 May 2013 16:37
To: dev@cloudstack.apache.org
Subject: RE: [ACS41] UI - Global settings bug?

Hi Paul,

Could you please upload a screenshot somewhere and share it with us and may be 
raise a JIRA ticket for the same . We could certainly look into it.

Thanks,
Pranav

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, May 02, 2013 8:48 PM
To: dev@cloudstack.apache.org
Subject: [ACS41] UI - Global settings bug?

I'm finding that if I search for 'sec' in global settings, then all of the 
'change value' icons disappear. It doesn't happen with any other search term 
I've tried.

Does this happen to anyone else?

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA 
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



AS4.1 with VMware System VMs

2013-05-02 Thread Paul Angus
Hi,

My system VMs are being created with a SCSI controller rather than an IDE 
controller so they just come up with a screen that says 'GRUB' does anyone have 
any ideas why this might happen?

(I THINK I built a nonoss repo.)

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: AS4.1 with VMware System VMs

2013-05-02 Thread Paul Angus
I'm afraid it's not that simple, once the disk is created as either scsi or ide 
you can't change it...

Vm from importing the ova directly(boots ok): http://i.imgur.com/rLShX89.png
System vm created by cloudstack: http://i.imgur.com/LeXHOCV.png



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 02 May 2013 18:57
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

Switch controller to IDE in vmware to see if it helps, just to confirm its 
controller related.

Regards
ilya

> -Original Message-
> From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
> Sent: Thursday, May 02, 2013 1:41 PM
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> This comment made my day.
>
> (Side note, VMware only claims easy provisioning functionality with
> RHEL derivatives and Ubuntu)
>
> You could re-pack your system VM with the needed virtual scsi driver
> support I think?
>
> >-Original Message-
> >From: Chip Childers [mailto:chip.child...@sungard.com]
> >Sent: Thursday, May 02, 2013 10:38 AM
> >To: dev@cloudstack.apache.org
> >Subject: Re: AS4.1 with VMware System VMs
> >
> >On Thu, May 02, 2013 at 05:33:47PM +, Paul Angus wrote:
> >> Hi,
> >>
> >> My system VMs are being created with a SCSI controller rather than
> >> an IDE
> >controller so they just come up with a screen that says 'GRUB' does
> >anyone have any ideas why this might happen?
> >>
> >> (I THINK I built a nonoss repo.)
> >
> >You wouldn't have any VMware functionality if you didn't do non-oss.
>



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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: AS4.1 with VMware System VMs

2013-05-02 Thread Paul Angus
I should be able to, rolling my own system VMs isn't something I've played with 
yet. (there's a first time for everything :-) )

It'd be 'simplest' if CloudStack could specify an IDE disk upon creation though 
wouldn't it?

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
Sent: 02 May 2013 19:07
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

Exactly. Could you build a centos system VM?



>-Original Message-
>From: Paul Angus [mailto:paul.an...@shapeblue.com]
>Sent: Thursday, May 02, 2013 11:05 AM
>To: dev@cloudstack.apache.org
>Subject: RE: AS4.1 with VMware System VMs
>
>I'm afraid it's not that simple, once the disk is created as either
>scsi or
ide you
>can't change it...
>
>Vm from importing the ova directly(boots ok):
http://i.imgur.com/rLShX89.png
>System vm created by cloudstack: http://i.imgur.com/LeXHOCV.png
>
>
>
>Regards,
>
>Paul Angus
>S: +44 20 3603 0540 | M: +447711418784
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Musayev, Ilya [mailto:imusa...@webmd.net]
>Sent: 02 May 2013 18:57
>To: dev@cloudstack.apache.org
>Subject: RE: AS4.1 with VMware System VMs
>
>Switch controller to IDE in vmware to see if it helps, just to confirm
>its controller related.
>
>Regards
>ilya
>
>> -Original Message-
>> From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
>> Sent: Thursday, May 02, 2013 1:41 PM
>> To: dev@cloudstack.apache.org
>> Subject: RE: AS4.1 with VMware System VMs
>>
>> This comment made my day.
>>
>> (Side note, VMware only claims easy provisioning functionality with
>> RHEL derivatives and Ubuntu)
>>
>> You could re-pack your system VM with the needed virtual scsi driver
>> support I think?
>>
>> >-Original Message-
>> >From: Chip Childers [mailto:chip.child...@sungard.com]
>> >Sent: Thursday, May 02, 2013 10:38 AM
>> >To: dev@cloudstack.apache.org
>> >Subject: Re: AS4.1 with VMware System VMs
>> >
>> >On Thu, May 02, 2013 at 05:33:47PM +, Paul Angus wrote:
>> >> Hi,
>> >>
>> >> My system VMs are being created with a SCSI controller rather than
>> >> an IDE
>> >controller so they just come up with a screen that says 'GRUB' does
>> >anyone have any ideas why this might happen?
>> >>
>> >> (I THINK I built a nonoss repo.)
>> >
>> >You wouldn't have any VMware functionality if you didn't do non-oss.
>>
>
>
>
>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 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
>trademark.



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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: AS4.1 with VMware System VMs

2013-05-02 Thread Paul Angus
I'm just working through that process in order to create a new ova (you also 
need to edit 'ddb.adapterType' in the vmdk file according to
 
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016192
 )


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 02 May 2013 20:03
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

I disagree, I've done it many times.

Edit VM settings, notice the location of VMDK. Delete the disk from vm (but 
don't delete the data). Apply
Edit VM setting, add a disk, choose IDE controller, choose the disk previously 
noted, apply, power-on.

> -----Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Thursday, May 02, 2013 2:05 PM
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> I'm afraid it's not that simple, once the disk is created as either scsi or 
> ide you
> can't change it...
>
> Vm from importing the ova directly(boots ok):
> http://i.imgur.com/rLShX89.png System vm created by cloudstack:
> http://i.imgur.com/LeXHOCV.png
>
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Musayev, Ilya [mailto:imusa...@webmd.net]
> Sent: 02 May 2013 18:57
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> Switch controller to IDE in vmware to see if it helps, just to confirm its
> controller related.
>
> Regards
> ilya
>
> > -Original Message-
> > From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
> > Sent: Thursday, May 02, 2013 1:41 PM
> > To: dev@cloudstack.apache.org
> > Subject: RE: AS4.1 with VMware System VMs
> >
> > This comment made my day.
> >
> > (Side note, VMware only claims easy provisioning functionality with
> > RHEL derivatives and Ubuntu)
> >
> > You could re-pack your system VM with the needed virtual scsi driver
> > support I think?
> >
> > >-Original Message-
> > >From: Chip Childers [mailto:chip.child...@sungard.com]
> > >Sent: Thursday, May 02, 2013 10:38 AM
> > >To: dev@cloudstack.apache.org
> > >Subject: Re: AS4.1 with VMware System VMs
> > >
> > >On Thu, May 02, 2013 at 05:33:47PM +, Paul Angus wrote:
> > >> Hi,
> > >>
> > >> My system VMs are being created with a SCSI controller rather than
> > >> an IDE
> > >controller so they just come up with a screen that says 'GRUB' does
> > >anyone have any ideas why this might happen?
> > >>
> > >> (I THINK I built a nonoss repo.)
> > >
> > >You wouldn't have any VMware functionality if you didn't do non-oss.
> >
>
>
>
> 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
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>



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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: AS4.1 with VMware System VMs

2013-05-10 Thread Paul Angus
As an update:

I deployed the system vm directly from the system vm template OVA on an ESXi 
host, the changed the underlying disk architecture to SCSI and repackaged as an 
OVA.

I then ran the secondary storage system vm template script (pointing it at the 
new OVA).

The template was copied into secondary storage, system VMs booted and demo 
template downloaded - all good.

There is a global setting for IDE/SCSI disks on VMware in CloudStack, if this 
was honoured for system VMs then these steps wouldn't be needed?

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Paul Angus
Sent: 02 May 2013 20:08
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

I'm just working through that process in order to create a new ova (you also 
need to edit 'ddb.adapterType' in the vmdk file according to
 
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016192
 )


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 02 May 2013 20:03
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

I disagree, I've done it many times.

Edit VM settings, notice the location of VMDK. Delete the disk from vm (but 
don't delete the data). Apply Edit VM setting, add a disk, choose IDE 
controller, choose the disk previously noted, apply, power-on.

> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Thursday, May 02, 2013 2:05 PM
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> I'm afraid it's not that simple, once the disk is created as either
> scsi or ide you can't change it...
>
> Vm from importing the ova directly(boots ok):
> http://i.imgur.com/rLShX89.png System vm created by cloudstack:
> http://i.imgur.com/LeXHOCV.png
>
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Musayev, Ilya [mailto:imusa...@webmd.net]
> Sent: 02 May 2013 18:57
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> Switch controller to IDE in vmware to see if it helps, just to confirm
> its controller related.
>
> Regards
> ilya
>
> > -Original Message-
> > From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
> > Sent: Thursday, May 02, 2013 1:41 PM
> > To: dev@cloudstack.apache.org
> > Subject: RE: AS4.1 with VMware System VMs
> >
> > This comment made my day.
> >
> > (Side note, VMware only claims easy provisioning functionality with
> > RHEL derivatives and Ubuntu)
> >
> > You could re-pack your system VM with the needed virtual scsi driver
> > support I think?
> >
> > >-Original Message-----
> > >From: Chip Childers [mailto:chip.child...@sungard.com]
> > >Sent: Thursday, May 02, 2013 10:38 AM
> > >To: dev@cloudstack.apache.org
> > >Subject: Re: AS4.1 with VMware System VMs
> > >
> > >On Thu, May 02, 2013 at 05:33:47PM +, Paul Angus wrote:
> > >> Hi,
> > >>
> > >> My system VMs are being created with a SCSI controller rather
> > >> than an IDE
> > >controller so they just come up with a screen that says 'GRUB' does
> > >anyone have any ideas why this might happen?
> > >>
> > >> (I THINK I built a nonoss repo.)
> > >
> > >You wouldn't have any VMware functionality if you didn't do non-oss.
> >
>
>
>
> 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 operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>



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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



[ACS4.1] cloudstack-agent

2013-05-12 Thread Paul Angus
Hi.

I'm having problems building an ACS 4.1 CentOS(6.3) KVM host

It appears to install correctly but the only entries in libvirtd.log are:

2013-05-12 20:26:37.256+: 1399: info : libvirt version: 0.10.2, package: 
18.el6_4.4 (CentOS BuildSystem <http://bugs.centos.org>, 2013-04-18-16:13:45, 
c6b7.bsys.dev.centos.org)
2013-05-12 20:26:37.256+: 1399: error : virNetSocketReadWire:1184 : End of 
file while reading data: Input/output error

And
lsmod | grep kvm

doesn't return anything

libvirtd is running

I don't have any problems with 4.0.2

Does anybody have any ideas?



Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
20/21 May, London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: [ACS4.1] cloudstack-agent

2013-05-13 Thread Paul Angus
It's the same hardware as for the 4.0.2 build - it's scripted and only 
difference is the repo used.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Marcus Sorensen [mailto:shadow...@gmail.com]
Sent: 12 May 2013 21:43
To: dev@cloudstack.apache.org
Subject: Re: [ACS4.1] cloudstack-agent

Should also ask, is this new hardware? 4.0.2 will not work either if lsmod 
doesn't show a KVM module, so I would assume your 4.0.2 is on a different set 
of systems.
On May 12, 2013 2:34 PM, "Paul Angus"  wrote:

>  Hi.
>
>
>
> I'm having problems building an ACS 4.1 CentOS(6.3) KVM host
>
>
>
> It appears to install correctly but the only entries in libvirtd.log are:
>
>
>
> 2013-05-12 20:26:37.256+: 1399: info : libvirt version: 0.10.2,
> package: 18.el6_4.4 (CentOS BuildSystem <http://bugs.centos.org>,
> 2013-04-18-16:13:45, c6b7.bsys.dev.centos.org)
>
> 2013-05-12 20:26:37.256+: 1399: error : virNetSocketReadWire:1184 :
> End of file while reading data: Input/output error
>
>
>
> And
>
> lsmod | grep kvm
>
>
>
> doesn't return anything
>
>
>
> libvirtd is running
>
>
>
> I don't have any problems with 4.0.2
>
>
>
> Does anybody have any ideas?
>
>
>
>
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
>
> paul.an...@shapeblue.com  |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> * *
>
> *ShapeBlue are proud to be sponsoring CloudStack Collaboration
> Conference NA*
>
> *[image:
> https://cwiki.apache.org/confluence/download/attachments/30760149/Clou
> dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?ver
> sion=3&modificationDate=1367282397297]
> * <http://www.cloudstackcollab.net/>
>
> * *
>
> Apache CloudStack Bootcamp training courses
>
> 20/21 May,
> London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>
> 22/23 June, Santa Clara
> CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
>
>
>  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 operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: [ACS4.1] cloudstack-agent

2013-05-13 Thread Paul Angus
Thanks Prasanna,

Libvirt had installed, qemu-kvm hadn't.

Has this already been filed as a bug?



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: 13 May 2013 09:10
To: dev@cloudstack.apache.org
Subject: Re: [ACS4.1] cloudstack-agent

On Mon, May 13, 2013 at 07:27:54AM +0000, Paul Angus wrote:
> It's the same hardware as for the 4.0.2 build - it's scripted and only
> difference is the repo used.
>

I've seen this happen when scripting my install on switching to 4.1.
KVM modules are not detected even though virtualization is enabled on the host. 
After installing qemu-kvm and libvirt the cloudstack install went fine.

https://github.com/vogxn/acs-infra-test/commit/2215407ca65206933144a46f26687150ac0d8169

--
Prasanna.,


Powered by BigRock.com


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



[ACS41] Security Groups in Advanced zone

2013-05-13 Thread Paul Angus
Guys,

Now KVM is running ok I've added my hosts BUT when I try to enable the zone I 
get the following error:

Cannot enable this Zone since: Unable to find the default physical network with 
traffic=Public in the specified zone id

As it was an advanced zone with security groups I didn't get the option to 
add/configure a public network.



Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> | 
www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]<http://www.cloudstackcollab.net/>

Apache CloudStack Bootcamp training courses
20/21 May, London<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>
22/23 June, Santa Clara  
CA<http://www.shapeblue.com/cloudstack-bootcamp-training-course/>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: [ACS41] Security Groups in Advanced zone

2013-05-13 Thread Paul Angus
Thanks Chip.

BTW it's not just an upgrade bug. This was a sparkling clean build.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: 13 May 2013 17:21
To: dev@cloudstack.apache.org
Subject: Re: [ACS41] Security Groups in Advanced zone

On Mon, May 13, 2013 at 10:33:42AM +0000, Paul Angus wrote:
> Guys,
>
> Now KVM is running ok I've added my hosts BUT when I try to enable the zone I 
> get the following error:
>
> Cannot enable this Zone since: Unable to find the default physical network 
> with traffic=Public in the specified zone id
>
> As it was an advanced zone with security groups I didn't get the option to 
> add/configure a public network.

CLOUDSTACK-2463 has been opened to track this.

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: [ACS41] Security Groups in Advanced zone

2013-05-13 Thread Paul Angus
Done.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: 13 May 2013 17:34
To: dev@cloudstack.apache.org
Subject: Re: [ACS41] Security Groups in Advanced zone

On Mon, May 13, 2013 at 04:29:28PM +, Paul Angus wrote:
> Thanks Chip.
>
> BTW it's not just an upgrade bug. This was a sparkling clean build.

Please provide any relevant info in the bug, so that we can be sure that path 
is addressed too!

Thanks Paul!

>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: 13 May 2013 17:21
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS41] Security Groups in Advanced zone
>
> On Mon, May 13, 2013 at 10:33:42AM +, Paul Angus wrote:
> > Guys,
> >
> > Now KVM is running ok I've added my hosts BUT when I try to enable the zone 
> > I get the following error:
> >
> > Cannot enable this Zone since: Unable to find the default physical
> > network with traffic=Public in the specified zone id
> >
> > As it was an advanced zone with security groups I didn't get the option to 
> > add/configure a public network.
>
> CLOUDSTACK-2463 has been opened to track this.
>
> 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 operated 
> under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found (configuration : advanced network with security groups)

2013-05-13 Thread Paul Angus
Done. :)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Wei ZHOU [mailto:ustcweiz...@gmail.com]
Sent: 13 May 2013 18:38
To: dev@cloudstack.apache.org
Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 
failed due to no public network found (configuration : advanced network with 
security groups)

Thanks,  Paul.

Could you login to the database and paste the result of the commands Nicolas 
listed in Description?


2013/5/13 Paul Angus (JIRA) 

>
> [
> https://issues.apache.org/jira/browse/CLOUDSTACK-2463?page=com.atlassi
> an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId
> =13656100#comment-13656100]
>
> Paul Angus commented on CLOUDSTACK-2463:
> 
>
> On a clean build of ACS4.1-SNAPSHOT from 13/05/13 I created an
> advanced zone with security groups.
>
> When attempting to enable the zone I received the following message:
>
> 'Cannot enable this Zone since: Unable to find the default physical
> network with traffic=Public in the specified zone id'
>
> As it was an advanced zone with security groups I didn't get the
> option to add/configure a public network.
>
> > CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found
> (configuration : advanced network with security groups)
> >
> --
> --
> >
> > Key: CLOUDSTACK-2463
> > URL:
> https://issues.apache.org/jira/browse/CLOUDSTACK-2463
> > Project: CloudStack
> >  Issue Type: Bug
> >  Security Level: Public(Anyone can view this level - this is the
> default.)
> >Affects Versions: 4.1.0
> >Reporter: Nicolas Lamirault
> >Assignee: Wei Zhou
> >Priority: Blocker
> > Fix For: 4.1.0
> >
> >
> > According Wei Zhou last patch (
> https://issues.apache.org/jira/browse/CLOUDSTACK-528), i can add a new
> secondary storage. The SSVM creation failed due to :
> > 2013-05-13 15:17:52,868 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> Zone 1 is ready to launch secondary storage VM
> > 2013-05-13 15:17:52,879 INFO
> [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
> (secstorage-1:null) No running secondary storage vms found in
> datacenter id=1, starting one
> > 2013-05-13 15:17:52,889 INFO
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) No
> stopped secondary storage vm is available, need to allocate a new
> secondary storage vm
> > 2013-05-13 15:17:52,894 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> Assign secondary storage vm from a newly started instance for request
> from data center : 1
> > 2013-05-13 15:17:52,922 WARN [cloud.vm.SystemVmLoadScanner]
> (secstorage-1:null) Unexpected exception Found 22 networks of type
> Guest when expect to find 1
> > com.cloud.utils.exception.CloudRuntimeException: Found 22 networks
> > of
> type Guest when expect to find 1
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStora
> geVmInstance(SecondaryStorageManagerImpl.java:552)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(Secon
> daryStorageManagerImpl.java:499)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(
> SecondaryStorageManagerImpl.java:666)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(Sec
> ondaryStorageManagerImpl.java:1300)
> > at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Premi
> umSecondaryStorageManagerImpl.java:121)
> > at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Premi
> umSecondaryStorageManagerImpl.java:52)
> > at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104
> )
> > at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:3
> 3)
> > at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:
> 81)
> > at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
> )
> > at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:
> 317)
> > at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.j

RE: [ANNOUNCE] New PMC Member: Giles Sirett

2014-01-21 Thread Paul Angus
Congratulations Mr Sirett!  (sir, m'lord, your majesty)

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chipchild...@apache.org]
Sent: 21 January 2014 14:45
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] New PMC Member: Giles Sirett

The Project Management Committee (PMC) for Apache CloudStack has asked Giles 
Sirett to join the PMC and we are pleased to announce that he has accepted.

Join me in congratulating Giles!

-The CloudStack PMC
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/>
08/09 January 2014, London<http://shapeblue.com/cloudstack-training/>
13-17 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
20-24 January 2014, GLOBAL. Instructor led, 
On-line<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 is a registered trademark.


Re: [ANNOUNCE] New Committer: Mark Hinkle

2014-01-25 Thread Paul Angus
Congratulations Mark, well deserved.


Regards,

Paul Angus
S: +44 20 3603 0540 | M: 
+447711418784
T: @CloudyAngus
paul.an...@shapeblue.com


 Original message 
From: Chip Childers
Date:25/01/2014 01:11 (GMT+00:00)
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] New Committer: Mark Hinkle

The Project Management Committee (PMC) for Apache CloudStack has
asked Mark Hinkle to become a committer and we are pleased to announce
that they have accepted.

Being a committer allows many contributors to contribute more autonomously. For
developers, it makes it easier to submit changes and eliminates the need to
have contributions reviewed via the patch submission process. Whether
contributions are development-related or otherwise, it is a recognition of a
contributor's participation in the project and commitment to the project and
the Apache Way.

Please join me in congratulating Mark!

--Chip,
on behalf of the Apache CloudStack PMC
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: [DISCUSS] HyperV msi

2014-01-27 Thread Paul Angus
Guys,

Don't forget that Hyper-V server is 'server core' so has no GUI. Therefore a 
'clickable' installer is not a lot of use.  I've been simply copying over my 
agentshell directory and running 'AgentShell.exe --install' so I haven't 
bothered building the installer.

The command line options for msiexec are below - can you document any switches 
required to use the .msi from the command line.
Msiexec command line:
http://msdn.microsoft.com/en-us/library/aa367988%28v=vs.85%29.aspx

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 26 January 2014 23:04
To: Anshul Gangwar; dev@cloudstack.apache.org; Rajesh Battala
Cc: Paul Angus; Wido den Hollander
Subject: RE: [DISCUSS] HyperV msi

The ACS build avoids proprietary tools by building with Mono.

One option is to generate an MSI using WiX + Wine, see 
https://wiki.gnome.org/Projects/GTK%2B/Win32/WiX

DL


> -Original Message-
> From: Anshul Gangwar
> Sent: 24 January 2014 10:39
> To: dev@cloudstack.apache.org; Donal Lafferty; Rajesh Battala
> Cc: Paul Angus; Wido den Hollander
> Subject: RE: [DISCUSS] HyperV msi
>
> Hi
>
> I started working on packaging (making msi) the HyperV agent code at
> Github
> - https://github.com/anshul1886/CloudStackAgentSetup. It does the
> following
>
> - packages all the needed files
> - Prompts for user\password the HyperV agent should run under
> - Option to create and install an SSL certificate since the
> communication between mgmt server and HyperV agent is secure. One has
> also an option to install a different ssl certificate. Procedure to
> install the certificate onto HyperV agent is
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creati
> ng+and+installing+self+signed+certificate+for+CloudStack+Management+Se
> rver+communication+with+Hyper-V+agent .
> - option to update, upgrade and downgrade the installation.
>
> Steps to generate msi are present here
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
> +Agent+Installer .
>
> Only concern I have the existing code is using MSBUILD(.NET Framework)
> and I am not sure about the licensing part of it. I am trying to figure it 
> out.
> Any help here is welcome. Please feel free to change the code\come up
> with suggestions around this.
>
> Thanks,
> Anshul
> -Original Message-
> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
> Sent: Friday, January 24, 2014 2:48 PM
> To: dev@cloudstack.apache.org; Donal Lafferty; Rajesh Battala
> Cc: Paul Angus; Wido den Hollander
> Subject: RE: [DISCUSS] HyperV msi
>
> +1
>
> -----Original Message-
> From: sebgoa [mailto:run...@gmail.com]
> Sent: Friday, January 24, 2014 2:37 PM
> To: Donal Lafferty; dev@cloudstack.apache.org; Rajesh Battala
> Cc: Paul Angus; Wido den Hollander
> Subject: [DISCUSS] HyperV msi
>
> Hi,
>
> In passing I saw some new docs from Radhika on Hyper-V. A first
> version pointed to a cloudplatform.msi, Radhika modified it to point to the 
> wiki:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
> +Agent+Installer
>
> Reading the wiki, it explains how to build the agent.exe file from
> source and also points to a github project to build the installer.
>
> I think we should build this installer and provide it as convenience
> msi just like we provide convenience packages. We can then ask Wido to host 
> it.
>
> What do you guys think ? Can someone build a cloudstack hyperv agent
> msi and get it to Wido for hosting ?
>
> -Sebastien
>
> On Jan 16, 2014, at 1:04 PM, Donal Lafferty
> 
> wrote:
>
> > +1
> >
> >> -Original Message-
> >> From: sebgoa [mailto:run...@gmail.com]
> >> Sent: 16 January 2014 09:53
> >> To: dev@cloudstack.apache.org
> >> Cc: Radhika Puthiyetath; Donal Lafferty
> >> Subject: HyperV agent is called CloudPlatform
> >>
> >> Hi,
> >>
> >> I just noticed a recent commit by Radhika on documentation about
> >> Hyper-
> V
> >> agent:
> >>
> >> https://git-wip-us.apache.org/repos/asf?p=cloudstack-
> >> docs.git;a=blob_plain;f=en-US/hyperv-agent-
> >> install.xml;h=5580b90637e864affd144f125dc89c05c42f6fce;hb=c6069b1
> >>
> >> Can't you rename the .msi with CloudStack ?
> >>
> >> -Sebastien

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for

RE: [DISCUSS] HyperV msi

2014-01-27 Thread Paul Angus
The files in the directory are:

AgentShell.exe
Newtonsoft.Json.dll
AgentShell.exe.config
NSubstitute.dll
AgentShell.exe.mdb
System.Net.Http.Formatting.dll
AWSSDK.dll
System.Web.Http.dll
HypervResource.dll
System.Web.Http.SelfHost.dll
HypervResource.dll.mdb
WmiWrappers.dll
Ionic.Zip.dll
WmiWrappers.dll.mdb
log4net.dll
xunit.dll


I built in Cygwin, so I zip them for windows compatibility/convenience then 
move the archive around.


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: sebgoa [mailto:run...@gmail.com]
Sent: 27 January 2014 14:11
To: dev@cloudstack.apache.org
Cc: Donal Lafferty; Anshul Gangwar; Rajesh Battala; Wido den Hollander
Subject: Re: [DISCUSS] HyperV msi


On Jan 27, 2014, at 10:33 AM, Paul Angus  wrote:

> Guys,
>
> Don't forget that Hyper-V server is 'server core' so has no GUI. Therefore a 
> 'clickable' installer is not a lot of use.  I've been simply copying over my 
> agentshell directory and running 'AgentShell.exe --install' so I haven't 
> bothered building the installer.
>

Paul, so does it make sense to make AgentShell.exe available somewhere for 
download ?

> The command line options for msiexec are below - can you document any 
> switches required to use the .msi from the command line.
> Msiexec command line:
> http://msdn.microsoft.com/en-us/library/aa367988%28v=vs.85%29.aspx
>
> Regards,
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
> Sent: 26 January 2014 23:04
> To: Anshul Gangwar; dev@cloudstack.apache.org; Rajesh Battala
> Cc: Paul Angus; Wido den Hollander
> Subject: RE: [DISCUSS] HyperV msi
>
> The ACS build avoids proprietary tools by building with Mono.
>
> One option is to generate an MSI using WiX + Wine, see
> https://wiki.gnome.org/Projects/GTK%2B/Win32/WiX
>
> DL
>
>
>> -Original Message-
>> From: Anshul Gangwar
>> Sent: 24 January 2014 10:39
>> To: dev@cloudstack.apache.org; Donal Lafferty; Rajesh Battala
>> Cc: Paul Angus; Wido den Hollander
>> Subject: RE: [DISCUSS] HyperV msi
>>
>> Hi
>>
>> I started working on packaging (making msi) the HyperV agent code at
>> Github
>> - https://github.com/anshul1886/CloudStackAgentSetup. It does the
>> following
>>
>> - packages all the needed files
>> - Prompts for user\password the HyperV agent should run under
>> - Option to create and install an SSL certificate since the
>> communication between mgmt server and HyperV agent is secure. One has
>> also an option to install a different ssl certificate. Procedure to
>> install the certificate onto HyperV agent is
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creat
>> i
>> ng+and+installing+self+signed+certificate+for+CloudStack+Management+S
>> ng+and+installing+self+signed+certificate+for+CloudStack+Management+e
>> rver+communication+with+Hyper-V+agent .
>> - option to update, upgrade and downgrade the installation.
>>
>> Steps to generate msi are present here
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyper
>> v
>> +Agent+Installer .
>>
>> Only concern I have the existing code is using MSBUILD(.NET
>> Framework) and I am not sure about the licensing part of it. I am trying to 
>> figure it out.
>> Any help here is welcome. Please feel free to change the code\come up
>> with suggestions around this.
>>
>> Thanks,
>> Anshul
>> -Original Message-
>> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
>> Sent: Friday, January 24, 2014 2:48 PM
>> To: dev@cloudstack.apache.org; Donal Lafferty; Rajesh Battala
>> Cc: Paul Angus; Wido den Hollander
>> Subject: RE: [DISCUSS] HyperV msi
>>
>> +1
>>
>> -Original Message-
>> From: sebgoa [mailto:run...@gmail.com]
>> Sent: Friday, January 24, 2014 2:37 PM
>> To: Donal Lafferty; dev@cloudstack.apache.org; Rajesh Battala
>> Cc: Paul Angus; Wido den Hollander
>> Subject: [DISCUSS] HyperV msi
>>
>> Hi,
>>
>> In passing I saw some new docs from Radhika on Hyper-V. A first
>> version pointed to a cloudplatform.msi, Radhika modified it to point to the 
>> wiki:
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyper
>> v
>> +Agent+Installer
>>
>> Reading the wiki, it explains how to build the agent.exe file from
>> source and 

API documentation

2014-01-29 Thread Paul Angus
DEVs,

New features are generally cool, but given that the 'engine' of CloudStack is 
the API it seems ridiculous that as a minimum the API documentation isn't kept 
up to date.

The specific example that I'm thinking of is

addvmwaredc

Only by using the UI and following the API calls sent could I find that it 
existed, and then tracked it down in the design documents in the wiki.

I've filed a bug for this one 
(https://issues.apache.org/jira/browse/CLOUDSTACK-5984)

But please can everyone make sure we can all use the features you create by 
documenting them.

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: API documentation

2014-01-30 Thread Paul Angus
Hey Radhika,

Yes, I'm happy to do what I can (probably mainly harassing other people)

CloudMonkey says that there are 431 API calls (in 4.3 RC1) I recon there are 
409 listed on 
http://cloudstack.apache.org/docs/api/apidocs-4.2/TOC_Root_Admin.html

I'll try to find which ones are missing.

I think in terms of the API documentation page, the first thing to do is put 
this headings in alphabetical order!

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
Sent: 30 January 2014 07:48
To: dev@cloudstack.apache.org
Subject: RE: API documentation

Hi Paul,

Yes, API documentation requires a serious revisit. I had initiated a discussion 
months back, and invited volunteers.

A wiki page is created at 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Documentation+Sprint+for+Enhancing+API+Documentation
, but nothing beyond that.

If you are interested to volunteer, let's begin.

-Radhika

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 30, 2014 12:43 PM
To: dev@cloudstack.apache.org
Subject: API documentation

DEVs,

New features are generally cool, but given that the 'engine' of CloudStack is 
the API it seems ridiculous that as a minimum the API documentation isn't kept 
up to date.

The specific example that I'm thinking of is

addvmwaredc

Only by using the UI and following the API calls sent could I find that it 
existed, and then tracked it down in the design documents in the wiki.

I've filed a bug for this one 
(https://issues.apache.org/jira/browse/CLOUDSTACK-5984)

But please can everyone make sure we can all use the features you create by 
documenting them.

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.
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 is a registered trademark.


RE: API documentation

2014-01-30 Thread Paul Angus
This is worrying/odd - 4.3 (RC1) has 431 API calls (according to a 
Cloudmonkey), 4.2.1 has 458

27 calls have gone walkabout including addvmwaredc which started this  
conversation

Any ideas anyone? Is it a cloudmonkey bug?

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Gaurav Aradhye [mailto:gaurav.arad...@clogeny.com]
Sent: 30 January 2014 11:30
To: dev@cloudstack.apache.org
Subject: Re: API documentation

I found following 3 APIs related to adding load balancer devices absent in the 
documentation.

1. addExternalLoadBalancer
2. addF5LoadBalancer
3. addNetscalerLoadBalancer

Regards,
Gaurav


On Thu, Jan 30, 2014 at 4:09 PM, sebgoa  wrote:

>
> On Jan 30, 2014, at 10:53 AM, Paul Angus  wrote:
>
> > Hey Radhika,
> >
> > Yes, I'm happy to do what I can (probably mainly harassing other
> > people)
> >
> > CloudMonkey says that there are 431 API calls (in 4.3 RC1) I recon
> > there
> are 409 listed on
> http://cloudstack.apache.org/docs/api/apidocs-4.2/TOC_Root_Admin.html
> >
>
> We talked about this recently, the discrepancy seems to come from the
> fact that the apidocs are built for the oss dist and that the missing
> apis are from the nonredist build.
>
> -sebastien
>
> > I'll try to find which ones are missing.
> >
> > I think in terms of the API documentation page, the first thing to
> > do is
> put this headings in alphabetical order!
> >
> > Regards,
> >
> > Paul Angus
> > Cloud Architect
> > S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
> > paul.an...@shapeblue.com
> >
> > -Original Message-
> > From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
> > Sent: 30 January 2014 07:48
> > To: dev@cloudstack.apache.org
> > Subject: RE: API documentation
> >
> > Hi Paul,
> >
> > Yes, API documentation requires a serious revisit. I had initiated a
> discussion months back, and invited volunteers.
> >
> > A wiki page is created at
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Documentation+S
> print+for+Enhancing+API+Documentation
> > , but nothing beyond that.
> >
> > If you are interested to volunteer, let's begin.
> >
> > -Radhika
> >
> > From: Paul Angus [mailto:paul.an...@shapeblue.com]
> > Sent: Thursday, January 30, 2014 12:43 PM
> > To: dev@cloudstack.apache.org
> > Subject: API documentation
> >
> > DEVs,
> >
> > New features are generally cool, but given that the 'engine' of
> CloudStack is the API it seems ridiculous that as a minimum the API
> documentation isn't kept up to date.
> >
> > The specific example that I'm thinking of is
> >
> > addvmwaredc
> >
> > Only by using the UI and following the API calls sent could I find
> > that
> it existed, and then tracked it down in the design documents in the wiki.
> >
> > I've filed a bug for this one (
> https://issues.apache.org/jira/browse/CLOUDSTACK-5984)
> >
> > But please can everyone make sure we can all use the features you
> > create
> by documenting them.
> >
> > Regards
> >
> > Paul Angus
> > Senior Consultant / Cloud Architect
> >
> > [cid:image002.png@01CE1071.C6CC9C10]
> >
> > S: +44 20 3603 0540 | M:
> +447711418784 | T: @CloudyAngus
> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> |
> www.shapeblue.com<http://www.shapeblue.com/> | Twitter:@shapeblue<
> https://twitter.com/>
> > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> >
> > Need Enterprise Grade Support for Apache CloudStack?
> > Our CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/> offers the
> best
> 24/7 SLA for CloudStack Environments.
> >
> > Apache CloudStack Bootcamp training courses
> >
> > **NEW!** CloudStack 4.2.1 training<
> http://shapeblue.com/cloudstack-training/>
> > 18th-19th February 2014, Brazil. Classroom<
> http://shapeblue.com/cloudstack-training/>
> > 17th-23rd March 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> > 24th-28th March 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> > 16th-20th June 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> > 23rd-27th June 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> &g

RE: API documentation

2014-01-30 Thread Paul Angus
I can certainly give it a go.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: David Nalley [mailto:da...@gnsa.us]
Sent: 30 January 2014 12:15
To: dev@cloudstack.apache.org
Subject: Re: API documentation

It's this.

I've been meaning to rectify it for the 4.1 and 4.2 documentation, but haven't 
had the cycles. Paul, if you want to update the documentation[0] for how we 
generate API docs so that we build it with everything, great. Even better if 
you want to build it and then submit a patch for updating the published api 
docs.

[0]https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+To+Generate+CloudStack+API+Documentation

--David

On Thu, Jan 30, 2014 at 5:39 AM, sebgoa  wrote:
>
> On Jan 30, 2014, at 10:53 AM, Paul Angus  wrote:
>
>> Hey Radhika,
>>
>> Yes, I'm happy to do what I can (probably mainly harassing other
>> people)
>>
>> CloudMonkey says that there are 431 API calls (in 4.3 RC1) I recon
>> there are 409 listed on
>> http://cloudstack.apache.org/docs/api/apidocs-4.2/TOC_Root_Admin.html
>>
>
> We talked about this recently, the discrepancy seems to come from the fact 
> that the apidocs are built for the oss dist and that the missing apis are 
> from the nonredist build.
>
> -sebastien
>
>> I'll try to find which ones are missing.
>>
>> I think in terms of the API documentation page, the first thing to do is put 
>> this headings in alphabetical order!
>>
>> Regards,
>>
>> Paul Angus
>> Cloud Architect
>> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
>> paul.an...@shapeblue.com
>>
>> -Original Message-
>> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
>> Sent: 30 January 2014 07:48
>> To: dev@cloudstack.apache.org
>> Subject: RE: API documentation
>>
>> Hi Paul,
>>
>> Yes, API documentation requires a serious revisit. I had initiated a 
>> discussion months back, and invited volunteers.
>>
>> A wiki page is created at
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Documentation+
>> Sprint+for+Enhancing+API+Documentation
>> , but nothing beyond that.
>>
>> If you are interested to volunteer, let's begin.
>>
>> -Radhika
>>
>> From: Paul Angus [mailto:paul.an...@shapeblue.com]
>> Sent: Thursday, January 30, 2014 12:43 PM
>> To: dev@cloudstack.apache.org
>> Subject: API documentation
>>
>> DEVs,
>>
>> New features are generally cool, but given that the 'engine' of CloudStack 
>> is the API it seems ridiculous that as a minimum the API documentation isn't 
>> kept up to date.
>>
>> The specific example that I'm thinking of is
>>
>> addvmwaredc
>>
>> Only by using the UI and following the API calls sent could I find that it 
>> existed, and then tracked it down in the design documents in the wiki.
>>
>> I've filed a bug for this one
>> (https://issues.apache.org/jira/browse/CLOUDSTACK-5984)
>>
>> But please can everyone make sure we can all use the features you create by 
>> documenting them.
>>
>> Regards
>>
>> Paul Angus
>> Senior Consultant / Cloud Architect
>>
>> [cid:image002.png@01CE1071.C6CC9C10]
>>
>> S: +44 20 3603 0540 | M:
>> +447711418784 | T: @CloudyAngus
>> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> |
>> www.shapeblue.com<http://www.shapeblue.com/> |
>> Twitter:@shapeblue<https://twitter.com/>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>>
>> Need Enterprise Grade Support for Apache CloudStack?
>> Our CloudStack Infrastructure 
>> Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
>> best 24/7 SLA for CloudStack Environments.
>>
>> Apache CloudStack Bootcamp training courses
>>
>> **NEW!** CloudStack 4.2.1
>> training<http://shapeblue.com/cloudstack-training/>
>> 18th-19th February 2014, Brazil.
>> Classroom<http://shapeblue.com/cloudstack-training/>
>> 17th-23rd March 2014, Region A. Instructor led,
>> On-line<http://shapeblue.com/cloudstack-training/>
>> 24th-28th March 2014, Region B. Instructor led,
>> On-line<http://shapeblue.com/cloudstack-training/>
>> 16th-20th June 2014, Region A. Instructor led,
>> On-line<http://shapeblue.com/cloudstack-training/>
>> 23rd-27th June 2014, Region B. Instructor led,
>> On-line<http://shapeblue.com/

RE: API documentation

2014-01-31 Thread Paul Angus
Build-api.sh looks likes it needs 3 arguments

TARGETJARDIR
DEPSDIR
DISTDIR

I tried

"/usr/local/cloudstack/engine/service/target/engine/WEB-INF/lib"
"/usr/local/cloudstack/agent/target/dependencies"
And
"/usr/local/cloudstack/dist"

I think at least my DISTDIR is wrong

Can someone tell me what those arguments should be?

Cheers.



Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: David Nalley [mailto:da...@gnsa.us]
Sent: 30 January 2014 12:15
To: dev@cloudstack.apache.org
Subject: Re: API documentation

It's this.

I've been meaning to rectify it for the 4.1 and 4.2 documentation, but haven't 
had the cycles. Paul, if you want to update the documentation[0] for how we 
generate API docs so that we build it with everything, great. Even better if 
you want to build it and then submit a patch for updating the published api 
docs.

[0]https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+To+Generate+CloudStack+API+Documentation

--David

On Thu, Jan 30, 2014 at 5:39 AM, sebgoa  wrote:
>
> On Jan 30, 2014, at 10:53 AM, Paul Angus  wrote:
>
>> Hey Radhika,
>>
>> Yes, I'm happy to do what I can (probably mainly harassing other
>> people)
>>
>> CloudMonkey says that there are 431 API calls (in 4.3 RC1) I recon
>> there are 409 listed on
>> http://cloudstack.apache.org/docs/api/apidocs-4.2/TOC_Root_Admin.html
>>
>
> We talked about this recently, the discrepancy seems to come from the fact 
> that the apidocs are built for the oss dist and that the missing apis are 
> from the nonredist build.
>
> -sebastien
>
>> I'll try to find which ones are missing.
>>
>> I think in terms of the API documentation page, the first thing to do is put 
>> this headings in alphabetical order!
>>
>> Regards,
>>
>> Paul Angus
>> Cloud Architect
>> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
>> paul.an...@shapeblue.com
>>
>> -Original Message-
>> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
>> Sent: 30 January 2014 07:48
>> To: dev@cloudstack.apache.org
>> Subject: RE: API documentation
>>
>> Hi Paul,
>>
>> Yes, API documentation requires a serious revisit. I had initiated a 
>> discussion months back, and invited volunteers.
>>
>> A wiki page is created at
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Documentation+
>> Sprint+for+Enhancing+API+Documentation
>> , but nothing beyond that.
>>
>> If you are interested to volunteer, let's begin.
>>
>> -Radhika
>>
>> From: Paul Angus [mailto:paul.an...@shapeblue.com]
>> Sent: Thursday, January 30, 2014 12:43 PM
>> To: dev@cloudstack.apache.org
>> Subject: API documentation
>>
>> DEVs,
>>
>> New features are generally cool, but given that the 'engine' of CloudStack 
>> is the API it seems ridiculous that as a minimum the API documentation isn't 
>> kept up to date.
>>
>> The specific example that I'm thinking of is
>>
>> addvmwaredc
>>
>> Only by using the UI and following the API calls sent could I find that it 
>> existed, and then tracked it down in the design documents in the wiki.
>>
>> I've filed a bug for this one
>> (https://issues.apache.org/jira/browse/CLOUDSTACK-5984)
>>
>> But please can everyone make sure we can all use the features you create by 
>> documenting them.
>>
>> Regards
>>
>> Paul Angus
>> Senior Consultant / Cloud Architect
>>
>> [cid:image002.png@01CE1071.C6CC9C10]
>>
>> S: +44 20 3603 0540 | M:
>> +447711418784 | T: @CloudyAngus
>> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> |
>> www.shapeblue.com<http://www.shapeblue.com/> |
>> Twitter:@shapeblue<https://twitter.com/>
>> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>>
>> Need Enterprise Grade Support for Apache CloudStack?
>> Our CloudStack Infrastructure 
>> Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
>> best 24/7 SLA for CloudStack Environments.
>>
>> Apache CloudStack Bootcamp training courses
>>
>> **NEW!** CloudStack 4.2.1
>> training<http://shapeblue.com/cloudstack-training/>
>> 18th-19th February 2014, Brazil.
>> Classroom<http://shapeblue.com/cloudstack-training/>
>> 17th-23rd March 2014, Region A. Instructor led,
>> On-line<http://shapeblue.com/cloudstack-training/>
>>

RE: Not able to add primary Storage Cloudstack 4.3

2014-02-01 Thread Paul Angus
Tejas,

I guess that your entering the path as an smb path \\server\share\directory
For primary storage try 'share/folder' and the 'server' without the \\

There were issues with shared primary storage, so I've included one of the devs 
working on the feature.

The same is true for secondary storage (although the UI may need 
\share\directory in the path).

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Sean Hamilton [mailto:s...@seanhamilton.co.uk]
Sent: 01 February 2014 11:55
To: us...@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Tejas,

What hypervisor are you using?
I can't remember if CIFS is a valid protocol for hypervisors other than 
Hyper-V. NFS is used for other hypervisors.

Cheers,
Sean

> On 1 Feb 2014, at 09:26, Tejas Gadaria  wrote:
>
> Hi,
>
> While adding primary Storage I am getting
>
>  
> "cifs://10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com
>  is not a valid uri"
>
> Similar error I am facing while adding secondary storage also.
>
> Please find attachment for logs,
>
>
> Regards,
> Tejas
> 
> 
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: Create GRE tunnel failed in 4.2 with XenServer.

2014-02-01 Thread Paul Angus
Hey Tuna, (and anyone else working on this)

I filed bug 5967 which looks like it might relate to this - I was trying to use 
GRE tunnel isolation in 4.3 and got VM_REQUIRES_NETWORK errors from the 
XenServer when trying to start a new virtual router.

https://issues.apache.org/jira/browse/CLOUDSTACK-5967

What's the status of GRE Tunnel isolation as a feature at the moment?

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From:  [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
Sent: 24 January 2014 05:59
To: dev@cloudstack.apache.org
Cc: Florin Dumitrascu; Sebastien Goasguen; Chiradeep Vittal
Subject: Re: Create GRE tunnel failed in 4.2 with XenServer.

Yes, my fixes will be put to 4.3 tomorrow! I get the flu today. Back to work 
tomorrow.

--Tuna

Sent from my GT-N7000
On Jan 24, 2014 12:43 PM, "Murali Reddy"  wrote:

>
> On 23/01/14 5:48 PM, "Florin Dumitrascu"
>  wrote:
>
> >Hi Murali, Tuna,
> >
> >Thank you for this piece of information. All starts to make sense now.
> >I am wondering if there is a better way to communicate this issue to
> >end users. It would save others a couple of weeks struggling.
> >If GRE is not just a technology preview (meaning it has been
> >explicitly mentioned in previous release notes), the known issues
> >lists for 4.2.0 and 4.2.1 should be explicitly updated.
> >
> >Leaving 4.2 behind now, which will be the first release to include
> >GRE refactoring with OVS service provider ?
>
> Ideally Tuna's fix (to make OVS as Connectivity service provider)
> should have gone into 4.2.1. Looks like they did not go into 4.2.1
>
> Tuna,
>
> Can you please ensure your fixes (excluding support for KVM/XCP) went
> into 4.2, 4.3 branches as well.
>
> Thanks,
> Murali
>
> >
> >Regards,
> >Florin
> >
> >-Original Message-
> >From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of
> >Nguyen Anh Tu
> >Sent: Thursday, January 23, 2014 11:56 AM
> >To: Murali Reddy
> >Cc: dev@cloudstack.apache.org; Chiradeep Vittal; Sebastien Goasguen
> >Subject: Re: Create GRE tunnel failed in 4.2 with XenServer.
> >
> >Wow... I thought everything was done in XenServer before my submitted
> >patch.
> >
> >--Tuna
> >
> >Sent from my GT-N7000
> >On Jan 23, 2014 6:49 PM, "Murali Reddy"  wrote:
> >
> >> Please see the thread
> >>
> >> https://www.mail-archive.com/dev@cloudstack.apache.org/msg17396.htm
> >> l
> >>
> >>
> >>
> >> On 23/01/14 5:10 PM, "Florin Dumitrascu"
> >>  wrote:
> >>
> >> >Hi,
> >> >
> >> >Just want to add a few of my observations to what Tuna said.
> >> >
> >> >
> >> >a.   I managed to have GRE isolation working with CloudStack 4.1.1
> >> >and a quick patch to bypass "enableXenserverNetwork" method.
> >> >
> >> >
> >> >
> >> >b.  I tried GRE isolation with CloudStack 4.2.1 with the same quick
> >> >patch for bypassing "enableXenserverNetwork".
> >> >
> >> >Once that method was bypassed, guest VMs came up, but the tunnel
> >> >was not created. It seems to me that OvsElement methods
> >> >(implement,
> >> >prepare) are not invoked.
> >> >
> >> >Did something change in 4.2 to affect this ? I am setting
> >> >"sdn.ovs.controller=true" in global settings and select GRE
> >> >isolation method in the guest physical network.
> >> >
> >> >
> >> >Thank you,
> >> >Florin
> >> >
> >> >
> >> >
> >> >From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of
> >> >Nguyen Anh Tu
> >> >Sent: Thursday, January 23, 2014 10:15 AM
> >> >To: dev@cloudstack.apache.org; Sebastien Goasguen; Chiradeep
> >> >Vittal; Florin Dumitrascu
> >> >Subject: Create GRE tunnel failed in 4.2 with XenServer.
> >> >
> >> >
> >> >Guys,
> >> >
> >> >Florin raised a problem in creating GRE tunnel with ACS 4.2
> >> >release and XenServer 6.2. I found the problem come from
> >> >enableXenserverNetwork method. CloudStack made a tricky to create
> >> >network when plugging a VIF to
> >> >dom0 and then unplugging immediately. With XCP version I done in
> >> >GSOC, I bypassed that step so that no p

RE: Not able to add primary Storage Cloudstack 4.3

2014-02-03 Thread Paul Angus
Tejas, You have hcloud\primary, it should be hcloud/primary

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: 04 February 2014 05:16
To: us...@cloudstack.apache.org
Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi,
I have tried to add Primary Storage as suggested above, I am getting similar 
error.
Failed to add data store: 
cifs://10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com>
 is not a valid uri
Regards,
Tejas

On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria 
mailto:refond.g...@gmail.com>> wrote:
Hi Paul,
Thanks for your replay.
I was entering the path exactly what you predicted.  ("\\server\share\directory 
 ")
I will try to add primary storage with 'share/folder' and the 'server' without 
the \\ path .
Regards,
Tejas

On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>> wrote:
Tejas,

I guess that your entering the path as an smb path 
\\server\share\directory
For primary storage try 'share/folder' and the 'server' without the \\

There were issues with shared primary storage, so I've included one of the devs 
working on the feature.

The same is true for secondary storage (although the UI may need 
\share\directory in the path).

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: 
+447711418784 | T: CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

-Original Message-
From: Sean Hamilton 
[mailto:s...@seanhamilton.co.uk<mailto:s...@seanhamilton.co.uk>]
Sent: 01 February 2014 11:55
To: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>
Cc: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Tejas,

What hypervisor are you using?
I can't remember if CIFS is a valid protocol for hypervisors other than 
Hyper-V. NFS is used for other hypervisors.

Cheers,
Sean

> On 1 Feb 2014, at 09:26, Tejas Gadaria 
> mailto:refond.g...@gmail.com>> wrote:
>
> Hi,
>
> While adding primary Storage I am getting
>
>  
> "cifs://10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/%5C%5Chcloud%5Cprimary%5C?user=administrator&password=abc_123&domain=nwx.com>
>  is not a valid uri"
>
> Similar error I am facing while adding secondary storage also.
>
> Please find attachment for logs,
>
>
> Regards,
> Tejas
> 
> 
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


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 bas

RE: Not able to add primary Storage Cloudstack 4.3

2014-02-04 Thread Paul Angus
Hey Tejas,

cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com

Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my 
recollection is that primary and secondary storage UIs are not consistent, add 
the secondary path as /hcloud/secondary

re primary - is the agent service running? it doesn't seem to (always) 
automatically start even when it's set to automatic in services.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: 04 February 2014 12:15
To: us...@cloudstack.apache.org
Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Paul,
I tried with "hcloud/primary" and
primary storage shows Unsupported command issued.

secondary storage shows Failed to add data store: cifs URI missing host and/or 
path. Make sure it's of the format 
cifs://hostname/path?user=&password=

After that I was trying to add secondary storage with /hcloud/secondary, I 
didn't show much activity in log.
In Cloudstack console, secondary storage got added, but protocol is CIFS and 
provider is NFS.

Please find attached logs. and screenshot from attached secondary storage.

Regards,
Tejas

On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>> wrote:
Tejas, You have hcloud\primary, it should be hcloud/primary

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: 
+447711418784 | T: CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>>

From: Tejas Gadaria [mailto:refond.g...@gmail.com<mailto:refond.g...@gmail.com>]
Sent: 04 February 2014 05:16
To: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>
Cc: rajesh.batt...@citrix.com<mailto:rajesh.batt...@citrix.com>; 
dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Subject: Re: Not able to add primary Storage Cloudstack 4.3
Hi,
I have tried to add Primary Storage as suggested above, I am getting similar 
error.
Failed to add data store: 
cifs://10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/hcloud/primary?user=administrator&password=abc_123&domain=nwx.com><http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com>
 is not a valid uri
Regards,
Tejas

On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria 
mailto:refond.g...@gmail.com><mailto:refond.g...@gmail.com<mailto:refond.g...@gmail.com>>>
 wrote:
Hi Paul,
Thanks for your replay.
I was entering the path exactly what you predicted.  ("\\server\share\directory 
 
 
")
I will try to add primary storage with 'share/folder' and the 'server' without 
the \\ path .
Regards,
Tejas
On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus 
mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>>>
 wrote:
Tejas,
I guess that your entering the path as an smb path 
\\server\share\directory>
For primary storage try 'share/folder' and the 'server' without the \\

There were issues with shared primary storage, so I've included one of the devs 
working on the feature.

The same is true for secondary storage (although the UI may need 
\share\directory in the path).

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 
| M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>>

-Original Message-
From: Sean Hamilton 
[mailto:s...@seanhamilton.co.uk<mailto:s...@seanhamilton.co.uk><mailto:s...@seanhamilton.co.uk<mailto:s...@seanhamilton.co.uk>>]
Sent: 01 February 2014 11:55
To: 
us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org><mailto:us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>>
Cc: 
us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org><mailto:us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>>
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Tejas,

What hypervisor are you using?
I can't remember if CIFS is a valid protocol for hypervisors other than 
Hyper-V. NFS is used for other hypervisors.

Cheers,
Sean
> On 1 Feb 2014, at 09:26, Tejas Gadaria 
> mailto:refond.g...@gmail.com><mailto:refond.g...@gmail.com<mailto:refond.g...@gmail.com>>>
>  wrote:
>
> Hi,
>
> While adding primary Storage I am getting
>
>  
> "cifs://10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com<http://10.129

RE: Create GRE tunnel failed in 4.2 with XenServer.

2014-02-05 Thread Paul Angus
Thanks Tuna, is this patch in RC3?

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
Sent: 05 February 2014 14:16
To: Murali Reddy
Cc: dev@cloudstack.apache.org; Florin Dumitrascu; Sebastien Goasguen; Chiradeep 
Vittal; Alex Hitchins
Subject: Re: Create GRE tunnel failed in 4.2 with XenServer.

Hi guys,

Appologize for delay response. I just came back from Lunar New Year vacation.

I spent time to discover the GRE issue on XenServer 6.2. Now I know exactly the 
problem. Here is:

+ No problem with ovstunnel script, it works well with XCP, KVM and
XenServer.
+ The idea to create GRE tunnel between HOSTs is:
CloudStack scans all of VMs including VRs in the network (by NetworkID). On 
the first time, CloudStack calls ovstunnel to setup bridge, then all HOSTs know 
about that bridge. After that, CloudStack start creating and configuring GRE 
tunnels between couple of HOSTs in that network when starting VMs. The steps 
work excellent. However, in XenServer, the HOST (A, for example), which is 
called to create network (via XAPI call), already known about the network, but 
the other HOSTs (B,C,D, for
example) doesn't know about this network. So VMs can't start on B,C,D. It is 
VM_REQUIRE_NETWORK issue. CloudStack made a tricky to let B,C,D know about this 
network by plugging and unplugging immediately the VIF to the network from 
B,C,D Dom0. However, this tricky failed in XenServer version
6.2 because XenServer 6.2 don't accept the VIF from dom0 plug to network 
created by XAPI call. I still don't know why but I just think a way to fix it.

I see Murali's patch request. Will check it now.

Paul Angus: GRE tunnel works fine with XCP and KVM.

Again, sorry for delay response.

Thanks,

--Tuna


On Mon, Feb 3, 2014 at 2:33 PM, Murali Reddy wrote:

> On 01/02/14 9:39 PM, "Paul Angus"  wrote:
>
> >Hey Tuna, (and anyone else working on this)
> >
> >I filed bug 5967 which looks like it might relate to this - I was
> >trying to use GRE tunnel isolation in 4.3 and got VM_REQUIRES_NETWORK
> >errors from the XenServer when trying to start a new virtual router.
> >
> >https://issues.apache.org/jira/browse/CLOUDSTACK-5967
>
> Marking 5967 as blocker for 4.3. Let me back port the fix in master to
> 4.3 branch.
>
> >
> >What's the status of GRE Tunnel isolation as a feature at the moment?
> >
> >Regards
> >
> >Paul Angus
> >Cloud Architect
> >S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
> >paul.an...@shapeblue.com
> >
> >-Original Message-
> >From:  [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
> >Sent: 24 January 2014 05:59
> >To: dev@cloudstack.apache.org
> >Cc: Florin Dumitrascu; Sebastien Goasguen; Chiradeep Vittal
> >Subject: Re: Create GRE tunnel failed in 4.2 with XenServer.
> >
> >Yes, my fixes will be put to 4.3 tomorrow! I get the flu today. Back
> >to work tomorrow.
> >
> >--Tuna
> >
> >Sent from my GT-N7000
> >On Jan 24, 2014 12:43 PM, "Murali Reddy"  wrote:
> >
> >>
> >> On 23/01/14 5:48 PM, "Florin Dumitrascu"
> >>  wrote:
> >>
> >> >Hi Murali, Tuna,
> >> >
> >> >Thank you for this piece of information. All starts to make sense now.
> >> >I am wondering if there is a better way to communicate this issue
> >> >to end users. It would save others a couple of weeks struggling.
> >> >If GRE is not just a technology preview (meaning it has been
> >> >explicitly mentioned in previous release notes), the known issues
> >> >lists for 4.2.0 and 4.2.1 should be explicitly updated.
> >> >
> >> >Leaving 4.2 behind now, which will be the first release to include
> >> >GRE refactoring with OVS service provider ?
> >>
> >> Ideally Tuna's fix (to make OVS as Connectivity service provider)
> >> should have gone into 4.2.1. Looks like they did not go into 4.2.1
> >>
> >> Tuna,
> >>
> >> Can you please ensure your fixes (excluding support for KVM/XCP)
> >> went into 4.2, 4.3 branches as well.
> >>
> >> Thanks,
> >> Murali
> >>
> >> >
> >> >Regards,
> >> >Florin
> >> >
> >> >-Original Message-
> >> >From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of
> >> >Nguyen Anh Tu
> >> >Sent: Thursday, January 23, 2014 11:56 AM
> >> >To: Murali Reddy
> >> >Cc

RE: [VOTE] Apache CloudStack 4.3.0 (third round)

2014-02-05 Thread Paul Angus
-1

OVS/GRE Tunnel on XenServer patch not yet pushed from Master to 4.3

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 03 February 2014 22:59
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (third round)


Hi All,

I've created a 4.3.0 release, with the following artifacts up for a vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 8f63c2cf9c463373d774cb563e63fc56828e1418

List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162



Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/

PGP release keys (signed using 94BE0D7C):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Vote will be open for 3 working days (72 hours) and close on Thursday 2/6 at 
3:00 PM PST

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)

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: [VOTE] Apache CloudStack 4.3.0 (third round)

2014-02-05 Thread Paul Angus
Hi Animesh,

The bug ID is CLOUDSTACK-5967, Murali (Reddy) and Tuna have been dealing with 
it, the information that came patch had not been pushed came from Tuna today.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 05 February 2014 18:42
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (third round)



> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Wednesday, February 05, 2014 8:50 AM
> To: dev@cloudstack.apache.org
> Subject: RE: [VOTE] Apache CloudStack 4.3.0 (third round)
>
> -1
>
> OVS/GRE Tunnel on XenServer patch not yet pushed from Master to 4.3
[Animesh] Can you provide more details? Do you have the commitID?
>
> Regards,
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
> Sent: 03 February 2014 22:59
> To: dev@cloudstack.apache.org
> Subject: [VOTE] Apache CloudStack 4.3.0 (third round)
>
>
> Hi All,
>
> I've created a 4.3.0 release, with the following artifacts up for a vote:
>
> Git Branch and Commit SH:
> https://git-wip-
> us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
> Commit: 8f63c2cf9c463373d774cb563e63fc56828e1418
>
> List of changes:
>  links here for now> New Features in 4.3:
> https://issues.apache.org/jira/issues/?filter=12325248
> Improvement in 4.3:
> https://issues.apache.org/jira/issues/?filter=12325249
> Issues fixed in 4.3
> https://issues.apache.org/jira/issues/?filter=12326161
> Known Issues in 4.3:
> https://issues.apache.org/jira/issues/?filter=12326162
>
>
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/
>
> PGP release keys (signed using 94BE0D7C):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> Testing instructions are here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+pr
> o
> cedure
>
> Vote will be open for 3 working days (72 hours) and close on Thursday
> 2/6 at
> 3:00 PM PST
>
> 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)
>
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-
> infrastructure-support/> offers the best 24/7 SLA for CloudStack
> Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-
> training/>
> 18th-19th February 2014, Brazil.
> Classroom<http://shapeblue.com/cloudstack-training/>
> 17th-23rd March 2014, Region A. Instructor led, On-
> line<http://shapeblue.com/cloudstack-training/>
> 24th-28th March 2014, Region B. Instructor led, On-
> line<http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-
> line<http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-
> line<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 is a 
> registered trademark.
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 an

write access to the wiki

2014-02-06 Thread Paul Angus
Hi Devs,

Can someone grant me write access to the wiki so I can update the 'building 
API' documentation page and add to the Hyper-V documentation.

Many thanks

Paul.



Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: write access to the wiki

2014-02-06 Thread Paul Angus
Thanks Daan.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
Sent: 06 February 2014 09:07
To: dev
Subject: Re: write access to the wiki

done
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


systemvm-4.3.0.iso

2014-02-07 Thread Paul Angus
Have any changes been made to the deployment of the systemvm-4.3.0.iso between 
RC2 and RC3 ??

I can't get a system VMs to fully start in hyperv or xenserver - all issues 
seem to relate to the systemvm-4.3.0.iso - which doesn't seem to be making 
across to primary storage in hyper-v or properly configuring the secondary 
storage VM under xenserver...

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: systemvm-4.3.0.iso

2014-02-07 Thread Paul Angus
0 
eth2ip=10.0.106.1 eth2mask=255.255.0.0 gateway=10.0.1.1 eth0ip=169.254.0.63 
eth0mask=255.255.0.0 eth1ip=10.0.106.248 eth1mask=255.255.0.0 
mgmtcidr=10.0.0.0/16 localgw=10.0.1.1 private.network.device=eth1 
eth3ip=10.0.106.249 eth3mask=255.255.0.0 storageip=10.0.106.249 
storagenetmask=255.255.0.0 storagegateway=10.0.1.1 internaldns1=10.0.1.2 
dns1=10.0.1.2",
  "rebootOnCrash": false,
  "enableHA": false,
  "limitCpuUse": false,
  "enableDynamicallyScaleVm": false,
  "vncPassword": "38e8aeeea9cd60eb",
  "params": {
"memoryOvercommitRatio": "1.0",
"cpuOvercommitRatio": "4.0"
  },
  "uuid": "6f2b4fce-ad17-46a5-a894-f7c92aa8122b",
  "disks": [
{
  "data": {
"org.apache.cloudstack.storage.to.VolumeObjectTO": {
  "uuid": "61ce74dc-6f44-4244-ad35-8c440e14cd0a",
  "volumeType": "ROOT",
  "dataStore": {
"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
  "uuid": "956abad9-77b4-33cc-9b6f-05a29b68bc3d",
  "id": 3,
  "poolType": "NetworkFilesystem",
  "host": "10.0.1.27",
  "path": 
"/hypervPri/stor/Primary?user=hyperv&domain=angusnet.local",
  "port": 445,
  "url": 
"NetworkFilesystem://10.0.1.27//hypervPri/stor/Primary?user=hyperv&domain=angusnet.local/?ROLE=Primary&STOREUUID=956abad9-77b4-33cc-9b6f-05a29b68bc3d"
}
  },
  "name": "ROOT-27",
  "size": 0,
  "path": "10.0.1.27\\hypervPri\\stor\\Primary\\ROOT-27.vhd",
  "volumeId": 27,
  "vmName": "s-27-VM",
  "accountId": 1,
  "format": "VHD",
  "id": 27,
  "deviceId": 0,
  "hypervisorType": "Hyperv"
}
  },
  "diskSeq": 0,
  "path": "10.0.1.27\\hypervPri\\stor\\Primary\\ROOT-27.vhd",
  "type": "ROOT",
  "_details": {
"managed": "false",
"storagePort": "445",
"storageHost": "10.0.1.27",
"volumeSize": "0"
  }
}
  ],
  "nics": [
{
  "deviceId": 2,
  "networkRateMbps": -1,
  "defaultNic": true,
  "uuid": "4d1e7e7d-4ea8-4caf-b50d-48388e157880",
  "ip": "10.0.106.1",
  "netmask": "255.255.0.0",
  "gateway": "10.0.1.1",
  "mac": "06:ad:e4:00:00:0f",
  "dns1": "10.0.1.2",
  "broadcastType": "Native",
  "type": "Guest",
  "broadcastUri": "vlan://untagged",
  "isSecurityGroupEnabled": false
},
{
  "deviceId": 0,
  "networkRateMbps": -1,
  "defaultNic": false,
  "uuid": "03cca24d-d6ff-4852-81a0-9004f30e5b76",
  "ip": "169.254.0.63",
  "netmask": "255.255.0.0",
  "gateway": "169.254.0.1",
  "mac": "0e:00:a9:fe:00:3f",
  "broadcastType": "LinkLocal",
  "type": "Control",
  "isSecurityGroupEnabled": false
},
{
  "deviceId": 1,
  "networkRateMbps": -1,
  "defaultNic": false,
  "uuid": "6c5b1433-a390-4e0d-a4f6-37569463e9b4",
  "ip": "10.0.106.248",
  "netmask": "255.255.0.0",
  "gateway": "10.0.1.1",
  "mac": "06:08:d8:00:00:09",
  "broadcastType": "Native",
  "type": "Management",
  "isSecurityGroupEnabled": false
},
{
  "deviceId": 3,
  "networkRateMbps": -1,
  "defaultNic": false,
  "uuid": "c1bcc2d2-05f6-4d31-aeb9-31bb99f8d20a",
 

RE: Not able to add primary Storage Cloudstack 4.3

2014-02-07 Thread Paul Angus
Tejas,

Check out the dev list I've just posted an issue with the system vms not 
starting - you might be having the same issue.  check the agent log for:

ERROR HypervResource.HypervResourceController 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - com.cloud.agent.api.StartCommand fail 
on exceptionObject reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at HypervResource.WmiCallsV2.DeployVirtualMachine(Object jsonObj, String 
systemVmIso)
   at HypervResource.HypervResourceController.StartCommand(Object cmd)


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: 07 February 2014 11:31
To: Rajesh Battala
Cc: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi Rajesh,

Thanks for providing API.
I have successfully attached primary storage to cloudstack.

I am facing problem with SSVM and CPVM also, probably I will initiate new 
mail-trail ssytem vm issues.

Reards,
Tejas




On Thu, Feb 6, 2014 at 12:27 PM, Rajesh Battala
wrote:

>  Tejas,
>
> This is how the api command looks like to create primary and secondary
> storage.
>
>
>
>
> command=createStoragePool&zoneid=581bc2b6-0295-40e0-90ed-2717e239c2b6&
> podId=896cff2e-d51e-454b-97ed-cab078bf3be2&clusterid=3785c58a-d891-448
> 2-9e6f-72f2060b80d3&name=ps&scope=cluster&url=cifs%3A%2F%2F10.102.192.
> 150%2Fsmb-share%2Frajesh%2Fprimary%3Fuser%3DAdministrator%26domain%3DB
> LR&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs7Zws%3D&_=139166689
> 6777
>
>
>
>
>
>
> command=addImageStore&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs
> 7Zws%3D&name=sec&provider=SMB&zoneid=581bc2b6-0295-40e0-90ed-2717e239c
> 2b6&url=cifs%3A%2F%2F10.102.192.150%2Fsmb-share%2Frajesh%2Fsecondary%3
> Fuser%3DAdministrator%26domain%3DBLR&_=1391666908684
>
>
>
>
>
>
>
> in the wizard specify the path as
>
>   "/smb-share/rajesh/primary"
>
> Similar for secondary.
>
> Provide credentials and domain name in the wizard.
>
>
>
> Make sure you were able to access the share from the hyperv hosts
> before adding them to CS.
>
>
>
> Thanks
>
> Rajesh Battala
>
>
>
>
>
> *From:* Tejas Gadaria [mailto:refond.g...@gmail.com]
> *Sent:* Thursday, February 6, 2014 11:03 AM
> *To:* us...@cloudstack.apache.org
> *Cc:* Rajesh Battala; dev@cloudstack.apache.org
>
> *Subject:* Re: Not able to add primary Storage Cloudstack 4.3
>
>
>
> Hi,
>
> I am not able to attach primary storage in Cloudstack as cifs.
>
> So what I am doing wrong OR what are the issues with primary storage.?
>
> Regards
>
> Tejas
>
>
>
> On Wed, Feb 5, 2014 at 4:35 PM, Tejas Gadaria 
> wrote:
>
> Hi Paul,
>
> forgot to mention,
>
> hyper-v agent is running.
>
> Regards,
>
> Tejas
>
>
>
> On Wed, Feb 5, 2014 at 4:33 PM, Tejas Gadaria 
> wrote:
>
> Hi Paul,
>
> yesterday when I was trying to add secondary storage with
> /hcloud/secondary , In logs I was not able to see much activity, but
> storage got attached.
>
> I have uploaded screenshot in previous  mail.
>
> I have reattached the secondary storage, and it logs are Trying to add
> a new data store at cifs://
> 10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com to
> data center 3
> 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils]
> (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundUser istrue
> 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils]
> (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundPswd istrue
>
> I have not enable the zone yet.
>
> In attached screenshot of secondary storage in previous mail
>
> protocol:cifs
>
> provider : NFS
>
> I suspect, it because I have taken chunk of NFS datastore, mounted and
> share it via Windows fie server (Standalone)
>
>
> please find logs in attached file.
>
>
>
> Regards,
>
> Tejas
>
>
>
> On Tue, Feb 4, 2014 at 5:52 PM, Paul Angus 
> wrote:
>
> Hey Tejas,
>
>
> cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%2
> 6domain%3Dnwx.com
>
> Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my
> recollection is that primary and secondary storage UIs are not
> consistent, add the secondary path as /hcloud/secondary
>
> re primary - is the agent service running? it doesn't seem to (always)
> automatically start even when it's set to automatic in services.
>
&g

RE: systemvm-4.3.0.iso

2014-02-07 Thread Paul Angus
Thanks Devdeep,

@Animesh, can we make sure the patch gets into the next RC please.

Many thanks

Paul.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: 07 February 2014 12:13
To: dev@cloudstack.apache.org
Cc: Rajesh Battala
Subject: RE: systemvm-4.3.0.iso

Hi Paul,

Looks like you are using untagged vlan in your setup. There was a bug in agent 
code with respect to that. Rajesh made a fix for it in commit-id 
7df148c762510f669b60edff9d8d690c800b1f95 few days back. This fix should address 
the problem.

Regards,
Devdeep

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Friday, February 7, 2014 4:55 PM
To: dev@cloudstack.apache.org
Subject: RE: systemvm-4.3.0.iso

Thanks for the info Devdeep,

so yes the systemvm iso is getting copied to the local disk, but I'm getting 
the following error:


ERROR HypervResource.HypervResourceController 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - com.cloud.agent.api.StartCommand fail 
on exceptionObject reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at HypervResource.WmiCallsV2.DeployVirtualMachine(Object jsonObj, String 
systemVmIso)
   at HypervResource.HypervResourceController.StartCommand(Object cmd)

agent log:


2014-02-07 11:19:56,685 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Going ahead with create VM s-27-VM, 1 
vcpus, 512MB RAM
2014-02-07 11:19:56,716 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Created VM s-27-VM
2014-02-07 11:19:57,075 [28] INFO  HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - VM with display name s-27-VM has GUID 
9E6D3606-8210-4E84-8796-BEB7970785F4
2014-02-07 11:19:57,075 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Resources for vm s-27-VM: 512 MB 
memory, 1 vcpus
2014-02-07 11:19:57,106 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - New controller type 
Microsoft:Hyper-V:Synthetic SCSI Controller WMI path is 
\\WIN-G23HSIAIU4O\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:9E6D3606-8210-4E84-8796-BEB7970785F4\\57035109-ED28-4F65-8BCB-487CFC66F8E8\\0"s
2014-02-07 11:19:57,106 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Going to create s-27-VM with attached 
voluem ROOT-27 at \\10.0.1.27\hypervPri\stor\Primary\ROOT-27.vhd
2014-02-07 11:19:57,106 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Create disk type 
Microsoft:Hyper-V:Synthetic Disk Drive (Named: ROOT-27), on vm s-27-VM , 
inserting disk\\10.0.1.27\hypervPri\stor\Primary\ROOT-27.vhd
2014-02-07 11:19:57,106 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Creating DISK for VM s-27-VM (GUID 
9E6D3606-8210-4E84-8796-BEB7970785F4) by attaching 
\\10.0.1.27\hypervPri\stor\Primary\ROOT-27.vhd
2014-02-07 11:19:57,403 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Creating disk drive type 
Microsoft:Hyper-V:Synthetic Disk Drive, parent IDE controller is 
\\WIN-G23HSIAIU4O\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:9E6D3606-8210-4E84-8796-BEB7970785F4\\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\\0"
 and address on controller is 0
2014-02-07 11:19:57,418 [28] DEBUG HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - New disk drive type 
Microsoft:Hyper-V:Synthetic Disk Drive WMI path is 
\\WIN-G23HSIAIU4O\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:9E6D3606-8210-4E84-8796-BEB7970785F4\\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\\0\\0\\D"s
2014-02-07 11:19:57,574 [28] INFO  HypervResource.WmiCallsV2 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - Created disk 
\\WIN-G23HSIAIU4O\root\virtualization\v2:Msvm_StorageAllocationSettingData.InstanceID="Microsoft:9E6D3606-8210-4E84-8796-BEB7970785F4\\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\\0\\0\\L"
 for VM s-27-VM (GUID 9E6D3606-8210-4E84-8796-BEB7970785F4), image 
\\10.0.1.27\hypervPri\stor\Primary\ROOT-27.vhd
2014-02-07 11:19:57,574 [28] ERROR HypervResource.HypervResourceController 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - com.cloud.agent.api.StartCommand fail 
on exceptionObject reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at HypervResource.WmiCallsV2.DeployVirtualMachine(Object jsonObj, String 
systemVmIso)
   at HypervResource.HypervResourceController.StartCommand(Object cmd)
2014-02-07 11:19:57,574 [28] INFO  HypervResource.HypervResourceController 
[6b05182a-efa1-4105-bc5c-0a49c55674f0] - {
  "com.cloud.agent.api.StartAnswer": {
"resu

S3 based secondary Storage

2014-02-08 Thread Paul Angus
Hi Guys,

Any idea what's happening here? (see last two lines of log).

I haven't seeded sec storage, because it's going to be S3 based.

Unless you have to create NFS first and then migrate to it? But then the option 
to 'not create nfs staging area' doesn't make sense...

2014-02-08 20:11:16,770 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-13ef9d35 
ctx-c6f8549a) ===END===  10.0.0.17 -- GET  
command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzUytY%3D&name=SecStor-S3&provider=S3&details%5B0%5D.key=accesskey&details%5B0%5D.value=&details%5B1%5D.key=secretkey&details%5B1%5D.value=&details%5B2%5D.key=bucket&details%5B2%5D.value=cloudstack-sec-stor&details%5B3%5D.key=usehttps&details%5B3%5D.value=false&details%5B4%5D.key=endpoint&details%5B4%5D.value=s3-website-eu-west-1.amazonaws.com&_=1391890278321

2014-02-08 20:11:26,925 INFO  [c.c.s.t.S3TemplateDownloader] 
(pool-10-thread-1:ctx-045258b1) No credentials configured for 
host=download.cloud.com:80
2014-02-08 20:11:27,579 INFO  [c.c.s.t.S3TemplateDownloader] 
(pool-9-thread-1:ctx-efcb9d5b) Starting download from 
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
 to s3 bucket cloudstack-sec-stor remoteSize=236599855 , max size=53687091200

2014-02-08 20:11:27,580 DEBUG [c.c.u.S3Utils] (pool-9-thread-1:ctx-efcb9d5b) 
Sending stream as S3 object using PutObjectRequest
2014-02-08 20:11:27,580 DEBUG [c.c.u.S3Utils] (pool-9-thread-1:ctx-efcb9d5b) 
Creating S3 client with configuration: [protocol: http, connectionTimeOut: 
5, maxErrorRetry: 3, socketTimeout: 5]
2014-02-08 20:11:27,588 DEBUG [c.c.u.S3Utils] (pool-9-thread-1:ctx-efcb9d5b) 
Setting the end point for S3 client 
com.amazonaws.services.s3.AmazonS3Client@756ff826 to 
s3-website-eu-west-1.amazonaws.com.

2014-02-08 20:13:18,734 INFO  [o.a.c.s.t.DownloadManagerImpl] 
(pool-9-thread-1:ctx-efcb9d5b) Download Completion for jobId: 
30aad9b0-a968-4896-bf2c-1d5e31973934, status=UNRECOVERABLE_ERROR
2014-02-08 20:13:18,735 INFO  [o.a.c.s.t.DownloadManagerImpl] 
(pool-9-thread-1:ctx-efcb9d5b) local: 
template/tmpl/1/1/routing-1/systemvm64template-2014-01-14-master-xen.vhd.bz2, 
bytes=0, error=null, pct=0


Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image003.png@01CEF0F0.9C9104D0]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


failing to build noredist on 4.3 RC4

2014-02-09 Thread Paul Angus
Hi guys,

I'm suddenly getting build failures against 4.3 -

Is it looking for a jar called vim25.jar (which actually called vim25_51.jar)?


[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project cloud-vmware-base: Compilation failure: Compilation failure:
[ERROR] 
/usr/local/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.3.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[36,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidCollectorVersionFaultMsg
[ERROR] location: package com.vmware.vim25
[ERROR] 
/usr/local/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.3.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[37,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidPropertyFaultMsg
[ERROR] location: package com.vmware.vim25

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: S3 based secondary Storage

2014-02-10 Thread Paul Angus
Yes, I'm using S3Browser, no problem uploading/downloading files

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
Sent: 10 February 2014 08:38
To: dev@cloudstack.apache.org
Subject: RE: S3 based secondary Storage

Hi,

To make sure everything is working fine with S3 , try to upload a file to s3 
storage using any s3client and use the same credentials.

-Sanjeev

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Sunday, February 09, 2014 1:50 AM
To: dev@cloudstack.apache.org
Subject: S3 based secondary Storage

Hi Guys,

Any idea what's happening here? (see last two lines of log).

I haven't seeded sec storage, because it's going to be S3 based.

Unless you have to create NFS first and then migrate to it? But then the option 
to 'not create nfs staging area' doesn't make sense...

2014-02-08 20:11:16,770 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-13ef9d35 
ctx-c6f8549a) ===END===  10.0.0.17 -- GET  
command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzUytY%3D&name=SecStor-S3&provider=S3&details%5B0%5D.key=accesskey&details%5B0%5D.value=&details%5B1%5D.key=secretkey&details%5B1%5D.value=&details%5B2%5D.key=bucket&details%5B2%5D.value=cloudstack-sec-stor&details%5B3%5D.key=usehttps&details%5B3%5D.value=false&details%5B4%5D.key=endpoint&details%5B4%5D.value=s3-website-eu-west-1.amazonaws.com&_=1391890278321

2014-02-08 20:11:26,925 INFO  [c.c.s.t.S3TemplateDownloader] 
(pool-10-thread-1:ctx-045258b1) No credentials configured for 
host=download.cloud.com:80
2014-02-08 20:11:27,579 INFO  [c.c.s.t.S3TemplateDownloader] 
(pool-9-thread-1:ctx-efcb9d5b) Starting download from 
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
 to s3 bucket cloudstack-sec-stor remoteSize=236599855 , max size=53687091200

2014-02-08 20:11:27,580 DEBUG [c.c.u.S3Utils] (pool-9-thread-1:ctx-efcb9d5b) 
Sending stream as S3 object using PutObjectRequest
2014-02-08 20:11:27,580 DEBUG [c.c.u.S3Utils] (pool-9-thread-1:ctx-efcb9d5b) 
Creating S3 client with configuration: [protocol: http, connectionTimeOut: 
5, maxErrorRetry: 3, socketTimeout: 5]
2014-02-08 20:11:27,588 DEBUG [c.c.u.S3Utils] (pool-9-thread-1:ctx-efcb9d5b) 
Setting the end point for S3 client 
com.amazonaws.services.s3.AmazonS3Client@756ff826<mailto:com.amazonaws.services.s3.AmazonS3Client@756ff826>
 to s3-website-eu-west-1.amazonaws.com.

2014-02-08 20:13:18,734 INFO  [o.a.c.s.t.DownloadManagerImpl] 
(pool-9-thread-1:ctx-efcb9d5b) Download Completion for jobId: 
30aad9b0-a968-4896-bf2c-1d5e31973934, status=UNRECOVERABLE_ERROR
2014-02-08 20:13:18,735 INFO  [o.a.c.s.t.DownloadManagerImpl] 
(pool-9-thread-1:ctx-efcb9d5b) local: 
template/tmpl/1/1/routing-1/systemvm64template-2014-01-14-master-xen.vhd.bz2, 
bytes=0, error=null, pct=0


Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image003.png@01CEF0F0.9C9104D0]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 comp

RE: failing to build noredist on 4.3 RC4

2014-02-10 Thread Paul Angus
Hi Min,

I've been building 4.3 noredist for a while now, it just seemed to stop working 
yesterday, I'm not sure what changed.

So I have the dependency ok.

# find . -name vmware-vim25-5.1.jar
./.m2/repository/com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar

But I still get the same error

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project cloud-vmware-base: Compilation failure: Compilation failure:
[ERROR] 
/usr/local/cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[36,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidCollectorVersionFaultMsg
[ERROR] location: package com.vmware.vim25
[ERROR] 
/usr/local/cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[37,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidPropertyFaultMsg
[ERROR] location: package com.vmware.vim25
[ERROR] 
/usr/local/cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[49,23]
 error: cannot find symbol
[ERROR] symbol:   class RuntimeFaultFaultMsg
[ERROR] location: package com.vmware.vim25

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 19:24
To: dev@cloudstack.apache.org
Subject: Re: failing to build noredist on 4.3 RC4

I just tried to build noredist on 4.3 branch, it worked fine for me. Is this 
the first time you are building noredist on your machine? If so, you need to 
make sure that you have installed Vmware 5.1 SDK jar into your maven repo. Go 
to your .m2/repository, you should find this:

localhost:repository minc$ find . -name vmware-vim25-5.1.jar 
./com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar

Thanks
-min

From: Paul Angus mailto:paul.an...@shapeblue.com>>
Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
mailto:dev@cloudstack.apache.org>>
Date: Sunday, February 9, 2014 7:10 AM
To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
mailto:dev@cloudstack.apache.org>>
Subject: failing to build noredist on 4.3 RC4

Hi guys,

I’m suddenly getting build failures against 4.3 –

Is it looking for a jar called vim25.jar (which actually called vim25_51.jar)?


[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project cloud-vmware-base: Compilation failure: Compilation failure:
[ERROR] 
/usr/local/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.3.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[36,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidCollectorVersionFaultMsg
[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.3.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[37,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidPropertyFaultMsg
[ERROR] location: package com.vmware.vim25

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 

RE: S3 based secondary Storage

2014-02-10 Thread Paul Angus
Hey Min,

S3cmd works ok too, but what's odd is that it says that the bucket is in the 
US, but the AWS S3 control panel says it's in Ireland. I'm using 
s3-website-eu-west-1.amazonaws.com as my endpoint in CloudStack

Here's my s3cfg file

(I'll change the access keys soon :))


[default]
access_key = AKIAIF25KWKAPF4E74KQ
bucket_location = US
cloudfront_host = cloudfront.amazonaws.com
cloudfront_resource = /2010-07-15/distribution
default_mime_type = binary/octet-stream
delete_removed = False
dry_run = False
encoding = UTF-8
encrypt = False
follow_symlinks = False
force = False
get_continue = False
gpg_command = /usr/bin/gpg
gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes 
--passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes 
--passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_passphrase = mcTavish99
guess_mime_type = True
host_base = s3.amazonaws.com
host_bucket = %(bucket)s.s3.amazonaws.com
human_readable_sizes = False
list_md5 = False
log_target_prefix =
preserve_attrs = True
progress_meter = True
proxy_host =
proxy_port = 0
recursive = False
recv_chunk = 4096
reduced_redundancy = False
secret_key = 8/C8W1VcauYm0BLQqAUwpUbjDFzkOqD/lUN+8hta
send_chunk = 4096
simpledb_host = sdb.amazonaws.com
skip_existing = False
socket_timeout = 300
urlencoding_mode = normal
use_https = False
verbosity = WARNING



Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 17:16
To: dev@cloudstack.apache.org
Subject: Re: S3 based secondary Storage

Can you try with s3cmd? If still not working, please post your .s3cfg file.

Thanks
-min

On 2/10/14 12:41 AM, "Paul Angus"  wrote:

>Yes, I'm using S3Browser, no problem uploading/downloading files
>
>Regards,
>
>Paul Angus
>Cloud Architect
>S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
>Sent: 10 February 2014 08:38
>To: dev@cloudstack.apache.org
>Subject: RE: S3 based secondary Storage
>
>Hi,
>
>To make sure everything is working fine with S3 , try to upload a file
>to
>s3 storage using any s3client and use the same credentials.
>
>-Sanjeev
>
>From: Paul Angus [mailto:paul.an...@shapeblue.com]
>Sent: Sunday, February 09, 2014 1:50 AM
>To: dev@cloudstack.apache.org
>Subject: S3 based secondary Storage
>
>Hi Guys,
>
>Any idea what's happening here? (see last two lines of log).
>
>I haven't seeded sec storage, because it's going to be S3 based.
>
>Unless you have to create NFS first and then migrate to it? But then
>the option to 'not create nfs staging area' doesn't make sense...
>
>2014-02-08 20:11:16,770 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-11:ctx-13ef9d35 ctx-c6f8549a) ===END===  10.0.0.17 --
>GET
>command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzU
>ytY
>%3D&name=SecStor-S3&provider=S3&details%5B0%5D.key=accesskey&details%5B
>0%5
>D.value=&details%5B1%5D.key=secretkey&details%5B1%5D.value=&d
>eta
>ils%5B2%5D.key=bucket&details%5B2%5D.value=cloudstack-sec-stor&details%
>5B3
>%5D.key=usehttps&details%5B3%5D.value=false&details%5B4%5D.key=endpoint
>&de
>tails%5B4%5D.value=s3-website-eu-west-1.amazonaws.com&_=1391890278321
>
>2014-02-08 20:11:26,925 INFO  [c.c.s.t.S3TemplateDownloader]
>(pool-10-thread-1:ctx-045258b1) No credentials configured for
>host=download.cloud.com:80
>2014-02-08 20:11:27,579 INFO  [c.c.s.t.S3TemplateDownloader]
>(pool-9-thread-1:ctx-efcb9d5b) Starting download from
>http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-m
>ast
>er-xen.vhd.bz2 to s3 bucket cloudstack-sec-stor remoteSize=236599855 ,
>max size=53687091200
>
>2014-02-08 20:11:27,580 DEBUG [c.c.u.S3Utils]
>(pool-9-thread-1:ctx-efcb9d5b) Sending stream as S3 object using
>PutObjectRequest
>2014-02-08 20:11:27,580 DEBUG [c.c.u.S3Utils]
>(pool-9-thread-1:ctx-efcb9d5b) Creating S3 client with configuration:
>[protocol: http, connectionTimeOut: 5, maxErrorRetry: 3,
>socketTimeout: 5]
>2014-02-08 20:11:27,588 DEBUG [c.c.u.S3Utils]
>(pool-9-thread-1:ctx-efcb9d5b) Setting the end point for S3 client
>com.amazonaws.services.s3.AmazonS3Client@756ff826<mailto:com.amazonaws.
>ser vices.s3.AmazonS3Client@756ff826> to
>s3-website-eu-west-1.amazonaws.com.
>
>2014-02-08 20:13:18,734 INFO  [o.a.c.s.t.DownloadManagerImpl]
>(pool-9-thread-1:ctx-efcb9d5b) Download Completion for j

RE: S3 based secondary Storage

2014-02-10 Thread Paul Angus
I removed it from the paste for security - it was there:)

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 22:07
To: dev@cloudstack.apache.org
Subject: Re: S3 based secondary Storage

Look further into your API invoked to add S3 image store:

command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzUytY=&name=SecStor-S3&provider=S3&details[0].key=accesskey&details[0].value=&details[1].key=secretkey&details[1].value=&details[2].key=bucket&details[2].value=cloudstack-sec-stor&details[3].key=usehttps&details[3].value=false&details[4].key=endpoint&details[4].value=s3-website-eu-west-1.amazonaws.com

See highlighted part, you didn't provide access key and secret key there.

Thanks
-min

On 2/10/14 1:36 PM, "Paul Angus" 
mailto:paul.an...@shapeblue.com>> wrote:

Hey Min,

S3cmd works ok too, but what's odd is that it says that the bucket is in the 
US, but the AWS S3 control panel says it's in Ireland. I'm using 
s3-website-eu-west-1.amazonaws.com as my endpoint in CloudStack

Here's my s3cfg file

(I'll change the access keys soon :))


[default]
access_key = AKIAIF25KWKAPF4E74KQ
bucket_location = US
cloudfront_host = cloudfront.amazonaws.com cloudfront_resource = 
/2010-07-15/distribution default_mime_type = binary/octet-stream delete_removed 
= False dry_run = False encoding = UTF-8 encrypt = False follow_symlinks = 
False force = False get_continue = False gpg_command = /usr/bin/gpg gpg_decrypt 
= %(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd 
%(passphrase_fd)s -o %(output_file)s %(input_file)s gpg_encrypt = 
%(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd 
%(passphrase_fd)s -o %(output_file)s %(input_file)s gpg_passphrase = mcTavish99 
guess_mime_type = True host_base = s3.amazonaws.com host_bucket = 
%(bucket)s.s3.amazonaws.com human_readable_sizes = False
list_md5 = False
log_target_prefix =
preserve_attrs = True
progress_meter = True
proxy_host =
proxy_port = 0
recursive = False
recv_chunk = 4096
reduced_redundancy = False
secret_key = 8/C8W1VcauYm0BLQqAUwpUbjDFzkOqD/lUN+8hta
send_chunk = 4096
simpledb_host = sdb.amazonaws.com
skip_existing = False
socket_timeout = 300
urlencoding_mode = normal
use_https = False
verbosity = WARNING



Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 17:16
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Subject: Re: S3 based secondary Storage

Can you try with s3cmd? If still not working, please post your .s3cfg file.

Thanks
-min

On 2/10/14 12:41 AM, "Paul Angus" 
mailto:paul.an...@shapeblue.com>> wrote:

Yes, I'm using S3Browser, no problem uploading/downloading files

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
Sent: 10 February 2014 08:38
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Subject: RE: S3 based secondary Storage

Hi,

To make sure everything is working fine with S3 , try to upload a file to
s3 storage using any s3client and use the same credentials.

-Sanjeev

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Sunday, February 09, 2014 1:50 AM
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Subject: S3 based secondary Storage

Hi Guys,

Any idea what's happening here? (see last two lines of log).

I haven't seeded sec storage, because it's going to be S3 based.

Unless you have to create NFS first and then migrate to it? But then the option 
to 'not create nfs staging area' doesn't make sense...

2014-02-08 20:11:16,770 DEBUG [c.c.a.ApiServlet]
(catalina-exec-11:ctx-13ef9d35 ctx-c6f8549a) ===END===  10.0.0.17 -- GET 
command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzU
ytY
%3D&name=SecStor-S3&provider=S3&details%5B0%5D.key=accesskey&details%5B
0%5
D.value=&details%5B1%5D.key=secretkey&details%5B1%5D.value=&d
eta
ils%5B2%5D.key=bucket&details%5B2%5D.value=cloudstack-sec-stor&details%
5B3
%5D.key=usehttps&details%5B3%5D.value=false&details%5B4%5D.key=endpoint
&de
tails%5B4%5D.value=s3-website-eu-west-1.amazonaws.com&_=1391890278321

2014-02-08 20:11:26,925 INFO  [c.c.s.t.S3TemplateDownloader]
(pool-10-thread-1:ctx-045258b1) No credentials configured for
host=download.cloud.com:80
2014-02-08 20:11:27,579 INFO  [c.c.s.t.S3Templa

RE: S3 based secondary Storage

2014-02-11 Thread Paul Angus
Success! (some)

I changed the endpoint to s3.amazonaws.com last night and it failed, but 
actually because download.cloud.com wasn't responding, I tried again today and 
it uploaded - Cool.

BUT now, CloudStack is complaining that I don't have a cache/staging storage... 
I thought that the staging area was to migrate from NFS to s3 (why is it 
optional if you have to have one?)


Sorry, still getting my head around this...

2014-02-11 09:08:24,396 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(secstorage-1:ctx-c5e3fb33) needCacheStorage true, dest at null dest role 
Primarytemplate/tmpl/1/1/routing-1/systemvm64template-2014-01-14-master-xen.vhd.bz2
 src role Image
2014-02-11 09:08:24,398 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(secstorage-1:ctx-c5e3fb33) Can't find staging storage in zone: 1
2014-02-11 09:08:24,398 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(secstorage-1:ctx-c5e3fb33) copy object failed:
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE


2014-02-11 09:08:24,406 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(secstorage-1:ctx-c5e3fb33) Unable to create 
Vol[11|vm=11|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE
2014-02-11 09:08:24,406 INFO  [c.c.v.VirtualMachineManagerImpl] 
(secstorage-1:ctx-c5e3fb33) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[11|vm=11|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 22:57
To: dev@cloudstack.apache.org
Subject: Re: S3 based secondary Storage

It seems to me that your endpoint may not be right, see this link:
http://docs.aws.amazon.com/general/latest/gr/rande.html, where it lists all 
valid endpoint for Amazon S3, your endpoint is not the one for Ireland.

Thanks
-min

On 2/10/14 2:13 PM, "Paul Angus"  wrote:

>I removed it from the paste for security - it was there:)
>
>Regards
>
>Paul Angus
>Cloud Architect
>S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Min Chen [mailto:min.c...@citrix.com]
>Sent: 10 February 2014 22:07
>To: dev@cloudstack.apache.org
>Subject: Re: S3 based secondary Storage
>
>Look further into your API invoked to add S3 image store:
>
>command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzU
>ytY
>=&name=SecStor-S3&provider=S3&details[0].key=accesskey&details[0].value
>=ey>&details[1].key=secretkey&details[1].value=&details[2].key=buck
>ey>et&
>details[2].value=cloudstack-sec-stor&details[3].key=usehttps&details[3]
>.va
>lue=false&details[4].key=endpoint&details[4].value=s3-website-eu-west-1
>.am
>azonaws.com
>
>See highlighted part, you didn't provide access key and secret key there.
>
>Thanks
>-min
>
>On 2/10/14 1:36 PM, "Paul Angus"
>mailto:paul.an...@shapeblue.com>> wrote:
>
>Hey Min,
>
>S3cmd works ok too, but what's odd is that it says that the bucket is
>in the US, but the AWS S3 control panel says it's in Ireland. I'm using
>s3-website-eu-west-1.amazonaws.com as my endpoint in CloudStack
>
>Here's my s3cfg file
>
>(I'll change the access keys soon :))
>
>
>[default]
>access_key = AKIAIF25KWKAPF4E74KQ
>bucket_location = US
>cloudfront_host = cloudfront.amazonaws.com cloudfront_resource =
>/2010-07-15/distribution default_mime_type = binary/octet-stream
>delete_removed = False dry_run = False encoding = UTF-8 encrypt = False
>follow_symlinks = False force = False get_continue = False gpg_command
>= /usr/bin/gpg gpg_decrypt = %(gpg_command)s -d --verbose
>--no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o
>%(output_file)s %(input_file)s gpg_encrypt = %(gpg_command)s -c
>--verbose --no-use-agent --batch --yes --passphrase-fd
>%(passphrase_fd)s -o %(output_file)s %(input_file)s gpg_passphrase =
>mcTavish99 guess_mime_type = True host_base = s3.amazonaws.com
>host_bucket = %(bucket)s.s3.amazonaws.com human_readable_sizes = False
>list_md5 = False
>log_target_prefix =
>preserve_attrs = True
>progress_meter = True
>proxy_host =
>proxy_port = 0
>recursive = False
>recv_chunk = 4096
>reduced_redundancy = False
>secret_key = 8/C8W1VcauYm0BLQqAUwpUbjDFzkOqD/lUN+8hta
>send_chunk = 4096
>simpledb_host = sdb.amazonaws.com
>skip_existing = Fa

RE: S3 based secondary Storage

2014-02-11 Thread Paul Angus
Thanks Sanjeev for the explanation,

1. can the staging area be added after the S3 storage is added or does it have 
to be done at the same time (I can't see a 'staging' api command)
2. the adds3 api documentation doesn't include anything about staging areas - 
what are the arguments?  (I'll file a bug to get them added to the API 
documentation too)



Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
Sent: 11 February 2014 10:37
To: dev@cloudstack.apache.org
Subject: RE: S3 based secondary Storage

Hi,

At least one NFS Staging storage is needed in each zone to copy storage 
artifacts from S3 to primary and vice-versa.
While adding S3 storage NFS staging storage is optional because we can add more 
than one S3 storage in a region. So for every S3 storage addition we don't need 
to add NFS staging storage. In this case we can uncheck staging storage part.

-Sanjeev

-----Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Tuesday, February 11, 2014 2:51 PM
To: dev@cloudstack.apache.org
Subject: RE: S3 based secondary Storage

Success! (some)

I changed the endpoint to s3.amazonaws.com last night and it failed, but 
actually because download.cloud.com wasn't responding, I tried again today and 
it uploaded - Cool.

BUT now, CloudStack is complaining that I don't have a cache/staging storage... 
I thought that the staging area was to migrate from NFS to s3 (why is it 
optional if you have to have one?)


Sorry, still getting my head around this...

2014-02-11 09:08:24,396 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(secstorage-1:ctx-c5e3fb33) needCacheStorage true, dest at null dest role 
Primarytemplate/tmpl/1/1/routing-1/systemvm64template-2014-01-14-master-xen.vhd.bz2
 src role Image
2014-02-11 09:08:24,398 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(secstorage-1:ctx-c5e3fb33) Can't find staging storage in zone: 1
2014-02-11 09:08:24,398 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(secstorage-1:ctx-c5e3fb33) copy object failed:
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE


2014-02-11 09:08:24,406 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(secstorage-1:ctx-c5e3fb33) Unable to create 
Vol[11|vm=11|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE
2014-02-11 09:08:24,406 INFO  [c.c.v.VirtualMachineManagerImpl] 
(secstorage-1:ctx-c5e3fb33) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[11|vm=11|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 22:57
To: dev@cloudstack.apache.org
Subject: Re: S3 based secondary Storage

It seems to me that your endpoint may not be right, see this link:
http://docs.aws.amazon.com/general/latest/gr/rande.html, where it lists all 
valid endpoint for Amazon S3, your endpoint is not the one for Ireland.

Thanks
-min

On 2/10/14 2:13 PM, "Paul Angus"  wrote:

>I removed it from the paste for security - it was there:)
>
>Regards
>
>Paul Angus
>Cloud Architect
>S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Min Chen [mailto:min.c...@citrix.com]
>Sent: 10 February 2014 22:07
>To: dev@cloudstack.apache.org
>Subject: Re: S3 based secondary Storage
>
>Look further into your API invoked to add S3 image store:
>
>command=addImageStore&response=json&sessionkey=xqZoRDVpFezJkBlS3vqGZQzU
>ytY
>=&name=SecStor-S3&provider=S3&details[0].key=accesskey&details[0].value
>=ey>&details[1].key=secretkey&details[1].value=&details[2].key=buck
>ey>et&
>details[2].value=cloudstack-sec-stor&details[3].key=usehttps&details[3]
>.va
>lue=false&details[4].key=endpoint&details[4].value=s3-website-eu-west-1
>.am
>azonaws.com
>
>See highlighted part, you didn't provide access key and secret key there.
>
>Thanks
>-min
>
>On 2/10/14 1:36 PM, "Paul Angus"
>mailto:paul.an...@shapeblue.com>> wrote:
>
>Hey Min,
>
>S3cmd works ok too, but what's odd is that it says that the bucket is
>in the US, but the AWS S3 control panel says it's in Ireland. I'm using
>s3-website-eu-west-1.amazonaws.com as my endpoint in CloudStack
>
>Here's my 

RE: failing to build noredist on 4.3 RC4 [solved]

2014-02-11 Thread Paul Angus
Somewhere along the line I'd dragged to 'old' vim25.jar in, so was building 
against an old version.

Thanks for your help Min.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Min Chen [mailto:min.c...@citrix.com]
Sent: 10 February 2014 19:24
To: dev@cloudstack.apache.org
Subject: Re: failing to build noredist on 4.3 RC4

I just tried to build noredist on 4.3 branch, it worked fine for me. Is this 
the first time you are building noredist on your machine? If so, you need to 
make sure that you have installed Vmware 5.1 SDK jar into your maven repo. Go 
to your .m2/repository, you should find this:

localhost:repository minc$ find . -name vmware-vim25-5.1.jar 
./com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar

Thanks
-min

From: Paul Angus mailto:paul.an...@shapeblue.com>>
Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
mailto:dev@cloudstack.apache.org>>
Date: Sunday, February 9, 2014 7:10 AM
To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
mailto:dev@cloudstack.apache.org>>
Subject: failing to build noredist on 4.3 RC4

Hi guys,

I’m suddenly getting build failures against 4.3 –

Is it looking for a jar called vim25.jar (which actually called vim25_51.jar)?


[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project cloud-vmware-base: Compilation failure: Compilation failure:
[ERROR] 
/usr/local/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.3.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[36,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidCollectorVersionFaultMsg
[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.3.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[37,23]
 error: cannot find symbol
[ERROR] symbol:   class InvalidPropertyFaultMsg
[ERROR] location: package com.vmware.vim25

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.
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 is a registered trademark.


RE: S3 based secondary Storage

2014-02-11 Thread Paul Angus
Hey Sanjeev,

I've got system VMs downloading from S3 to the NFS cache so hopefully things 
will come alive soon.

Can you explain (or point me to the documentation) what gets cached and how 
long it's kept for etc.

Also there was a bug fix "Cannot Deploy VM when using S3 object store without 
NFS Cache"
https://issues.apache.org/jira/browse/CLOUDSTACK-3215

which suggests to me that the cache should be required, could someone 
comment/clarify the situation

(thanks everyone for their help)

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
Sent: 11 February 2014 11:32
To: dev@cloudstack.apache.org
Subject: RE: S3 based secondary Storage

Yes , staging storage can be added after adding S3 storage. For adding staging 
storage we have createSecondaryStagingStore API.

Please see the api doc 
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/createSecondaryStagingStore.html

For adding S3 we use addImageStore API with provider as S3.



-Sanjeev



-Original Message-----
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Tuesday, February 11, 2014 4:21 PM
To: dev@cloudstack.apache.org
Subject: RE: S3 based secondary Storage



Thanks Sanjeev for the explanation,



1. can the staging area be added after the S3 storage is added or does it have 
to be done at the same time (I can't see a 'staging' api command) 2. the adds3 
api documentation doesn't include anything about staging areas - what are the 
arguments?  (I'll file a bug to get them added to the API documentation too)







Regards,



Paul Angus

Cloud Architect

S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>



-Original Message-

From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]

Sent: 11 February 2014 10:37

To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>

Subject: RE: S3 based secondary Storage



Hi,



At least one NFS Staging storage is needed in each zone to copy storage 
artifacts from S3 to primary and vice-versa.

While adding S3 storage NFS staging storage is optional because we can add more 
than one S3 storage in a region. So for every S3 storage addition we don't need 
to add NFS staging storage. In this case we can uncheck staging storage part.



-Sanjeev



-Original Message-

From: Paul Angus [mailto:paul.an...@shapeblue.com]

Sent: Tuesday, February 11, 2014 2:51 PM

To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>

Subject: RE: S3 based secondary Storage



Success! (some)



I changed the endpoint to s3.amazonaws.com last night and it failed, but 
actually because download.cloud.com wasn't responding, I tried again today and 
it uploaded - Cool.



BUT now, CloudStack is complaining that I don't have a cache/staging storage... 
I thought that the staging area was to migrate from NFS to s3 (why is it 
optional if you have to have one?)





Sorry, still getting my head around this...



2014-02-11 09:08:24,396 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(secstorage-1:ctx-c5e3fb33) needCacheStorage true, dest at null dest role 
Primarytemplate/tmpl/1/1/routing-1/systemvm64template-2014-01-14-master-xen.vhd.bz2
 src role Image

2014-02-11 09:08:24,398 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(secstorage-1:ctx-c5e3fb33) Can't find staging storage in zone: 1

2014-02-11 09:08:24,398 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(secstorage-1:ctx-c5e3fb33) copy object failed:

com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE





2014-02-11 09:08:24,406 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(secstorage-1:ctx-c5e3fb33) Unable to create 
Vol[11|vm=11|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE

2014-02-11 09:08:24,406 INFO  [c.c.v.VirtualMachineManagerImpl] 
(secstorage-1:ctx-c5e3fb33) Unable to contact resource.

com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create 
Vol[11|vm=11|ROOT]:com.cloud.utils.exception.CloudRuntimeException: 
com.cloud.utils.exception.CloudRuntimeException: No cache DataStore in scope id 
1 type ZONE



Regards,



Paul Angus

Cloud Architect

S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>



-Original Message-

From: Min Chen [mailto:min.c...@citrix.com]

Sent: 10 February 2014 22:57

To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>

Subject: Re: S3 based secondary Storage



It seems to me that your endpoint may not be right, see this link:

http://docs.aws.amazon.com/general/latest/gr/rande.html, where it lists all

API Calls with key value pairs (Details)

2014-02-12 Thread Paul Angus
Hi Devs,

I've noticed that a few newer API commands are requiring a slightly different 
format, which is to require a details parameter.

# cloudmonkey create storagepool scope=cluster clusterid=$CLUSTERID name=Pri1 
podid=$POD1ID zoneid=$ZONEID provider=smb 
url='"cifs://10.0.1.27/hypervPri/stor/Primary?user=hyperv&password=hyperv13!&domain=angusnet.local"'

: Failed to add data store: Missing cifs user and password details. Add them as 
details parameter.

And from my S3 testing yesterday:

addImageStore&response=json&sessionkey=sctphRL69EJ5RZdAWIrzfZH7jIo%3D&name=S3Storage&provider=S3&details%5B0%5D.key=accesskey&details%5B0%5D.value=AKIAJBYAOXAE7JJYBKEQ&details%5B1%5D.key=secretkey&details%5B1%5D.value=3F76mmMubsZohZAnPutLkxK9adA1XQNBQAMUdv%2FO&details%5B2%5D.key=bucket&details%5B2%5D.value=cloudstack-sec-stor&details%5B3%5D.key=usehttps&details%5B3%5D.value=true&details%5B4%5D.key=endpoint&details%5B4%5D.value=s3.amazonaws.com&_=1392125369653

API Docs:
addImageStoreExample: 
details[0].key=accesskey&details[0].value=s389ddssaa&details[1].key=secretkey&details[1].value=8dshfsss

The format seems very cumbersome compared to accesskey= 
secretkey= - has this been a community decision to move in this 
direction that I've missed?

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: API Calls with key value pairs (Details)

2014-02-12 Thread Paul Angus
Yes, it's 4.3 rc4 I'm testing - built yesterday



Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
Sent: 12 February 2014 11:23
To: dev
Cc: Sebastien Goasguen
Subject: Re: API Calls with key value pairs (Details)

Paul, I heard rumours (Alex in the room) but can you confirm that 4.3 is the 
version which you are testing?

regards,
Daan


On Wed, Feb 12, 2014 at 11:25 AM, Paul Angus wrote:

>  Hi Devs,
>
>
>
> I've noticed that a few newer API commands are requiring a slightly
> different format, which is to require a details parameter.
>
>
>
> # cloudmonkey create storagepool scope=cluster clusterid=$CLUSTERID
> name=Pri1 podid=$POD1ID zoneid=$ZONEID provider=smb url='"cifs://
> 10.0.1.27/hypervPri/stor/Primary?user=hyperv&password=hyperv13!&domain
> =angusnet.local
> "'
>
>
>
> : Failed to add data store: Missing cifs user and password details.
> Add them as details parameter.
>
>
>
> And from my S3 testing yesterday:
>
>
>
>
> addImageStore&response=json&sessionkey=sctphRL69EJ5RZdAWIrzfZH7jIo%3D&
> name=S3Storage&provider=S3&
> *details*%5B0%5D.key=accesskey&*details*
> %5B0%5D.value=AKIAJBYAOXAE7JJYBKEQ&*details*%5B1%5D.key=secretkey&
> *details*%5B1%5D.value=3F76mmMubsZohZAnPutLkxK9adA1XQNBQAMUdv%2FO&
> *details*%5B2%5D.key=bucket&*details*%5B2%5D.value=cloudstack-sec-stor
> &
> *details*%5B3%5D.key=usehttps&*details*%5B3%5D.value=true&*details*
> %5B4%5D.key=endpoint&*details*%5B4%5D.value=s3.amazonaws.com
> &_=1392125369653
>
>  API Docs:
>
> addImageStoreExample:
> details[0].key=accesskey&details[0].value=s389ddssaa&details[1].key=se
> cretkey&details[1].value=8dshfsss
>
>
>
> The format seems very cumbersome compared to accesskey=
> secretkey= - has this been a community decision to move in this
> direction that I've missed?
>
>
>
> Regards
>
>
>
> Paul Angus
>
> *Senior Consultant / Cloud Architect*
>
>
>
> [image: cid:image002.png@01CE1071.C6CC9C10]
>
>
>
> S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784
> |
> T: @CloudyAngus
>
> paul.an...@shapeblue.com | www.shapeblue.com |
> Twitter:@shapeblue<https://twitter.com/>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>  Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure 
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>offers the 
> best 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1
> training<http://shapeblue.com/cloudstack-training/>
> 18th-19th February 2014, Brazil.
> Classroom<http://shapeblue.com/cloudstack-training/>
> 17th-23rd March 2014, Region A. Instructor led,
> On-line<http://shapeblue.com/cloudstack-training/>
> 24th-28th March 2014, Region B. Instructor led,
> On-line<http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led,
> On-line<http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led,
> On-line<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 is a 
> registered trademark.
>



--
Daan
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 is a registered trademark.


RE: [VOTE] Apache CloudStack 4.3.0 (fourth round)

2014-02-12 Thread Paul Angus
-1

See dev list thread 'Re: API Calls with key value pairs (Details)'

There seem to be some API syntax changes/additions which mean passing an array 
of details i.e

details[0].key=<>&details[0].value=<>&details[1].key=<>&details[1].value=<>

I don't think this is fully understood (at least by me) or documented or fully 
discussed.

I haven't figured out if/how Cloudmonkey can pass it as a CLI command.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Santhosh Edukulla [mailto:santhosh.eduku...@citrix.com]
Sent: 12 February 2014 11:06
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (fourth round)

Tested on latest devcloud, found no issues either. So, +1.

Santhosh

From: Amogh Vasekar [amogh.vase...@citrix.com]
Sent: Monday, February 10, 2014 6:06 PM
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (fourth round)

+1
Tested on devcloud with the release procedure, and worked fine.

Thanks,
Amogh

On 2/7/14 4:51 PM, "Animesh Chaturvedi" 
wrote:

>
>
>Hi All,
>
>
>
>I've created a 4.3.0 release, with the following artifacts up for a
>
>vote:
>
>
>
>Git Branch and Commit SH:
>
>https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=r
>efs
>/heads/4.3
>Commit: c1af92fcbbc183873d6519f0660b68acfb33bd44
>
>
>List of changes:
>
>links here for now>
>
>New Features in 4.3:
>https://issues.apache.org/jira/issues/?filter=12325248
>
>Improvement in 4.3:
>https://issues.apache.org/jira/issues/?filter=12325249
>
>Issues fixed in 4.3
>https://issues.apache.org/jira/issues/?filter=12326161
>
>Known Issues in 4.3:
>https://issues.apache.org/jira/issues/?filter=12326162
>
>
>
>
>
>
>
>Source release (checksums and signatures are available at the same
>
>location):
>
>https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/
>
>
>
>PGP release keys (signed using 94BE0D7C):
>
>https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
>
>
>Testing instructions are here:
>
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+pro
>ced
>ure
>
>
>
>Vote will be open for 3 working days and will close on Wednesday 2/12
>5:00PM PST.
>
>
>
>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)
>
>

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: API Calls with key value pairs (Details)

2014-02-12 Thread Paul Angus
In the case of hyper-v - technically no, as it's a new feature to 4.3 it only 
breaks 'beta' versiosn of 4.3

In the case of addimagestore - I'm not sure how long that's been there, I came 
across it because I've just recently been testing S3 as secondary storage.


My initial query was around whether this use of 'details' with key/value pairs 
is a community decision that we're going to start seeing more of and that I/we 
end users need to understand and adapt to.


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: 12 February 2014 14:19
To: dev@cloudstack.apache.org
Subject: RE: API Calls with key value pairs (Details)

I think that what Paul was saying. Scripts that have run no longer do.

I don't think they are scripts written only in 4.3 environments either but I 
could be wrong.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 20 3603 0540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chipchild...@apache.org]
Sent: 12 February 2014 14:13
To: dev@cloudstack.apache.org
Subject: Re: API Calls with key value pairs (Details)

On Wed, Feb 12, 2014 at 8:24 AM, Devdeep Singh  wrote:
> The user name and password were never there in the key value pair for 
> creating storage pool. This was done for adding smb as a primary storage and 
> was done in 4.3 (adding smb as a pool type wasn't available in earlier 
> release).
>
> Initially user details were passed in the url query string (for smb). 
> However, it would mean adding a password with special characters could fail 
> if the password wasn't encoded and then the entire url encoded again. So I 
> updated it to pass smb user information in details. This is required only if 
> a storage pool being added is of type smb.
>
> Regards,
> Devdeep

Except it breaks backward compat, right?
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.
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 is a registered trademark.


Hyper-v via the UI drops the password

2014-02-12 Thread Paul Angus
\":445,\"type\":\"SMB\"},\"localPath\":\"/mnt//fab86018-8819-32c6-9c98-3a28c378442a\",\"contextMap\":{},\"wait\":0}","wait":0}}]
 }
2014-02-12 16:08:27,655 DEBUG [c.c.a.t.Request] (catalina-exec-25:ctx-875ce97f 
ctx-bd4cc9d0) Seq 2-48889886: Received:  { Ans: , MgmtId: 345049353548, via: 2, 
Ver: v1, Flags: 10, { Answer } }
2014-02-12 16:08:27,655 DEBUG [c.c.a.m.AgentManagerImpl] 
(catalina-exec-25:ctx-875ce97f ctx-bd4cc9d0) Details from executing class 
com.cloud.agent.api.ModifyStoragePoolCommand: Request to create / modify 
unsupported pool type: SMBin cmd 
{"add":true,"pool":{"id":5,"uuid":"522b4ee5-8398-3255-976d-206505fcf0bb","host":"10.0.1.27","path":"/hypervPri/stor/Primary?user=hyperv&password=hyperv13%21&domain=angusnet.local","port":445,"type":"SMB"},"localPath":"/mnt//fab86018-8819-32c6-9c98-3a28c378442a","contextMap":{},"wait":0}
2014-02-12 16:08:27,655 WARN  [o.a.c.alerts] (catalina-exec-25:ctx-875ce97f 
ctx-bd4cc9d0)  alertType:: 7 // dataCenterId:: 1 // podId:: 1 // clusterId:: 
null // message:: Unable to attach storage pool5 to the host2
2014-02-12 16:08:27,661 WARN  
[o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] 
(catalina-exec-25:ctx-875ce97f ctx-bd4cc9d0) Unable to establish a connection 
between Host[-2-Routing] and 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@17ec2b5e
com.cloud.utils.exception.CloudRuntimeException: Unable establish connection 
from storage head to storage pool 5 due to Request to create / modify 
unsupported pool type: SMBin cmd 
{"add":true,"pool":{"id":5,"uuid":"522b4ee5-8398-3255-976d-206505fcf0bb","host":"10.0.1.27","path":"/hypervPri/stor/Primary?user=hyperv&password=hyperv13%21&domain=angusnet.local","port":445,"type":"SMB"},"localPath":"/mnt//fab86018-8819-32c6-9c98-3a28c378442a","contextMap":{},"wait":0}5
   at 
org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:66)
   at 
com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:861)
   at 
org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:411)
   at 
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:662)
   at 
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:176)
   at 
org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:168)

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: Hyper-v via the UI drops the password

2014-02-13 Thread Paul Angus
I picked up the agent from Jenkins yesterday, looking today I see that the job 
hadn't been run for a couple of weeks. I'd assumed that it ran on a regular 
basis and that it would have be run automatically whenever new code was checked 
in.

I got Jenkins to do a new build and now I can add the primary storage.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 13 February 2014 02:10
To: Paul Angus; dev@cloudstack.apache.org
Cc: Devdeep Singh
Subject: RE: Hyper-v via the UI drops the password

We don't log the password as it is sensitive. As Devdeep told can you update 
the agent and try it.

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Wednesday, February 12, 2014 9:46 PM
To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>
Cc: Rajesh Battala; Devdeep Singh
Subject: Hyper-v via the UI drops the password

Hi,

So trying to add storage to hyper-v via the ui as I can't figure out how to do 
it via cloudmonkey - the password appears to get dropped when the api call is 
made - details[2] is truncated to just .

I assume this is why I can't add primary storage via the UI.


2014-02-12 16:08:27,458 DEBUG [c.c.a.ApiServlet] 
(catalina-exec-25:ctx-875ce97f) ===START===  10.0.0.28 -- GET  
command=createStoragePool&scope=cluster&zoneid=dfe5c3fa-cbfc-4d18-a978-5f8dfcfc39b8&podid=367cdf41-f2fd-431c-97f8-4df30601c8d0&clusterid=d94e2346-7e93-4501-8a25-b3706b8639ae&name=hyperv-pri&details[0].user=hyperv&details[1].&details[2].domain=angusnet.local&url=cifs%3A%2F%2F10.0.1.27%2FhypervPri%2Fstor%2FPrimary&response=json&sessionkey=nBZHGWLcZWehJSQRX3rEznDFnBc%3D&_=1392221298237
2014-02-12 16:08:27,469 DEBUG 
[o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] 
(catalina-exec-25:ctx-875ce97f ctx-bd4cc9d0) createPool Params @ scheme - cifs 
storageHost - 10.0.1.27 hostPath - /hypervPri/stor/Primary port - -1
2014-02-12 16:08:27,483 DEBUG 
[o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] 
(catalina-exec-25:ctx-875ce97f ctx-bd4cc9d0) creating pool null on  host 2
2014-02-12 16:08:27,487 DEBUG [c.c.a.t.Request] (catalina-exec-25:ctx-875ce97f 
ctx-bd4cc9d0) Seq 2-48889885: Sending  { Cmd , MgmtId: 345049353548, via: 
2(10.0.0.24), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.CreateStoragePoolCommand":{"add":true,"pool":{"id":5,"uuid":"522b4ee5-8398-3255-976d-206505fcf0bb","host":"10.0.1.27","path":"/hypervPri/stor/Primary?user=hyperv&domain=angusnet.local","port":445,"type":"SMB"},"localPath":"/mnt//fab86018-8819-32c6-9c98-3a28c378442a","wait":0}}]
 }
2014-02-12 16:08:27,487 DEBUG [c.c.a.t.Request] (catalina-exec-25:ctx-875ce97f 
ctx-bd4cc9d0) Seq 2-48889885: Executing:  { Cmd , MgmtId: 345049353548, via: 
2(10.0.0.24), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.CreateStoragePoolCommand":{"add":true,"pool":{"id":5,"uuid":"522b4ee5-8398-3255-976d-206505fcf0bb","host":"10.0.1.27","path":"/hypervPri/stor/Primary?user=hyperv&domain=angusnet.local","port":445,"type":"SMB"},"localPath":"/mnt//fab86018-8819-32c6-9c98-3a28c378442a","wait":0}}]
 }
2014-02-12 16:08:27,488 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-140:ctx-64f8ef58) Seq 2-48889885: Executing request
2014-02-12 16:08:27,488 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-140:ctx-64f8ef58) POST request to 
https://10.0.0.24:8250/api/HypervResource/com.cloud.agent.api.CreateStoragePoolCommand
 with contents 
{"add":true,"pool":{"id":5,"uuid":"522b4ee5-8398-3255-976d-206505fcf0bb","host":"10.0.1.27","path":"/hypervPri/stor/Primary?user=hyperv&domain=angusnet.local","port":445,"type":"SMB"},"localPath":"/mnt//fab86018-8819-32c6-9c98-3a28c378442a","contextMap":{},"wait":0}
2014-02-12 16:08:27,498 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-140:ctx-64f8ef58) Sending cmd to 
https://10.0.0.24:8250/api/HypervResource/com.cloud.agent.api.CreateStoragePoolCommand
 cmd 
data:{"add":true,"pool":{"id":5,"uuid":"522b4ee5-8398-3255-976d-206505fcf0bb","host":"10.0.1.27","path":"/hypervPri/stor/Primary?user=hyperv&domain=angusnet.local","port":445,"type":"SMB"},"localPath":"/mnt//fab86018-8819-32c6-9c98-3a28c378442a","contextMap":{},"

RE: [jira] [Resolved] (CLOUDSTACK-5967) Virtual router in OVS network fails to start with error from XenServer: VM_REQUIRES_NETWORK

2014-02-13 Thread Paul Angus
Hi,

Using 4.3 RC4 I can now create an instance on an OVS but if I try to migrate 
the instance to another VM it fails with the VM_REQUIRES_NETWORK error.  
Attempting to manually using XenCenter says "Cannot see required Network" 
although OVSTunel517 appears to be on both servers.

m.cloud.utils.exception.CloudRuntimeException: Unable to migrate VM(i-2-7-VM) 
from host(05b443f9-8f69-4855-a6e0-8018afe5a551) due to Task failed! Task 
record: uuid: c4682573-5c30-ae62-6163-32cda5ae75f5
   nameLabel: Async.VM.pool_migrate
 nameDescription:
   allowedOperations: []
   currentOperations: {}
 created: Thu Feb 13 17:25:39 GMT 2014
finished: Thu Feb 13 17:25:39 GMT 2014
  status: failure
  residentOn: com.xensource.xenapi.Host@ad885ef9
progress: 1.0
type: 
  result:
   errorInfo: [VM_REQUIRES_NETWORK, 
OpaqueRef:754c9612-d1be-1c26-7096-bc71b423c652, 
OpaqueRef:20d04b69-b3f7-3590-25da-85d547d3327c]
 otherConfig: {}
   subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Murali Reddy (JIRA) [mailto:j...@apache.org]
Sent: 10 February 2014 10:47
To: Paul Angus
Subject: [jira] [Resolved] (CLOUDSTACK-5967) Virtual router in OVS network 
fails to start with error from XenServer: VM_REQUIRES_NETWORK


 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Murali Reddy resolved CLOUDSTACK-5967.
--

Resolution: Fixed

Commit, fixes two aspects.

- Ignore exception caused on VIF.Plug into Dom0.
- introduce OVS as provider for 'Connectivity' service

> Virtual router in OVS network fails to start with error from
> XenServer: VM_REQUIRES_NETWORK
> --
> -
>
> Key: CLOUDSTACK-5967
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5967
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the default.)
>  Components: Network Controller
>Affects Versions: 4.3.0
> Environment: CloudStack 4.3 with XenServer 6.2 GRE tunnel
> based advanced network
>Reporter: Paul Angus
>Assignee: Murali Reddy
>Priority: Blocker
> Fix For: 4.3.0
>
>
> Virtual Router start fails with error VM_REQUIRES_NETWORK when using GRE 
> tunnel encapsulation.
> Tunnel is created on XenServer (OVSTunnel194) virtual router appears
> briefly then dissappears and insufficient capacity error is returned
> by cloudstack
> 2014-01-28 16:17:09,829 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
> (Job-Executor-12:ctx-3a256248 ctx-58300764) Creating  monitoring services on 
> VM[DomainRouter|r-12-VM] start...
> 2014-01-28 16:17:09,842 DEBUG [c.c.a.t.Request]
> (Job-Executor-12:ctx-3a256248 ctx-58300764) Seq 2-232063002: Sending
> { Cmd , MgmtId: 345049362040, via: 2(localhost.localdomain), Ver: v1,
> Flags: 100011,
> [{"com.cloud.agent.api.StartCommand":{"vm":{"id":12,"name":"r-12-VM","
> bootloader":"PyGrub","type":"DomainRouter","cpus":1,"minSpeed":125,"ma
> xSpeed":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os"
> :"Debian GNU/Linux 7(32-bit)","bootArgs":" template=domP name=r-12-VM
> eth2ip=192.168.1.53 eth2mask=255.255.255.0 gateway=192.168.1.254
> eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal
> dhcprange=10.1.1.1 eth1ip=169.254.0.255 eth1mask=255.255.0.0
> type=router disable_rp_filter=true
> dns1=10.0.1.2","rebootOnCrash":false,"enableHA":true,"limitCpuUse":fal
> se,"enableDynamicallyScaleVm":false,"vncPassword":"eb2e57fde93e6d68","
> params":{"memoryOvercommitRatio":"1.0","cpuOvercommitRatio":"4.0"},"uu
> id":"dc796b13-8cb8-405b-9080-fb9480ce3c2e","disks":[{"data":{"org.apac
> he.cloudstack.storage.to.VolumeObjectTO":{"uuid":"d36e3503-ecf9-4f79-8
> e8c-02c3032d4051","volumeType":"ROOT","dataStore":{"org.apache.cloudst
> ack.storage.to.PrimaryDataStoreTO":{"uuid":"6fbe4014-a031-3443-82ea-4c
> f1459bedd5","id":1,"poolType":"Network

RE: [PROPOSAL] Windowsfication Of ACS

2014-02-15 Thread Paul Angus
My view is that anyone who wants to use Hyper-V is very unlikely to want to 
have Linux based management servers lurking around, because I think they'll be 
pretty wedded to Microsoft to want Hyper-V as the hypervisor. So being able to 
deploy windows based management servers seems essential to the use of Hyper-V 
(for better or worse).

I think also there are probably a lot of Windows based Enterprises who also 
wouldn't like to a couple of stray Linux boxes running the show.  I guess 
Microsoft think there is a market for Windows based private clouds or they 
wouldn't have created the Behemoth that is the Azure Pack.

...and Apache Tomcat have managed to create a windows port - so how hard can it 
be? [tic]

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: David Nalley [mailto:da...@gnsa.us]
Sent: 15 February 2014 18:29
To: dev@cloudstack.apache.org
Subject: Re: [PROPOSAL] Windowsfication Of ACS

On Sat, Feb 15, 2014 at 12:57 PM, Alex Huang  wrote:
> I see this as that CS management server should run anywhere java runs.  
> However, I see quite a few holes in this proposal.
>
> - Management server should never have mounted the NFS secondary storage.  We 
> need to fix that.  Please have a talk with Kelven about this.  I don't see us 
> adding Samba to any machine that runs the management server.  If this is just 
> about seeding the system template, it can be done as part of installation 
> rather than management server.
> - If I truly think about Windowsification, I think windows installer, windows 
> service, opening ports in windows firewall.  I don't see any of that here.  
> Or else it's useless for windows people.
> - For java, most people write a windows service that launches the jvm 
> and keeps track of the jvm.
> - There's a number of things that CloudStack management server does today at 
> startup that should not be there and those are what complicates the 
> windowfication.   These things should be moved out of the management server 
> and into installation.  What should be inside the management server startup 
> procedure should be checks, rather than generations.  It should check for ssh 
> key exists and the database version matches etc but it should not do the 
> following.
> - Upgrade of the database
> - ssh key generation
> - iso generation.
>
> --Alex


A couple of more to add to the list.
There isn't really a good binary software dependency resolution framework for 
Windows (at least not that I am aware of) and you potentially need lots of 
different things - mysql libraries, python, ipmitool, or another shell to 
execute shell scripts. Look at the list of the dependencies we install in the 
RPMs for an idea of things that are missing. Is the plan to bundle those in the 
binaries? (If so, we need to be having a serious discussion around a shift of a 
number system requirements to dependencies which may or may not be
acceptable.) With what appears to be some serious refactoring in how the 
management server works that Alex outlines and I doubt this is a short term 
goal. (e.g. 4.4 timeframe). If you are going to take on all of the refactoring 
work, please start by building tests that prove that it all works today and 
then verify the same behavior in the refactored work.

--David
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 i

RE: is cwiki down? error with 503

2014-02-16 Thread Paul Angus
I'm getting the same thing.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 16 February 2014 07:05
To: dev@cloudstack.apache.org
Subject: is cwiki down? error with 503

Hi,

When tried to access cwiki am getting

Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance 
downtime or capacity problems. Please try again later.

Apache/2.2.20 (Ubuntu) Server at cwiki.apache.org Port 443


Thanks
Rajesh Battala
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: 4.2.0 Installation Guide Section 3.7 "Building Non-OSS"‏

2014-02-18 Thread Paul Angus
Michael,

The convenience binaries are non-oss:
http://cloudstack.apt-get.eu/rhel/4.2/

However if you still want to build your own have a look here:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack

Look out for Min's note on the 5.1 SDK - you'll need that version of the jar 
for 4.2 onward.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Michael Phillips [mailto:mphilli7...@hotmail.com]
Sent: 18 February 2014 04:08
To: dev@cloudstack.apache.org
Subject: 4.2.0 Installation Guide Section 3.7 "Building Non-OSS"‏

I was attempting to follow these directions to build the non-oss RPMS with 
vmware support however the below link in the docs does not work 
https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html 
<--broken link
Does anyone have the details to the dependencies needed or even better, a link 
to some precompiled non-oss RPM's?
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: OVS plugin in CloudStack 4.3.0

2014-02-20 Thread Paul Angus
...so is it still the case that you can't migrate VMs when using GRE Tunnels?

I hope to test GRE in RC6 today.


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
Sent: 20 February 2014 04:14
To: dev@cloudstack.apache.org
Cc: Chiradeep Vittal
Subject: Re: OVS plugin in CloudStack 4.3.0

Florin,

There is still nothing changed from 4.2 release. Hope I can do in 4.3.1 with 
XenServer 6.2 supported as well. Sorry I'm too busy with study program these 
days...

--Tuna

Sent from my GT-N7000
On Feb 20, 2014 12:45 AM, "Florin Dumitrascu" < 
florin.dumitra...@intunenetworks.com> wrote:

> Hi Tuna,
>
> Can you please clarify what is the status of the functionality
> described below in relation to 4.3 release:
>
> http://cloudstack.readthedocs.org/en/latest/networking/ovs-plugin.html
>
> I am testing the last 4.3 release candidate at the moment and cannot
> see OVS under "Network Service Providers".
> Are these changes going to make it into 4.3 release or is there
> nothing changed from 4.2.0 release ? (except the bug preventing GRE to work).
>
> Thank you,
> Florin
>
>
> IMPORTANT NOTE: The information in this e-mail (and any attachments)
> is confidential. The contents may not be disclosed or used by anyone
> other than the addressee. If you are not the intended recipient,
> please notify the sender immediately or telephone: +353 (0)1 6204700.
> We cannot accept any responsibility for the accuracy or completeness
> of this message as it has been transmitted over a public network. If
> you suspect that the message may have been intercepted or amended, please 
> call the sender.
>
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


RE: [PROPOSAL] Windowsfication Of ACS

2014-02-20 Thread Paul Angus
Isn't the hyper-v support dependant on using 2012r2 ?

So I don't know if I'd bother with going back as far as 2003

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 20 February 2014 11:13
To: dev@cloudstack.apache.org
Subject: RE: [PROPOSAL] Windowsfication Of ACS

AFAIK, it would be windows server 2k3, 2k8 2012, 2012R2.

Thanks
Rajesh Battala

-Original Message-
From: Damoder Reddy [mailto:damoder.re...@citrix.com]
Sent: Thursday, February 20, 2014 4:32 PM
To: dev@cloudstack.apache.org
Subject: RE: [PROPOSAL] Windowsfication Of ACS

One question I have is, Which version of windows we need to target?

Thanks & Regards
Damodar/


-Original Message-
From: Damoder Reddy [mailto:damoder.re...@citrix.com]
Sent: Thursday, February 20, 2014 2:04 PM
To: dev@cloudstack.apache.org
Subject: RE: [PROPOSAL] Windowsfication Of ACS

I have tried to put all together in FS at 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Cloudstack+Windowsfication
 as Feedback section and added my comments there.

Please verify once and let me know if anything is to be added there.

Thanks & Regards
Damodar/


-Original Message-
From: Damoder Reddy [mailto:damoder.re...@citrix.com]
Sent: Thursday, February 20, 2014 12:32 PM
To: dev@cloudstack.apache.org
Subject: RE: [PROPOSAL] Windowsfication Of ACS

Thank you all for your inputs.

 I will aggregate all these things into FS  as appendix and will put comments 
there instead of replying here one by one. Once I am done with update in FS I 
will notify so that we can verify whether we are covering all or not.

Thanks & Regards
Damodar/

-Original Message-
From: abhisek basu [mailto:abhisekb...@msn.com]
Sent: Sunday, February 16, 2014 9:16 AM
To: dev@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: [PROPOSAL] Windowsfication Of ACS

Getting a Windows version will expand ACS reach to a large no of audience and 
make it more OS independent from its core. As far as the tools are concern, I 
am sure it's achievable, we have the most enthusiastic community contributors 
behind :)

Sent from my iPhone

> On 16 Feb 2014, at 1:08 am, "Alex Hitchins"  
> wrote:
>
> I would guess that Windows has tools for managing a large number of Hyper-V 
> hosts? I wonder what ACS would add to that.
>
> I still think it would be a very achievable goal and worth doing.
>
>
> Regards
>
> Alex Hitchins
>
> D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969
>
> alex.hitch...@shapeblue.com
>
> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: 15 February 2014 18:49
> To: dev@cloudstack.apache.org
> Subject: RE: [PROPOSAL] Windowsfication Of ACS
>
> My view is that anyone who wants to use Hyper-V is very unlikely to want to 
> have Linux based management servers lurking around, because I think they'll 
> be pretty wedded to Microsoft to want Hyper-V as the hypervisor. So being 
> able to deploy windows based management servers seems essential to the use of 
> Hyper-V (for better or worse).
>
> I think also there are probably a lot of Windows based Enterprises who also 
> wouldn't like to a couple of stray Linux boxes running the show.  I guess 
> Microsoft think there is a market for Windows based private clouds or they 
> wouldn't have created the Behemoth that is the Azure Pack.
>
> ...and Apache Tomcat have managed to create a windows port - so how hard can 
> it be? [tic]
>
> Regards
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus 
> paul.an...@shapeblue.com
>
> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: 15 February 2014 18:29
> To: dev@cloudstack.apache.org
> Subject: Re: [PROPOSAL] Windowsfication Of ACS
>
>> On Sat, Feb 15, 2014 at 12:57 PM, Alex Huang  wrote:
>> I see this as that CS management server should run anywhere java runs.  
>> However, I see quite a few holes in this proposal.
>>
>> - Management server should never have mounted the NFS secondary storage.  We 
>> need to fix that.  Please have a talk with Kelven about this.  I don't see 
>> us adding Samba to any machine that runs the management server.  If this is 
>> just about seeding the system template, it can be done as part of 
>> installation rather than management server.
>> - If I truly think about Windowsification, I think windows installer, 
>> windows service, opening ports in windows firewall.  I don't see any of that 
>> here.  Or else it's useless for windows people.
>>- For java, most people wr

RE: OVS plugin in CloudStack 4.3.0

2014-02-20 Thread Paul Angus
Have you set
sdn.ovs.controller = true
And
sdn.ovs.controller.default.label = < >

in the global settings (and restarted mgmt. server)

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Florin Dumitrascu [mailto:florin.dumitra...@intunenetworks.com]
Sent: 20 February 2014 14:43
To: dev@cloudstack.apache.org
Cc: Chiradeep Vittal; Murali Reddy (JIRA)
Subject: RE: OVS plugin in CloudStack 4.3.0

Hi Paul,

I would be very curious to hear your feedback.
I am not able to get GRE working with RC6.
The OVS bridge is created, but the GRE tunnel is not.

So far I have tried (using XenServer 6.1.0):
a) 2 hosts within different clusters and different pods
b) 2 hosts within different cluster and same pod

As with 4.2 release, the "create_tunnel" function doesn't seem to be invoked.
Still looking at the logs ...

Regards,
Florin

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, February 20, 2014 9:40 AM
To: dev@cloudstack.apache.org
Cc: Chiradeep Vittal; Murali Reddy (JIRA)
Subject: RE: OVS plugin in CloudStack 4.3.0

...so is it still the case that you can't migrate VMs when using GRE Tunnels?

I hope to test GRE in RC6 today.


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
Sent: 20 February 2014 04:14
To: dev@cloudstack.apache.org
Cc: Chiradeep Vittal
Subject: Re: OVS plugin in CloudStack 4.3.0

Florin,

There is still nothing changed from 4.2 release. Hope I can do in 4.3.1 with 
XenServer 6.2 supported as well. Sorry I'm too busy with study program these 
days...

--Tuna

Sent from my GT-N7000
On Feb 20, 2014 12:45 AM, "Florin Dumitrascu" < 
florin.dumitra...@intunenetworks.com> wrote:

> Hi Tuna,
>
> Can you please clarify what is the status of the functionality
> described below in relation to 4.3 release:
>
> http://cloudstack.readthedocs.org/en/latest/networking/ovs-plugin.html
>
> I am testing the last 4.3 release candidate at the moment and cannot
> see OVS under "Network Service Providers".
> Are these changes going to make it into 4.3 release or is there
> nothing changed from 4.2.0 release ? (except the bug preventing GRE to work).
>
> Thank you,
> Florin
>
>
> IMPORTANT NOTE: The information in this e-mail (and any attachments)
> is confidential. The contents may not be disclosed or used by anyone
> other than the addressee. If you are not the intended recipient,
> please notify the sender immediately or telephone: +353 (0)1 6204700.
> We cannot accept any responsibility for the accuracy or completeness
> of this message as it has been transmitted over a public network. If
> you suspect that the message may have been intercepted or amended, please 
> call the sender.
>
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.

IMPORTANT NOTE: The information in this e-mail (and any attachments) is 
confidential. The contents may not be disclosed or used by anyone other than 
the addressee. If you are not the intended recipient, please noti

RE: OVS plugin in CloudStack 4.3.0

2014-02-23 Thread Paul Angus
In addition the user also has to enable the sdn.ovs.controller in the global 
settings
and set sdn.ovs.controller.default.label

it seems a bit odd to have to set a global setting (and restart the management 
server(s)) to enable GRE, when you have to declare it as the isolation method 
when creating the physical network.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Florin Dumitrascu [mailto:florin.dumitra...@intunenetworks.com]
Sent: 23 February 2014 20:01
To: dev@cloudstack.apache.org
Subject: RE: OVS plugin in CloudStack 4.3.0

Hi everyone,

Following Murali's guideline, I was able to use GRE with 4.3 RC (and XenServer 
6.1) There are actually 3 APIs one needs to invoke and I show the example below 
for anyone else who is lost trying to get this working using solely the GUI.

I still strongly believe we need to have these APIs supported in the GUI for 
4.3 release. The API is a powerful tool, but the beginner/average user cannot 
be expected to use it like this.
I would gladly volunteer for implementing this, but as my CS code learning 
curve is very steep, I am sure there is someone else here who can do it ten 
times faster and in time for 4.3

Would really appreciate your help, and I am sure it would be for the benefit of 
many other CS users.

1. Create OVS connectivity offering

http://192.168.20.112:8080/client/api?command=createNetworkOffering&sessionkey=0YutiBb19VkXgepJYf/wq2Wii4Q=&name=ovs-connectivity-offering&displayText=ovs-connectivity-offering&guestIpType=Isolated&lbType=publicLb&servicecapabilitylist[0].service=SourceNat&servicecapabilitylist[0].capabilitytype=SupportedSourceNatTypes&servicecapabilitylist[0].capabilityvalue=peraccount&servicecapabilitylist[1].service=lb&servicecapabilitylist[1].capabilitytype=SupportedLbIsolation&servicecapabilitylist[1].capabilityvalue=dedicated&availability=Optional&egresspolicy=ALLOW&state=Creating&status=Creating&allocationstate=Creating&supportedServices=Dhcp,Dns,Firewall,Lb,SourceNat,StaticNat,PortForwarding,Connectivity&specifyIpRanges=false&specifyVlan=false&isPersistent=false&conservemode=false&serviceProviderList[0].service=Dhcp&serviceProviderList[0].provider=VirtualRouter&serviceProviderList[1].service=Dns&serviceProviderList[1].provider=VirtualRouter&serviceProviderList[2].service=Firewall&serviceProviderList[2].provider=VirtualRouter&serviceProviderList[3].service=Lb&serviceProviderList[3].provider=VirtualRouter&serviceProviderList[4].service=SourceNat&serviceProviderList[4].provider=VirtualRouter&serviceProviderList[5].service=StaticNat&serviceProviderList[5].provider=VirtualRouter&serviceProviderList[6].service=PortForwarding&serviceProviderList[6].provider=VirtualRouter&serviceProviderList[7].service=Connectivity&serviceProviderList[7].provider=Ovs&egressdefaultpolicy=true&traffictype=GUEST

2. Get the OVS provider id

http://192.168.20.112:8080/client/api?command=listNetworkServiceProviders&sessionkey=Ztlr1jtjM8RlnpeBzHujm4Zh/DI=&name=Ovs

3. Enable OVS provider

http://192.168.20.112:8080/client/api?command=updateNetworkServiceProvider&sessionkey=CUBGAK4lfGgJIlQhuCfr3ZNlUbs=&id=b209154a-73bf-44d6-b2cf-41358a79cbf4&state=Enabled

Thanks and kind regards,
Florin


-Original Message-
From: Florin Dumitrascu [mailto:florin.dumitra...@intunenetworks.com]
Sent: Friday, February 21, 2014 10:00 AM
To: dev@cloudstack.apache.org
Subject: RE: OVS plugin in CloudStack 4.3.0

Hi Murali,

Thanks for clarifying this.
However, I would not consider bug CLOUDSTACK-5967 fixed until UI support is 
restored for this basic functionality.
It is a hack. We cannot expect an end user to go into that level of detail. 
Will look at how much effort is involved to add UI support.
>From a personal point of view, this is a -1 for this release.

Regards,
Florin



-Original Message-
From: Murali Reddy [mailto:murali.re...@citrix.com]
Sent: Thursday, February 20, 2014 5:48 PM
To: dev@cloudstack.apache.org
Subject: Re: OVS plugin in CloudStack 4.3.0

On 20/02/14 8:40 PM, "Florin Dumitrascu"
 wrote:

>Yes,
>
>sdn.ovs.controller = true
>sdn.ovs.controller.default.label = GUEST  // label used on XenServer
>guest network
>
>Without the OVS controller switched on, I think one will not see the
>OVS bridge created.
>The first part of the setup works, allocating a GRE key from the VLAN
>range, setting up the OVS bridge.
>The second part involving configuring the OVS bridge and creating the
>tunnel interface doesn't take place.

This issue was discussed in [1], and is fixed as part of the bug 
CLOUDSTACK-5967. So 'Ovs' is added as provider of 'Connectivity' service as 
part of the fix. You need to create a

RE: [PROPOSAL] Windowsfication Of ACS

2014-02-26 Thread Paul Angus
I don't know if you guys already know this, but the mounting of sec storage on 
the management server to pass the systemvm.iso is also done when using hyper-v 
as well. So for hyper-v, samba support is required on the management server.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Kelven Yang [mailto:kelven.y...@citrix.com]
Sent: 25 February 2014 23:07
To: dev@cloudstack.apache.org
Subject: Re: [PROPOSAL] Windowsfication Of ACS

Current way of mounting NFS into management server is the legacy of the rushing 
old days when VMware support was originally built. To get rid of NFS mount in 
management server, we should file it as a feature request along with the 
Windowsfication effort

Kelven

On 2/25/14, 1:54 PM, "Alex Huang"  wrote:

>Damodar,
>
>I think you'll find that earlier in the thread I have said that these
>should not be part of the management server startup but rather the
>install.  The install scripts for Linux is probably python or shell
>script based.  The install for windows is an app that can do this work.
>
>Other than these, the main problem for you will be the VmWare code that
>mounts secondary storage to the management server machine.  That's a
>design flaw in VmWare code that we should rectify.  You can speak to
>Kelven about how to fix that.
>
>--Alex
>
>> -Original Message-
>> From: Damoder Reddy [mailto:damoder.re...@citrix.com]
>> Sent: Monday, February 24, 2014 9:48 PM
>> To: dev@cloudstack.apache.org
>> Subject: RE: [PROPOSAL] Windowsfication Of ACS
>>
>> Hi Alex,
>>
>>  Apart from agent scripts, there are couple of scripts those gets
>>executed for  during the management server startup like injecting ssh
>>keys into  systemvm.iso etc.. Still I am in search of any other
>>scripts will get called in  management server, though I could not find
>>any as of now.
>>
>> Thanks & Regards
>> Damodar/
>>
>> -Original Message-
>> From: Alex Huang [mailto:alex.hu...@citrix.com]
>> Sent: Tuesday, February 25, 2014 10:10 AM
>> To: dev@cloudstack.apache.org
>> Subject: RE: [PROPOSAL] Windowsfication Of ACS
>>
>> Abhi,
>>
>> I think you misunderstood.  I meant that it should not depend on
>>things later  releases like .net framework.  See the following wiki
>>page.
>>
>> http://en.wikipedia.org/wiki/.NET_Framework#Versions
>>
>> I would imagine .net framework 3 or 3.5 would be ideal.  If you use
>> .net framework 4, then libraries need to be installed and they
>> sometimes have conflicts with existing apps.
>>
>>
>> As for python or shell scripts, I don't see why we should need any
>>python  scripts on management server, regardless if it's windows or
>>Linux.
>>Python
>> scripts can be included and executed by agents on Linux systems but I
>>don't  see a place for them on the management server.  For windows,
>>specifically,  asking a windows admin to install python is not unlike
>>asking them to install  Cygwin.
>>
>> --Alex
>>
>> > -Original Message-
>> > From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com]
>> > Sent: Monday, February 24, 2014 8:31 PM
>> > To: dev@cloudstack.apache.org
>> > Subject: Re: [PROPOSAL] Windowsfication Of ACS
>> >
>> > Yes, that is one of the objective to make MS not dependant on
>> > cygwin or any other windows tools and utilities. The bash scripts
>> > are all
>>converted
>> to Python.
>> >
>> > -abhi
>> >
>> >
>> > On 25/02/14 12:06 am, "Alex Huang"  wrote:
>> >
>> > >One additional requirement I have would be don't use any windows
>> > >components that don't come with the default systems targeted.  I
>> > >know it sounds great to use the latest and greatest but actually
>> > >the end users will have to install that and it may mess with their
>> > >existing setup.  In this proposal, the purely windows parts are
>> > >fairly basic parts of windows.  Don't bind it to libraries that
>> > >require installation of additional libraries.
>> > >
>> > >--Alex
>> > >
>> > >> -Original Message-
>> > >> From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
>> > >> Sent: Friday, February 21, 2014 1:00 AM
>> > >> To: dev@cloudstack.apache.org
>> > >> Subject: RE: [PROPOSAL] Windowsfication Of ACS
>> &

RE: Looking for test folks on the community!

2014-02-27 Thread Paul Angus
Hi, yes I generally get very involved in testing releases.

I'd like to say something a little bit contentious about testing, and that's:

IMHO testing releases using devcloud is not much better that test driving a car 
by sitting in a car and making vrrmm vrrrmm noises.

If the build can't be installed and logged-into successfully, it shouldn't be a 
release candidate - and to be honest the automated testing shouldn't have 
passed it.

Therefore I believe the test pass criteria 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure 
are woefully inadequate.


Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
Sent: 27 February 2014 07:28
To: 
Subject: Re: Looking for test folks on the community!

Certainly :-)


On 27 feb. 2014, at 07:00, Raja Pullela  wrote:

> Hi,
>
> Can you please respond if you are actively involved or looking get involved 
> in testing 4.4 Release?
>
> Thanks,
> Raja
>

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


hyper-v broken again?

2014-02-27 Thread Paul Angus
erviceImpl.createTemplateAsync(TemplateServiceImpl.java:163)
at 
org.apache.cloudstack.storage.image.TemplateServiceImpl.handleSysTemplateDownload(TemplateServiceImpl.java:267)
at 
com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:291)
at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:495)
at 
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1402)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1738)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1864)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy145.createHostAndAgent(Unknown Source)
at 
com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.runInContext(AgentManagerImpl.java:1047)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> | 
www.shapeblue.com<http://www.shapeblue.com/> | 
Twitter:@shapeblue<https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<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 is a registered trademark.


  1   2   3   4   5   6   7   >