Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Abhinandan Prateek
Now that we have the necessary votes we need to move ahead, these are the
next steps, will be looking for advice from PMC:

Next steps:

1. Tag the git commit with 4.2.1_GA
2. Building and publishing packages (DEB and RPM)
3. Publishing the docs here cloudstack.apache.org/docs
4. Put the artefacts for download
5. Finalise the release announcement:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.2.1+Release+Announ
cement
6. Announce the release on the website

I will take care of 1,5,6
In the past Wido took care of 2 (DEB packages) not sure who built the RPMs.
Sebastien I am assuming that you will take care of 3.
Chip it seems you took care of 4 for 4.2.

-abhi



On 04/01/14 12:49 am, "David Nalley"  wrote:

>Yep - I am otherwise happy with this RC. Consider my -1 retracted and
>a +1 (binding) (which I think gives us the three necessary)
>
>Thanks for all of the work checking on this folks.
>
>--David
>
>On Fri, Jan 3, 2014 at 10:17 AM, Daan Hoogland 
>wrote:
>> I know Hugo made something to include it in the rpm. I'm not sure if
>> this is on the 4.2 branch. Look in the root dir of the archive.
>>
>> @David: you casted a -1. Can you get your conscience to retract that?
>> @all: how do we go from here?
>>
>> regards
>>
>> On Fri, Jan 3, 2014 at 3:41 PM, Nux!  wrote:
>>> On 03.01.2014 14:32, Daan Hoogland wrote:

 This spin was created by Abhinandan at the 17th so, give us a commit
 id so we can determine if we can release it, can you?
>>>
>>>
>>> Would this commit id be somewhere in the RPMs? Cause I long wiped out
>>>the VM
>>> used to build them.
>>> Anyway, the 17th should also be ok afaic, the problem I had seems to be
>>> related to KVM and the disappearence of the "-s" option for qemu-img
>>>from EL
>>> 6.4 to EL 6.5.
>>>
>>> Lucian
>>>
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro



Re: IPv6 plan - questions

2014-01-03 Thread Marcus Sorensen
It's been a long time since I've heard anything in regards to IPv6,
let alone VPC support. Does anyone have plans for this at all?  We'd
like to support IPv6, and we have enough CS knowledge and external
tools to hack something together, but I'd much prefer to build with
the community and/or be forward compatible with what it deploys.

I'd like to start with something simple, like perhaps optionally
providing a /64 or larger as a parameter when creating a VPC (or a
separate call to add an IPV6 block), and network on the vpc. Then it
sounds like there's already a mechanism in place for tracking ipv6
assignments to nics, that could be leveraged to pass dhcp assignments
to routers.

Then there's the whole acl thing, that seems like at least as big of a
project as mentioned previously.

On Mon, Aug 12, 2013 at 3:47 PM, Marcus Sorensen  wrote:
> has there been any further discussion that I might have missed around
> ipv6 in VPC?
>
> On Thu, Mar 7, 2013 at 12:09 PM, Sheng Yang  wrote:
>> Hi Dave,
>>
>> I am glad it fits your need. That's our target. :)
>>
>> --Sheng
>>
>> On Thu, Mar 7, 2013 at 2:14 AM, Dave Cahill  wrote:
>>> Hi Sheng,
>>>
>>> Thanks for the quick reply, that helps a lot.
>>>
>>> My main purpose was to figure out how these changes affect virtual
>>> networking and pluggability. Having read through the IPv6 code today,
>>> it looks like it will work very nicely with virtual networks.
>>>
>>> For example, when VMs are assigned an IPv6 address, the IPv6 address
>>> is stored in the NicProfile object. So, taking DHCP as an example, if
>>> the MidoNet plugin implements the DHCPServiceProvider interface, it
>>> will receive the NicProfile as one of the parameters of addDhcpEntry.
>>> If we want to implement IPv6, we can then take the IPv6 address from
>>> the NicProfile, and just use it as needed.
>>>
>>> Thanks again for taking the time to respond, and for the detailed FS.
>>>
>>> Dave.
>>>
>>> On Thu, Mar 7, 2013 at 4:57 AM, Sheng Yang  wrote:
>>>
 On Wed, Mar 6, 2013 at 1:36 AM, Dave Cahill  wrote:
 > Hi,

 Hi Dave,
 >
 > I've been catching up on IPv6 plans by reading the functional specs
 > and Jira tickets - it's great to have so much material to refer to.
 >
 > I still have a few questions though, and I'm hoping someone involved
 > with the feature can enlighten me.
 >
 > *[Support for Providers other than Virtual Router]*
 > In [3], the spec says "No external device support in plan."
 > What does this mean exactly?

 Because CloudStack also supports using external devices as network
 controller e.g. Juniper SRX as firewall and NetScaler as load
 balancer. The words here said is just we don't support these devices
 when using IPv6.
 >
 > For example, if using Providers other than the Virtual Router, does
 > the UI still allow setting IPv6 addresses?
 >
 > If so, do we attempt to pass IPv6 addresses to the Providers no
 > matter what, or do we check whether the Provider has IPv6 support?

 Yes, we checked it when you try to create a IPv6 network(currently
 only support advance shared network).

 >
 > *[Networking Modes]*
 > Advanced Shared mode and Basic mode are mentioned in the Jira
 > ticket [1] - "Isolated Network" is mentioned briefly in [2], but I
 > wanted to check if the Advanced Isolated and VPC modes are on the
 > roadmap?

 There is no "basic isolated" network, so "Isolated" network is what
 we're talking about. We haven't got plan for VPC yet.

 And one correction: we didn't support "basic" mode for phase 1. We
 support only "advance shared network" in phase 1. The supported cases
 are described in FS. Jira ticket only provided a rough idea at the
 time.
 >
 > *[IP Address Management / IPAM]*
 > From [1], re: handing out IPv6 addresses: "One way could be that the
 > network admin creates a static route for a /48 towards a Virtual
 > Router and then the VR can hand out /64s to Instances."
 >
 > With IPv4, IPAM is handled by the CloudStack management server, and
 > the VR is told which IP address to give to the VM over DHCP. Would
 > this change with IPv6? "The VR can hand out /64s to instances" sounds
 > like the VR is handling IPAM to some extent.

 Well, it's not how it works now. Please refer to the FS. The current
 implementation works like before. VR get a /64 then handle out IPv6
 addresses to VM.
 >
 > From [3], "Router advertisement should be sent by public gateway in
 > the network." - to double-check, does this mean the router outside the
 > CloudStack network should send RAs, but the VR won't send RAs?

 Yes. Because in phase 1, we support only "advance shared network", in
 which case, VR is NOT the gateway. So we assume the gateway router
 outside CloudStack should send out RA to the VMs.

 But in the phase 2,

Re: vhd-util on git

2014-01-03 Thread Nguyen Anh Tu
Opps... I thought I removed vhd-util from the commit. Will do in next
monday, David. I'm travelling and the internet connection is terrible here.

Thanks,

--Tuna

Sent from my GT-N7000
On Jan 4, 2014 3:26 AM, "David Nalley"  wrote:

> On Fri, Jan 3, 2014 at 2:46 PM, Amogh Vasekar 
> wrote:
> > Hi,
> >
> > I encountered a conflict while pulling in a branch, and noticed vhd-util
> > in the CS code base :
> >
> https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor/xens
> > erver/vhd-util
> >
> > Wasn't there a licensing issue with vhd-util being in the code base?
> >
> > Thanks,
> > Amogh
> >
>
> There is indeed a licensing issue. It was in the codebase in 2011 and
> removed in 2012 as we readied for the first ASF release.
>
> For a history, see:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=history;f=scripts/vm/hypervisor/xenserver/vhd-util;h=46d62dd44d9224b9b8c5c11f05bb789473ddc1a4;hb=HEAD
>
> Tuna:
>
> Please revert this commit. vhd-util is both a binary and licensed in a
> manner that makes it impossible from an ASF policy perspective to
> retain in our version control or ship in a release - both of which are
> problematic.
>
> --David
>


RE: Upgrade to newer version of gson?

2014-01-03 Thread Alex Huang
I tried to bump up to a later version before.  Had horrible trouble with it.  
It was a problem with in how the API was using gson to render.  I forget 
whether this is the version I attempted.

--Alex

> -Original Message-
> From: Edison Su
> Sent: Friday, January 3, 2014 5:53 PM
> To: dev@cloudstack.apache.org
> Cc: Alex Huang; Darren Shepherd
> Subject: RE: Upgrade to newer version of gson?
> 
> Oh, a minor upgrade should be enough:
> https://code.google.com/p/google-gson/issues/detail?id=354
> Just need to bump up to 1.7.2.
> 
> > -Original Message-
> > From: Edison Su [mailto:edison...@citrix.com]
> > Sent: Friday, January 03, 2014 5:48 PM
> > To: dev@cloudstack.apache.org
> > Cc: Alex Huang; Darren Shepherd
> > Subject: Upgrade to newer version of gson?
> >
> > Hit a bug in gson:
> > https://groups.google.com/forum/#!msg/google-
> > gson/3OdgAAUOi3c/UMTmNt1XnG0J
> > https://issues.apache.org/jira/browse/CLOUDSTACK-5573
> > It's fixed since gson-2.0. Should we upgrade to gson-2.x?


RE: Upgrade to newer version of gson?

2014-01-03 Thread Edison Su
Oh, a minor upgrade should be enough: 
https://code.google.com/p/google-gson/issues/detail?id=354
Just need to bump up to 1.7.2.

> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Friday, January 03, 2014 5:48 PM
> To: dev@cloudstack.apache.org
> Cc: Alex Huang; Darren Shepherd
> Subject: Upgrade to newer version of gson?
> 
> Hit a bug in gson:
> https://groups.google.com/forum/#!msg/google-
> gson/3OdgAAUOi3c/UMTmNt1XnG0J
> https://issues.apache.org/jira/browse/CLOUDSTACK-5573
> It's fixed since gson-2.0. Should we upgrade to gson-2.x?


Upgrade to newer version of gson?

2014-01-03 Thread Edison Su
Hit a bug in gson:
https://groups.google.com/forum/#!msg/google-gson/3OdgAAUOi3c/UMTmNt1XnG0J
https://issues.apache.org/jira/browse/CLOUDSTACK-5573
It's fixed since gson-2.0. Should we upgrade to gson-2.x?


Re: vhd-util on git

2014-01-03 Thread David Nalley
On Fri, Jan 3, 2014 at 4:05 PM, Alex Huang  wrote:
> I was in Cambridge before the ccceu13 and worked with the XS team on this.  
> They're working on a patch release to 6.2 that will include everything we 
> need in vhd-util, which will remove this dependency.  It's expected end of 
> Jan/start of feb.  Unfortunately, it's too big an effort for them to backport 
> it to all previous releases but at least going forward, we will be rid of 
> this problem.
>


That's outstanding news to hear.

Thanks Alex,

--David


RE: vhd-util on git

2014-01-03 Thread Alex Huang
I was in Cambridge before the ccceu13 and worked with the XS team on this.  
They're working on a patch release to 6.2 that will include everything we need 
in vhd-util, which will remove this dependency.  It's expected end of Jan/start 
of feb.  Unfortunately, it's too big an effort for them to backport it to all 
previous releases but at least going forward, we will be rid of this problem.

--Alex

> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: Friday, January 3, 2014 12:26 PM
> To: dev@cloudstack.apache.org; Nguyen Anh Tu
> Subject: Re: vhd-util on git
> 
> On Fri, Jan 3, 2014 at 2:46 PM, Amogh Vasekar 
> wrote:
> > Hi,
> >
> > I encountered a conflict while pulling in a branch, and noticed
> > vhd-util in the CS code base :
> >
> https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor
> > /xens
> > erver/vhd-util
> >
> > Wasn't there a licensing issue with vhd-util being in the code base?
> >
> > Thanks,
> > Amogh
> >
> 
> There is indeed a licensing issue. It was in the codebase in 2011 and removed
> in 2012 as we readied for the first ASF release.
> 
> For a history, see:
> https://git-wip-
> us.apache.org/repos/asf?p=cloudstack.git;a=history;f=scripts/vm/hypervisor
> /xenserver/vhd-
> util;h=46d62dd44d9224b9b8c5c11f05bb789473ddc1a4;hb=HEAD
> 
> Tuna:
> 
> Please revert this commit. vhd-util is both a binary and licensed in a manner
> that makes it impossible from an ASF policy perspective to retain in our
> version control or ship in a release - both of which are problematic.
> 
> --David


Re: vhd-util on git

2014-01-03 Thread David Nalley
On Fri, Jan 3, 2014 at 2:46 PM, Amogh Vasekar  wrote:
> Hi,
>
> I encountered a conflict while pulling in a branch, and noticed vhd-util
> in the CS code base :
> https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor/xens
> erver/vhd-util
>
> Wasn't there a licensing issue with vhd-util being in the code base?
>
> Thanks,
> Amogh
>

There is indeed a licensing issue. It was in the codebase in 2011 and
removed in 2012 as we readied for the first ASF release.

For a history, see:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=history;f=scripts/vm/hypervisor/xenserver/vhd-util;h=46d62dd44d9224b9b8c5c11f05bb789473ddc1a4;hb=HEAD

Tuna:

Please revert this commit. vhd-util is both a binary and licensed in a
manner that makes it impossible from an ASF policy perspective to
retain in our version control or ship in a release - both of which are
problematic.

--David


RE: ACS 4.2: list networks returns empty, if a VN is created without net mask

2014-01-03 Thread Vinod Nair
Thanks Saksham 

There is all-ready one open CLOUDSTACK-5681
Can it be assigned to someone

Thanks
Vinod


-Original Message-
From: Saksham Srivastava [mailto:saksham.srivast...@citrix.com] 
Sent: Friday, January 03, 2014 8:18 AM
To: dev@cloudstack.apache.org
Subject: RE: ACS 4.2: list networks returns empty, if a VN is created without 
net mask 

This could be a bug, go ahead a file an issue.

Thanks,
Saksham

-Original Message-
From: Vinod Nair [mailto:vinodn...@juniper.net] 
Sent: Friday, January 03, 2014 5:53 AM
To: dev@cloudstack.apache.org
Subject: ACS 4.2: list networks returns empty, if a VN is created without net 
mask 

Hi Saksham 

The issue here is if we specify the gateway without specifying the net-mask , 
the networks table gets updated with the VN name , but in db  both gateway cidr 
are empty .  list network bails out because if this.


> list zones
count = 1
zone:
name = default
id = 9b5dd877-1fb1-4499-8fec-2baea16ce973
allocationstate = Enabled
dhcpprovider = VirtualRouter
dns1 = 10.84.5.100
dns2 =
domain = ROOT
guestcidraddress = 10.1.0.0/24
internaldns1 = 10.84.5.100
internaldns2 =
ip6dns1 =
ip6dns2 =
localstorageenabled = False
networktype = Advanced
securitygroupsenabled = False
zonetoken = 63b953cc-1dbf-3a03-8aea-ce96319173cc


mysql> select id,name,cidr,gateway  from networks;
+-+--++-+
| id  | name | cidr   | gateway |
+-+--++-+
| 200 | NULL | NULL   | NULL|
| 201 | NULL | NULL   | NULL|
| 202 | NULL | 169.254.0.0/16 | 169.254.0.1 |
| 203 | NULL | NULL   | NULL|
| 204 | VN1  | 10.1.1.0/24| 10.1.1.254  |
| 205 | VN2  | NULL   | NULL|
+-+--++-+



Thanks
Vinod
-Original Message-
From: Saksham Srivastava [mailto:saksham.srivast...@citrix.com] 
Sent: Monday, December 30, 2013 10:21 PM
To: dev@cloudstack.apache.org
Subject: RE: ACS4.2 db goes for a toss if no netmask is specified while 
creating a virtual Network

In general, if you do not specify a  gateway and netmask, the values will be 
taken from the zone level settings.
Check listZones to see your configuration.

Thanks,
Saksham

-Original Message-
From: Vinod Nair [mailto:vinodn...@juniper.net] 
Sent: Tuesday, December 31, 2013 6:29 AM
To: dev@cloudstack.apache.org
Subject: RE: ACS4.2 db goes for a toss if no netmask is specified while 
creating a virtual Network

Hi 

Root cause is that ACS is allowing to create a VN without a net mask value, 
Whereas list networks command is checking for if cidr value is present or not 
for a network while iterating all networks. If it finds a network without cidr 
it throws Exception and  returns empty

Thanks
Vinod

-Original Message-
From: Vinod Nair [mailto:vinodn...@juniper.net] 
Sent: Monday, December 30, 2013 11:26 AM
To: dev@cloudstack.apache.org
Subject: ACS4.2 db goes for a toss if no netmask is specified while creating a 
virtual Network

Hi

I have ACS4.2 , If I try creating a virtual network without specifying  a 
netmask, the database goes for a toss..  only way to recover is to delete  the 
entry from the  database manually  or set the CIDR manually as it is set as 
NULL. Is there a fix available for this issue.



# cloudmonkey
? Apache CloudStack ?? cloudmonkey 5.0.0. Type help or ? to list commands.

> list networks
: None


select * from networks where id=207;
+-+--+--+--+--+---+---+-+--+--+-+-++--+-+-+---++--+--+---++--++--++--+-+-+---++-+--+--+-++
| id  | name | uuid | display_text | 
traffic_type | broadcast_domain_type | broadcast_uri | gateway | cidr | mode | 
network_offering_id | physical_network_id | data_center_id | guru_name| 
state   | related | domain_id | account_id | dns1 | dns2 | guru_data | 
set_fields | acl_type | network_domain | reservation_id   | 
guest_type | restart_required | created | removed | 
specify_ip_ranges | vpc_id | ip6_gateway | ip6_cidr | network_cidr | 
display_network | network_acl_id |
+-+--+--+--+--+---+---+-+--+--+-+-++--+-+-+---++--+--+---++--++--++--+-

Re: vhd-util on git

2014-01-03 Thread Daan Hoogland
On Fri, Jan 3, 2014 at 8:46 PM, Amogh Vasekar  wrote:
> https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor/xens
> erver/vhd-util


github is not the authoritive source for acs. This is a mirror someone
made and forgot to sync. So that is probably the reason vhd-util is
still in there.


vhd-util on git

2014-01-03 Thread Amogh Vasekar
Hi,

I encountered a conflict while pulling in a branch, and noticed vhd-util
in the CS code base :
https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor/xens
erver/vhd-util

Wasn't there a licensing issue with vhd-util being in the code base?

Thanks,
Amogh



RE: Hyper-V agent

2014-01-03 Thread Donal Lafferty
Can you check the web.config?  I've a feeling that the installer didn't set it 
up properly.

By reading the settings name you should get the gist of what each does.

Also, could you add some Jira issues:  one for the build error you saw and 
another for the installer?

Thanks,

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 03 January 2014 17:49
To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar
Subject: RE: Hyper-V agent

So... updating .net 4.5.1 and a reboot and CloudAgent builds (with 19 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog
Installing service CloudStack Hyper-V Agent...
Service CloudStack Hyper-V Agent has been successfully installed.
Creating EventLog source CloudStack Hyper-V Agent in log Application...
See the contents of the log file for the B:\Microsoft\AgentShell\AgentShell.exe 
assembly's progress.
The file is located at B:\Microsoft\AgentShell\AgentShell.InstallLog.
Committing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Installing and running CloudStack Hyper-V Agent
2014-01-03 17:34:02,185 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] 
-  Error occured in starting service Cannot start service CloudStack Hyper-V 
Agent on computer '.'.


Regards,

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

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 03 January 2014 16:35
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

When (trying) to build the hyper-v agent I get these errors:

Build FAILED.

Warnings:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj
 (default targets) ->
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets 
(ResolveAssemblyReferences target) ->

C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets
 (RestorePackages target) ->


C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets:
 error : Command 'mono --runtime=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 1.

 6 Warning(s)
 1 Error(s)

Time Elapsed 00:00:02.6896758



Any ideas?




Regards,

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

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; 
Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@

Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread David Nalley
Yep - I am otherwise happy with this RC. Consider my -1 retracted and
a +1 (binding) (which I think gives us the three necessary)

Thanks for all of the work checking on this folks.

--David

On Fri, Jan 3, 2014 at 10:17 AM, Daan Hoogland  wrote:
> I know Hugo made something to include it in the rpm. I'm not sure if
> this is on the 4.2 branch. Look in the root dir of the archive.
>
> @David: you casted a -1. Can you get your conscience to retract that?
> @all: how do we go from here?
>
> regards
>
> On Fri, Jan 3, 2014 at 3:41 PM, Nux!  wrote:
>> On 03.01.2014 14:32, Daan Hoogland wrote:
>>>
>>> This spin was created by Abhinandan at the 17th so, give us a commit
>>> id so we can determine if we can release it, can you?
>>
>>
>> Would this commit id be somewhere in the RPMs? Cause I long wiped out the VM
>> used to build them.
>> Anyway, the 17th should also be ok afaic, the problem I had seems to be
>> related to KVM and the disappearence of the "-s" option for qemu-img from EL
>> 6.4 to EL 6.5.
>>
>> Lucian
>>
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro


RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Edison Su


> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: Friday, January 03, 2014 10:45 AM
> To: dev@cloudstack.apache.org
> Subject: RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC
> 
> On 03.01.2014 18:31, Edison Su wrote:
> > Regarding to KVM binaries, in order to make volume snapshot working
> > with cloudstack, we need KVM hypervisor support following features:
> > 1. disk only snapshot, don't save vm memory(saving vm memory usually
> > takes several seconds. In RHEL <6.3, it will even take few minutes for
> > a vm with large memory. It means user vm will be paused for that long
> > time, during snapshot, which may be not acceptable for many users).
> > 2. be able to backup snapshot from primary storage to secondary
> > storage.
> >
> > Few years ago, I send two patches to KVM community:
> > [1]http://lists.gnu.org/archive/html/qemu-devel/2010-09/msg00655.html
> > [2]http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01662.ht
> > ml The [2] is already in KVM upstream, the [1] is not checked in at
> > that time, but it's supported later on, with the so called "disk-only"
> > snapshot.
> >
> > In ACS release, we(Citrix QA team) usually test it on RHEL 6, which
> > doesn't have above functionalities, that's why I say the kvm snapshot
> > is not supported by default. But if you are using latest kvm
> > distribution, you will get this feature. Maybe we should support newer
> > version of KVM distribution better, such as the upcoming Ubuntu 14.04
> > etc?
> 
> Edison,
> 
> This is a good idea, especially as RHEL7 is coming and it has pretty neat
> features.

Yes, RHEL7 must be good, as RHEL6 is tooo old:)

> Even with EL6 qemu-kvm-rhev that I built[1] most of this stuff is working
> great https://fedoraproject.org/wiki/Features/Virt_Live_Snapshots , even
> VM snapshots could be supported.
> I'll probably get back to the list with more questions about how to enable VM
> snapshots later this week.

Thanks for your binaries, community can use your binaries if anybody wants to 
enable KVM snapshot on EL6.

> 
> [1] - http://li.nux.ro/download/nux/tmp/kvm-rhev/el6/
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro


RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Nux!

On 03.01.2014 18:31, Edison Su wrote:

Regarding to KVM binaries, in order to make volume snapshot working
with cloudstack, we need KVM hypervisor support following features:
1. disk only snapshot, don't save vm memory(saving vm memory usually
takes several seconds. In RHEL <6.3, it will even take few minutes for
a vm with large memory. It means user vm will be paused for that long
time, during snapshot, which may be not acceptable for many users).
2. be able to backup snapshot from primary storage to secondary 
storage.


Few years ago, I send two patches to KVM community:
[1]http://lists.gnu.org/archive/html/qemu-devel/2010-09/msg00655.html
[2]http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01662.html
The [2] is already in KVM upstream, the [1] is not checked in at that
time, but it's supported later on, with the so called "disk-only"
snapshot.

In ACS release, we(Citrix QA team) usually test it on RHEL 6, which
doesn't have above functionalities, that's why I say the kvm snapshot
is not supported by default. But if you are using latest kvm
distribution, you will get this feature. Maybe we should support newer
version of KVM distribution better, such as the upcoming Ubuntu 14.04
etc?


Edison,

This is a good idea, especially as RHEL7 is coming and it has pretty 
neat features.
Even with EL6 qemu-kvm-rhev that I built[1] most of this stuff is 
working great 
https://fedoraproject.org/wiki/Features/Virt_Live_Snapshots , even VM 
snapshots could be supported.
I'll probably get back to the list with more questions about how to 
enable VM snapshots later this week.


[1] - http://li.nux.ro/download/nux/tmp/kvm-rhev/el6/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Edison Su


> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: Friday, January 03, 2014 8:37 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC
> 
> On 03.01.2014 15:17, Daan Hoogland wrote:
> > I know Hugo made something to include it in the rpm. I'm not sure if
> > this is on the 4.2 branch. Look in the root dir of the archive.
> >
> > @David: you casted a -1. Can you get your conscience to retract that?
> > @all: how do we go from here?
> 
> The RPMs that I used are here in case anyone can work out the commit id,
> http://tmp.nux.ro/w7F-cloudsnap42/
> As far as I am concerned you guys can do your thing and release this.
> 
> Uncharacteristically the change to qemu-img in EL 6.5 not only broke previous
> ACS functionality, but also affected Openstack and I think oVirt, from what I
> figured out searching the net.
> Next time I'll have to remember not to blame ACS first. :)
> 
> AFAIK EL6 users can either stick with 6.4 or older or use
> http://li.nux.ro/download/nux/tmp/kvm-rhev/el6/ - and hope RedHat fixes
> this booboo.

Regarding to KVM binaries, in order to make volume snapshot working with 
cloudstack, we need KVM hypervisor support following features:
1. disk only snapshot, don't save vm memory(saving vm memory usually takes 
several seconds. In RHEL <6.3, it will even take few minutes for a vm with 
large memory. It means user vm will be paused for that long time, during 
snapshot, which may be not acceptable for many users).
2. be able to backup snapshot from primary storage to secondary storage. 

Few years ago, I send two patches to KVM community: 
[1]http://lists.gnu.org/archive/html/qemu-devel/2010-09/msg00655.html
[2]http://lists.nongnu.org/archive/html/qemu-devel/2010-09/msg01662.html
The [2] is already in KVM upstream, the [1] is not checked in at that time, but 
it's supported later on, with the so called "disk-only" snapshot.

In ACS release, we(Citrix QA team) usually test it on RHEL 6, which doesn't 
have above functionalities, that's why I say the kvm snapshot is not supported 
by default. But if you are using latest kvm distribution, you will get this 
feature. Maybe we should support newer version of KVM distribution better, such 
as the upcoming Ubuntu 14.04 etc?

> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro


RE: Hyper-V agent

2014-01-03 Thread Paul Angus
So... updating .net 4.5.1 and a reboot and CloudAgent builds (with 19 warnings) 
http://pastebin.com/ahz5yJw2

I copy it to my hyper-v box and it bombs out immediately 
http://imgur.com/NMan0S2

Install log says:

Installing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog
Installing service CloudStack Hyper-V Agent...
Service CloudStack Hyper-V Agent has been successfully installed.
Creating EventLog source CloudStack Hyper-V Agent in log Application...
See the contents of the log file for the B:\Microsoft\AgentShell\AgentShell.exe 
assembly's progress.
The file is located at B:\Microsoft\AgentShell\AgentShell.InstallLog.
Committing assembly 'B:\Microsoft\AgentShell\AgentShell.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = B:\Microsoft\AgentShell\AgentShell.exe
   logfile = B:\Microsoft\AgentShell\AgentShell.InstallLog

agent log says:

2014-01-03 17:33:59,755 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] 
- CloudStack Hyper-V Agent arg is
2014-01-03 17:33:59,823 [1] INFO  CloudStack.Plugin.AgentShell.Program [(null)] 
- Installing and running CloudStack Hyper-V Agent
2014-01-03 17:34:02,185 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] 
-  Error occured in starting service Cannot start service CloudStack Hyper-V 
Agent on computer '.'.


Regards,

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

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 03 January 2014 16:35
To: Donal Lafferty; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

When (trying) to build the hyper-v agent I get these errors:

Build FAILED.

Warnings:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj
 (default targets) ->
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets 
(ResolveAssemblyReferences target) ->

C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets
 (RestorePackages target) ->


C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets:
 error : Command 'mono --runtime=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 1.

 6 Warning(s)
 1 Error(s)

Time Elapsed 00:00:02.6896758



Any ideas?




Regards,

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

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; 
Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: Hyper-V agent

Happy New Year Everyone,

Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) 
rather than needing to build a windows development environment to build it.  + 
what's the longer term plan? I can't see Microsoft house sysadmins being 
willing to build their own agents in order to use CloudStack...



Regards

Paul Angus
Senior Consultan

Re: Problems creating a Basic Zone

2014-01-03 Thread Mike Tutkowski
I am now able to create a Basic Zone - thanks!


On Fri, Jan 3, 2014 at 2:18 AM, Daan Hoogland wrote:

> There was some problem with it that I fixed, please check if this works
> for you,
> Daan
>
> On Thu, Jan 2, 2014 at 7:51 PM, Rayees Namathponnan
>  wrote:
> > Is it because of below check-in ?
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=9ec137e75b39a7a462a1160ab3186e4afd156500
> >
> > Daan - can you please have look on this ?
> >
> > Regards,
> > Rayees
> >
> > -Original Message-
> > From: Rayees Namathponnan
> > Sent: Thursday, January 02, 2014 10:35 AM
> > To: dev@cloudstack.apache.org
> > Subject: RE: Problems creating a Basic Zone
> >
> > Yes, I have seen this issue in automation setup; below defect created
> >
> > https://issues.apache.org/jira/browse/CLOUDSTACK-5722
> >
> > Regards,
> > Rayees
> >
> > -Original Message-
> > From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> > Sent: Thursday, January 02, 2014 10:22 AM
> > To: dev@cloudstack.apache.org
> > Subject: Problems creating a Basic Zone
> >
> > Hi,
> >
> > Has anyone else tried to create a Basic Zone recently?
> >
> > This is not working for me for at least two reasons:
> >
> > 1) A NullPointerException in NetUtils.java.
> >
> > 2) Once I hack NetUtils.java so it no longer throws a NPE, the Basic
> Zone is created, but no system VMs start. I see message like, "console
> proxy is not in the correct state to be started."
> >
> > Any thoughts on this? This is with a XenServer host.
> >
> > Thanks
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud
> > *(tm)*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


RE: Hyper-V agent

2014-01-03 Thread Donal Lafferty
Hi Paul,

I looks like the code to download the NuGet packages did not get triggered.

The code to download is in NuGet.targets (see 
https://github.com/lafferty/cshv3/blob/master/plugins/hypervisors/hyperv/DotNet/ServerResource/.nuget/NuGet.targets)

It is supposed to use a conditional 'BuildWithMono' as a special conditional, 
which is inserted by buildagent.sh (see 
https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/hyperv/buildagent.sh)

One possibility is that the wget for NuGet.exe failed.  Can you check that this 
.exe has been downloaded?

Thanks,

DL



From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 03 January 2014 16:35
To: Donal Lafferty; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

When (trying) to build the hyper-v agent I get these errors:

Build FAILED.

Warnings:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj
 (default targets) ->
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets 
(ResolveAssemblyReferences target) ->

C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets
 (RestorePackages target) ->


C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets:
 error : Command 'mono --runtime=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 1.

 6 Warning(s)
 1 Error(s)

Time Elapsed 00:00:02.6896758



Any ideas?




Regards,

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

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; 
Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: Hyper-V agent

Happy New Year Everyone,

Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) 
rather than needing to build a windows development environment to build it.  + 
what's the longer term plan? I can't see Microsoft house sysadmins being 
willing to build their own agents in order to use CloudStack...



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 | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training
08/09 January 2014, London
13-17 January 2014, GLOBAL. Instructor led, 
On-line
20-24 January 2014, GLOBAL. Instructor led, 
On-line

This email and any attachments to it may be confidential and are intended 
solely

RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Suresh Sadhu
Thanks Nux and happy Newyear :-)

Regards
Sadhu


-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: 03 January 2014 22:07
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

On 03.01.2014 15:17, Daan Hoogland wrote:
> I know Hugo made something to include it in the rpm. I'm not sure if 
> this is on the 4.2 branch. Look in the root dir of the archive.
> 
> @David: you casted a -1. Can you get your conscience to retract that?
> @all: how do we go from here?

The RPMs that I used are here in case anyone can work out the commit id, 
http://tmp.nux.ro/w7F-cloudsnap42/
As far as I am concerned you guys can do your thing and release this.

Uncharacteristically the change to qemu-img in EL 6.5 not only broke previous 
ACS functionality, but also affected Openstack and I think oVirt, from what I 
figured out searching the net.
Next time I'll have to remember not to blame ACS first. :)

AFAIK EL6 users can either stick with 6.4 or older or use 
http://li.nux.ro/download/nux/tmp/kvm-rhev/el6/ - and hope RedHat fixes this 
booboo.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Nux!

On 03.01.2014 15:17, Daan Hoogland wrote:

I know Hugo made something to include it in the rpm. I'm not sure if
this is on the 4.2 branch. Look in the root dir of the archive.

@David: you casted a -1. Can you get your conscience to retract that?
@all: how do we go from here?


The RPMs that I used are here in case anyone can work out the commit 
id, http://tmp.nux.ro/w7F-cloudsnap42/

As far as I am concerned you guys can do your thing and release this.

Uncharacteristically the change to qemu-img in EL 6.5 not only broke 
previous ACS functionality, but also affected Openstack and I think 
oVirt, from what I figured out searching the net.

Next time I'll have to remember not to blame ACS first. :)

AFAIK EL6 users can either stick with 6.4 or older or use 
http://li.nux.ro/download/nux/tmp/kvm-rhev/el6/ - and hope RedHat fixes 
this booboo.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


RE: Hyper-V agent

2014-01-03 Thread Paul Angus
When (trying) to build the hyper-v agent I get these errors:

Build FAILED.

Warnings:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\WmiWrappers\WmiWrappers.csproj
 (default targets) ->
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets 
(ResolveAssemblyReferences target) ->

C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'AWSSDK' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Ionic.Zip' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'log4net' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'Newtonsoft.Json' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'NSubstitute' not resolved
C:\PROGRA~2\MONO-3~1.3\lib\mono\4.0\Microsoft.Common.targets:  warning 
: Reference 'xunit' not resolved

Errors:

C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\ServerResource.sln
 (default targets) ->
(Build target) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\HypervResource.csproj
 (default targets) ->
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets
 (RestorePackages target) ->


C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\.nuget\NuGet.targets:
 error : Command 'mono --runtime=v4.0.30319 
C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\.nuget\NuGet.exe
 install 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\HypervResource\packages.config"
 -source ""   -RequireConsent -solutionDir 
"C:\cygwin64\usr\local\cloudstack\plugins\hypervisors\hyperv\DotNet\ServerResource\\"
 ' exited with code: 1.

 6 Warning(s)
 1 Error(s)

Time Elapsed 00:00:02.6896758



Any ideas?




Regards,

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

From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: Hyper-V agent

Happy New Year Everyone,

Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) 
rather than needing to build a windows development environment to build it.  + 
what's the longer term plan? I can't see Microsoft house sysadmins being 
willing to build their own agents in order to use CloudStack...



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 | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training
08/09 January 2014, London
13-17 January 2014, GLOBAL. Instructor led, 
On-line
20-24 January 2014, GLOBAL. Instructor led, 
On-line

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

RE: ACS 4.2: list networks returns empty, if a VN is created without net mask

2014-01-03 Thread Saksham Srivastava
This could be a bug, go ahead a file an issue.

Thanks,
Saksham

-Original Message-
From: Vinod Nair [mailto:vinodn...@juniper.net] 
Sent: Friday, January 03, 2014 5:53 AM
To: dev@cloudstack.apache.org
Subject: ACS 4.2: list networks returns empty, if a VN is created without net 
mask 

Hi Saksham 

The issue here is if we specify the gateway without specifying the net-mask , 
the networks table gets updated with the VN name , but in db  both gateway cidr 
are empty .  list network bails out because if this.


> list zones
count = 1
zone:
name = default
id = 9b5dd877-1fb1-4499-8fec-2baea16ce973
allocationstate = Enabled
dhcpprovider = VirtualRouter
dns1 = 10.84.5.100
dns2 =
domain = ROOT
guestcidraddress = 10.1.0.0/24
internaldns1 = 10.84.5.100
internaldns2 =
ip6dns1 =
ip6dns2 =
localstorageenabled = False
networktype = Advanced
securitygroupsenabled = False
zonetoken = 63b953cc-1dbf-3a03-8aea-ce96319173cc


mysql> select id,name,cidr,gateway  from networks;
+-+--++-+
| id  | name | cidr   | gateway |
+-+--++-+
| 200 | NULL | NULL   | NULL|
| 201 | NULL | NULL   | NULL|
| 202 | NULL | 169.254.0.0/16 | 169.254.0.1 |
| 203 | NULL | NULL   | NULL|
| 204 | VN1  | 10.1.1.0/24| 10.1.1.254  |
| 205 | VN2  | NULL   | NULL|
+-+--++-+



Thanks
Vinod
-Original Message-
From: Saksham Srivastava [mailto:saksham.srivast...@citrix.com] 
Sent: Monday, December 30, 2013 10:21 PM
To: dev@cloudstack.apache.org
Subject: RE: ACS4.2 db goes for a toss if no netmask is specified while 
creating a virtual Network

In general, if you do not specify a  gateway and netmask, the values will be 
taken from the zone level settings.
Check listZones to see your configuration.

Thanks,
Saksham

-Original Message-
From: Vinod Nair [mailto:vinodn...@juniper.net] 
Sent: Tuesday, December 31, 2013 6:29 AM
To: dev@cloudstack.apache.org
Subject: RE: ACS4.2 db goes for a toss if no netmask is specified while 
creating a virtual Network

Hi 

Root cause is that ACS is allowing to create a VN without a net mask value, 
Whereas list networks command is checking for if cidr value is present or not 
for a network while iterating all networks. If it finds a network without cidr 
it throws Exception and  returns empty

Thanks
Vinod

-Original Message-
From: Vinod Nair [mailto:vinodn...@juniper.net] 
Sent: Monday, December 30, 2013 11:26 AM
To: dev@cloudstack.apache.org
Subject: ACS4.2 db goes for a toss if no netmask is specified while creating a 
virtual Network

Hi

I have ACS4.2 , If I try creating a virtual network without specifying  a 
netmask, the database goes for a toss..  only way to recover is to delete  the 
entry from the  database manually  or set the CIDR manually as it is set as 
NULL. Is there a fix available for this issue.



# cloudmonkey
? Apache CloudStack ?? cloudmonkey 5.0.0. Type help or ? to list commands.

> list networks
: None


select * from networks where id=207;
+-+--+--+--+--+---+---+-+--+--+-+-++--+-+-+---++--+--+---++--++--++--+-+-+---++-+--+--+-++
| id  | name | uuid | display_text | 
traffic_type | broadcast_domain_type | broadcast_uri | gateway | cidr | mode | 
network_offering_id | physical_network_id | data_center_id | guru_name| 
state   | related | domain_id | account_id | dns1 | dns2 | guru_data | 
set_fields | acl_type | network_domain | reservation_id   | 
guest_type | restart_required | created | removed | 
specify_ip_ranges | vpc_id | ip6_gateway | ip6_cidr | network_cidr | 
display_network | network_acl_id |
+-+--+--+--+--+---+---+-+--+--+-+-++--+-+-+---++--+--+---++--++--++--+-+-+---++-+--+--+-++
| 207 | Vn1  | d1e6ae13-d750-4682-948c-c6545d6c9ace | vn1  | Guest  
  | Lswitch   | NULL  | NULL| NULL | Dhcp | 
 15 | 200 |  1 | ContrailGuru | Impl

Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Daan Hoogland
I know Hugo made something to include it in the rpm. I'm not sure if
this is on the 4.2 branch. Look in the root dir of the archive.

@David: you casted a -1. Can you get your conscience to retract that?
@all: how do we go from here?

regards

On Fri, Jan 3, 2014 at 3:41 PM, Nux!  wrote:
> On 03.01.2014 14:32, Daan Hoogland wrote:
>>
>> This spin was created by Abhinandan at the 17th so, give us a commit
>> id so we can determine if we can release it, can you?
>
>
> Would this commit id be somewhere in the RPMs? Cause I long wiped out the VM
> used to build them.
> Anyway, the 17th should also be ok afaic, the problem I had seems to be
> related to KVM and the disappearence of the "-s" option for qemu-img from EL
> 6.4 to EL 6.5.
>
> Lucian
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Abhinandan Prateek
On 03/01/14 8:11 pm, "Nux!"  wrote:

>On 03.01.2014 14:32, Daan Hoogland wrote:
>> This spin was created by Abhinandan at the 17th so, give us a commit
>> id so we can determine if we can release it, can you?
>
>Would this commit id be somewhere in the RPMs? Cause I long wiped out
>the VM used to build them.
>Anyway, the 17th should also be ok afaic, the problem I had seems to be
>related to KVM and the disappearence of the "-s" option for qemu-img
>from EL 6.4 to EL 6.5.
>
Nux,

  This is the commit corresponding to RC
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=1b2b58f
e352a19aee1721bd79b9d023d36e80ec5
You can take look at the git there and it will be easy to check that the
git-hib build included the changes till this commit, and nothing after
that.
As of now it if the build included the changes till 17 Dec then we can say
for sure that you tested the build same as this RC.

-abhi


>



Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Nux!

On 03.01.2014 14:32, Daan Hoogland wrote:

This spin was created by Abhinandan at the 17th so, give us a commit
id so we can determine if we can release it, can you?


Would this commit id be somewhere in the RPMs? Cause I long wiped out 
the VM used to build them.
Anyway, the 17th should also be ok afaic, the problem I had seems to be 
related to KVM and the disappearence of the "-s" option for qemu-img 
from EL 6.4 to EL 6.5.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Daan Hoogland
This spin was created by Abhinandan at the 17th so, give us a commit
id so we can determine if we can release it, can you?

On Fri, Jan 3, 2014 at 3:28 PM, Nux!  wrote:
> On 03.01.2014 14:17, Daan Hoogland wrote:
>>
>> sudha, nux,
>>
>> getting back to the vote at hand; are we talking about the 4.2.1
>> release candidate (or a later snapshot from that branch)
>
>
> In all these tests I used a build from github 4.2 master as of 21st of
> December 2013. Not sure if that's later than RC1.
>
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Nux!

On 03.01.2014 14:17, Daan Hoogland wrote:

sudha, nux,

getting back to the vote at hand; are we talking about the 4.2.1
release candidate (or a later snapshot from that branch)


In all these tests I used a build from github 4.2 master as of 21st of 
December 2013. Not sure if that's later than RC1.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Daan Hoogland
sudha, nux,

getting back to the vote at hand; are we talking about the 4.2.1
release candidate (or a later snapshot from that branch)

On Fri, Jan 3, 2014 at 3:10 PM, Nux!  wrote:
> On 03.01.2014 13:54, Sudha Ponnaganti wrote:
>>
>> Thanks Nux for confirmation. Is it okay to close this issue in JIRA ??
>
>
> Hi,
>
> Thanks and yes. I can also confirm qemu-img-rhev-0.12.1.2-2.355.el6 works
> fine with GlusterFS share mount point, at least the snapshotting part.
>
> Lucian
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro


RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Nux!

On 03.01.2014 13:54, Sudha Ponnaganti wrote:

Thanks Nux for confirmation. Is it okay to close this issue in JIRA ??


Hi,

Thanks and yes. I can also confirm qemu-img-rhev-0.12.1.2-2.355.el6 
works fine with GlusterFS share mount point, at least the snapshotting 
part.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Review Request 16438: CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need to update in 4.3 upgrade setup

2014-01-03 Thread Rajesh Battala

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16438/#review31124
---

Ship it!


Ship It!

- Rajesh Battala


On Dec. 23, 2013, 11:05 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16438/
> ---
> 
> (Updated Dec. 23, 2013, 11:05 a.m.)
> 
> 
> Review request for cloudstack and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-5608
> https://issues.apache.org/jira/browse/CLOUDSTACK-5608
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need 
> to update in 4.3 upgrade setup
> 1) Hyperv default builtin template is missing
> 2) Hyperv System vm template entry is missing or having invalid URL.
> 
> 
> Diffs
> -
> 
>   setup/db/db/schema-421to430.sql 574f510 
>   setup/db/templates.sql 0f7958f 
> 
> Diff: https://reviews.apache.org/r/16438/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: Review Request 16438: CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need to update in 4.3 upgrade setup

2014-01-03 Thread Rajesh Battala


> On Jan. 3, 2014, 12:03 p.m., ASF Subversion and Git Services wrote:
> > Commit 28fcd362907f80505860b72cef523b1d19fdda1f in branch refs/heads/master 
> > from Harikrishna Patnala
> > [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=28fcd36 ]
> > 
> > CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need 
> > to update in 4.3 upgrade setup
> >

please close the bug and review request


- Rajesh


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16438/#review31122
---


On Dec. 23, 2013, 11:05 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16438/
> ---
> 
> (Updated Dec. 23, 2013, 11:05 a.m.)
> 
> 
> Review request for cloudstack and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-5608
> https://issues.apache.org/jira/browse/CLOUDSTACK-5608
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need 
> to update in 4.3 upgrade setup
> 1) Hyperv default builtin template is missing
> 2) Hyperv System vm template entry is missing or having invalid URL.
> 
> 
> Diffs
> -
> 
>   setup/db/db/schema-421to430.sql 574f510 
>   setup/db/templates.sql 0f7958f 
> 
> Diff: https://reviews.apache.org/r/16438/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Sudha Ponnaganti
Thanks Nux for confirmation. Is it okay to close this issue in JIRA ??

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Friday, January 03, 2014 12:33 AM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

On 03.01.2014 07:40, Nux! wrote:
> Guys, this is really confusing!
> First of all I could swear I had this feature working on me previously 
> on a similar setup, second of all why has your colleague Sadhu said 
> this is working[1]?
> Also Andrei Mikhailovsky claims in this same thread the feature is 
> working, though he is facing other issues (launching new VMs from 
> volume backups/snapshots).

Ok, I think I got it. For EL6 (CentOS6) users the workaround is to use a 
patched version of KVM, then all the features start working (btw "VM snapshots" 
could work as well with this!).
The confusion comes from the fact the issue is not present in Ubuntu latest for 
example since they package a newer kvm, so this differs from one distro to 
another.

With the version from RHEV everything worked great and I'll test this soon with 
GlusterFS shared mount point as well.

More here
https://issues.apache.org/jira/browse/CLOUDSTACK-5709?focusedCommentId=13861329&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13861329

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Review Request 16438: CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need to update in 4.3 upgrade setup

2014-01-03 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16438/#review31122
---


Commit 28fcd362907f80505860b72cef523b1d19fdda1f in branch refs/heads/master 
from Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=28fcd36 ]

CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need to 
update in 4.3 upgrade setup


- ASF Subversion and Git Services


On Dec. 23, 2013, 11:05 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16438/
> ---
> 
> (Updated Dec. 23, 2013, 11:05 a.m.)
> 
> 
> Review request for cloudstack and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-5608
> https://issues.apache.org/jira/browse/CLOUDSTACK-5608
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need 
> to update in 4.3 upgrade setup
> 1) Hyperv default builtin template is missing
> 2) Hyperv System vm template entry is missing or having invalid URL.
> 
> 
> Diffs
> -
> 
>   setup/db/db/schema-421to430.sql 574f510 
>   setup/db/templates.sql 0f7958f 
> 
> Diff: https://reviews.apache.org/r/16438/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



RE: Distributing Remote Agents

2014-01-03 Thread Paul Angus
I can't imagine many (if any) Microsoft Windows types going through the hoops 
required to build their own agent from source. A mechanism is going to be 
required to create convenience binaries for them.

Just installing Cygwin is a pain.


Regards,

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

-Original Message-
From: Anshul Gangwar [mailto:anshul.gang...@citrix.com]
Sent: 03 January 2014 11:18
To: dev@cloudstack.apache.org
Subject: RE: Distributing Remote Agents

In ACS we can use command line way of installing agent on Hyper-V.

I have already written code for creating installer using Wix.

For both one has to follow steps at  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer.



-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Friday, January 03, 2014 3:47 PM
To: dev@cloudstack.apache.org
Subject: Distributing Remote Agents

In the same way that the KVM agent is packaged for distribution, an installer 
is required for the Hyper-V agent.

The open-source candidate for creating this installer is WiX 
(http://en.wikipedia.org/wiki/WiX)

While open-source, it's not clear that WiX works or runs in an environment 
other than Windows.

Does this mean that the installer should be in a separate repo?


From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: Hyper-V agent

Happy New Year Everyone,

Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) 
rather than needing to build a windows development environment to build it.  + 
what's the longer term plan? I can't see Microsoft house sysadmins being 
willing to build their own agents in order to use CloudStack...



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 | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training
08/09 January 2014, London
13-17 January 2014, GLOBAL. Instructor led, 
On-line
20-24 January 2014, GLOBAL. Instructor led, 
On-line

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.


Review Request 16605: fixed special characters not working in console view for hyperv

2014-01-03 Thread Anshul Gangwar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16605/
---

Review request for cloudstack, Devdeep Singh and rajeshbabu chintaguntla.


Repository: cloudstack-git


Description
---

this patch fixes the special characters  not working in cnsole view for hyperv. 
Added the keymap for special keys and modified modifeir keys handling


Diffs
-

  
services/console-proxy-rdp/rdpconsole/src/main/java/rdpclient/adapter/AwtRdpKeyboardAdapter.java
 36da0a3 
  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyRdpClient.java
 6b317ff 
  
services/console-proxy/server/src/com/cloud/consoleproxy/rdp/KeysymToKeycode.java
 10282ad 

Diff: https://reviews.apache.org/r/16605/diff/


Testing
---

verified by typing special keys in console view of vm in hyperv


Thanks,

Anshul Gangwar



RE: Distributing Remote Agents

2014-01-03 Thread Anshul Gangwar
In ACS we can use command line way of installing agent on Hyper-V.

I have already written code for creating installer using Wix. 

For both one has to follow steps at  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer.



-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com] 
Sent: Friday, January 03, 2014 3:47 PM
To: dev@cloudstack.apache.org
Subject: Distributing Remote Agents

In the same way that the KVM agent is packaged for distribution, an installer 
is required for the Hyper-V agent.

The open-source candidate for creating this installer is WiX 
(http://en.wikipedia.org/wiki/WiX)

While open-source, it's not clear that WiX works or runs in an environment 
other than Windows.

Does this mean that the installer should be in a separate repo?


From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: Hyper-V agent

Happy New Year Everyone,

Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) 
rather than needing to build a windows development environment to build it.  + 
what's the longer term plan? I can't see Microsoft house sysadmins being 
willing to build their own agents in order to use CloudStack...



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 | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training
08/09 January 2014, London
13-17 January 2014, GLOBAL. Instructor led, 
On-line
20-24 January 2014, GLOBAL. Instructor led, 
On-line

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: Review Request 16602: CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures as part of Delete Ac

2014-01-03 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16602/#review31119
---


Commit 6ce46e94f522f08c91db2cde33829f5b41539397 in branch refs/heads/4.3 from 
Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6ce46e9 ]

CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to 
ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures 
as part of Delete Account Job

Signed-off-by: Koushik Das 


- ASF Subversion and Git Services


On Jan. 3, 2014, 10:06 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16602/
> ---
> 
> (Updated Jan. 3, 2014, 10:06 a.m.)
> 
> 
> Review request for cloudstack and Koushik Das.
> 
> 
> Bugs: CLOUDSTACK-5730
> https://issues.apache.org/jira/browse/CLOUDSTACK-5730
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to 
> ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures 
> as part of Delete Account Job
> 
> 
> Diffs
> -
> 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 
> 15418d4 
> 
> Diff: https://reviews.apache.org/r/16602/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: Review Request 16602: CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures as part of Delete Ac

2014-01-03 Thread Koushik Das

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16602/#review31120
---

Ship it!


Ship It!

- Koushik Das


On Jan. 3, 2014, 10:06 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16602/
> ---
> 
> (Updated Jan. 3, 2014, 10:06 a.m.)
> 
> 
> Review request for cloudstack and Koushik Das.
> 
> 
> Bugs: CLOUDSTACK-5730
> https://issues.apache.org/jira/browse/CLOUDSTACK-5730
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to 
> ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures 
> as part of Delete Account Job
> 
> 
> Diffs
> -
> 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 
> 15418d4 
> 
> Diff: https://reviews.apache.org/r/16602/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: Review Request 16603: CLOUDSTACK-5750 Make default value of execute.in.sequence.hypervisor.commands false.

2014-01-03 Thread bharat kumar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16603/
---

(Updated Jan. 3, 2014, 10:17 a.m.)


Review request for cloudstack, Kishan Kavala and Koushik Das.


Changes
---

Added kishan 


Bugs: CLOUDSTACK-5750
https://issues.apache.org/jira/browse/CLOUDSTACK-5750


Repository: cloudstack-git


Description
---

CLOUDSTACK-5750 Make default value of execute.in.sequence.hypervisor.commands 
false.


Diffs
-

  engine/api/src/com/cloud/vm/VirtualMachineManager.java d182126 

Diff: https://reviews.apache.org/r/16603/diff/


Testing
---

Tested on 4.3


Thanks,

bharat kumar



Distributing Remote Agents

2014-01-03 Thread Donal Lafferty
In the same way that the KVM agent is packaged for distribution, an installer 
is required for the Hyper-V agent.

The open-source candidate for creating this installer is WiX 
(http://en.wikipedia.org/wiki/WiX)

While open-source, it's not clear that WiX works or runs in an environment 
other than Windows.

Does this mean that the installer should be in a separate repo?


From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: 02 January 2014 16:43
To: Paul Angus; dev@cloudstack.apache.org; Anshul Gangwar
Subject: RE: Hyper-V agent

I agree that we need a distro for the agent.

Based on what KVM does, what is the pattern for distributing non-Java agents?

DL


From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 02 January 2014 15:12
To: Donal Lafferty; 
dev@cloudstack.apache.org; Anshul Gangwar
Subject: Hyper-V agent

Happy New Year Everyone,

Is there somewhere I can download the hyper-v cloudagent (AgentShell.exe) 
rather than needing to build a windows development environment to build it.  + 
what's the longer term plan? I can't see Microsoft house sysadmins being 
willing to build their own agents in order to use CloudStack...



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 | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training
08/09 January 2014, London
13-17 January 2014, GLOBAL. Instructor led, 
On-line
20-24 January 2014, GLOBAL. Instructor led, 
On-line

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.


Review Request 16603: CLOUDSTACK-5750 Make default value of execute.in.sequence.hypervisor.commands false.

2014-01-03 Thread bharat kumar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16603/
---

Review request for cloudstack and Koushik Das.


Bugs: CLOUDSTACK-5750
https://issues.apache.org/jira/browse/CLOUDSTACK-5750


Repository: cloudstack-git


Description
---

CLOUDSTACK-5750 Make default value of execute.in.sequence.hypervisor.commands 
false.


Diffs
-

  engine/api/src/com/cloud/vm/VirtualMachineManager.java d182126 

Diff: https://reviews.apache.org/r/16603/diff/


Testing
---

Tested on 4.3


Thanks,

bharat kumar



Review Request 16602: CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures as part of Delete Accoun

2014-01-03 Thread Harikrishna Patnala

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16602/
---

Review request for cloudstack and Koushik Das.


Bugs: CLOUDSTACK-5730
https://issues.apache.org/jira/browse/CLOUDSTACK-5730


Repository: cloudstack-git


Description
---

CLOUDSTACK-5730: [Automation]DirectAgentAttache's send command fails due to 
ArrayIndexOutOfBoundsException; Unable to cleanup hypervisor's datastructures 
as part of Delete Account Job


Diffs
-

  engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 15418d4 

Diff: https://reviews.apache.org/r/16602/diff/


Testing
---


Thanks,

Harikrishna Patnala



Re: How Getting states in StateMachine2 and StateMachine

2014-01-03 Thread Daan Hoogland
Yitao, Your mail does not contain a question or a proposal. It didn't
get answered so I suggest you find author of the lines that are
confusing to you using git blame and pose a more direct question.
Preferably on this list so others can learn from it as well.

regards,

Daan

On Tue, Dec 24, 2013 at 4:09 AM, Yitao Jiang  wrote:
> Hi, guys
>
> Is there any references about StateMachine, since now i am working on
> digging the mechanisms of event and alert. I found the code of
> statemachine(utils\src\com\cloud\utils\fsm\StateMachine2.java) it's really
> confused me.
>
> Thanks,
>
> Yitao


RE: [Doc] [4.3] Dynamic Compute Offering for Review

2014-01-03 Thread Radhika Puthiyetath
Thanks Prashanth. I have posted the latest PDF with the fix.

-Original Message-
From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com] 
Sent: Thursday, December 26, 2013 11:19 AM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: RE: [Doc] [4.3] Dynamic Compute Offering for Review

Hi, 

Custom compute offerings can be used in following cases:
1-deploy  vm
2-change CO of  stop vm
3-change CO of  running vms(scaling up)
 

->In doc it is more specific to create vm

Custom: If checked, the end-user must fill in the desired values for number of 
CPU cores, CPU MHz, and Memory when creating a VM based on this offering. When 
you check this box, those three input fields are hidden in the dialog box.

Comments:
->we should say end user must provide value for #cpu,cpuspeed and ram whenever 
he/she is going to use custom compute offering.



Thanks
prashant
-Original Message-
From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com] 
Sent: Sunday, December 22, 2013 3:57 PM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: [Doc] [4.3] Dynamic Compute Offering for Review

Hi,

4.3 Documentation is getting ready to be reviewed. Please review section 
Creating Compute Offering, which inludes the changes for the Dynamic Compute 
offering .

The documentation is uploaded at 
https://issues.apache.org/jira/browse/CLOUDSTACK-5604

Regards
-Radhika


Re: KVM - LibvirtDomainXMLParser did not support

2014-01-03 Thread Daan Hoogland
On Tue, Dec 24, 2013 at 10:59 AM, Howie  wrote:
> Should I open a JIRA ticket ? and patch it ?


Hi Howie,

Guess the answer is yes and yes. You should upload your patch to
revi...@apache.org and make sure to assign group cloudstack and
preferably find a good reviewer (using git blame or
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Current+Maintainers+Per+Component)

regards,
Daan


[Responsiveness report] 2013w52 users

2014-01-03 Thread Daan Hoogland
http://markmail.org/message/t54jy5t53fx4mbjg Cannot create VM with 2
network nics by goolor
http://markmail.org/message/eu5al2wzuudjuyen Instance goes unreachable
after a reboot by iliyas shirol


for an explanation of this report see
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Responsiveness+report


Re: Problems creating a Basic Zone

2014-01-03 Thread Daan Hoogland
There was some problem with it that I fixed, please check if this works for you,
Daan

On Thu, Jan 2, 2014 at 7:51 PM, Rayees Namathponnan
 wrote:
> Is it because of below check-in ?
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=9ec137e75b39a7a462a1160ab3186e4afd156500
>
> Daan - can you please have look on this ?
>
> Regards,
> Rayees
>
> -Original Message-
> From: Rayees Namathponnan
> Sent: Thursday, January 02, 2014 10:35 AM
> To: dev@cloudstack.apache.org
> Subject: RE: Problems creating a Basic Zone
>
> Yes, I have seen this issue in automation setup; below defect created
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-5722
>
> Regards,
> Rayees
>
> -Original Message-
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Thursday, January 02, 2014 10:22 AM
> To: dev@cloudstack.apache.org
> Subject: Problems creating a Basic Zone
>
> Hi,
>
> Has anyone else tried to create a Basic Zone recently?
>
> This is not working for me for at least two reasons:
>
> 1) A NullPointerException in NetUtils.java.
>
> 2) Once I hack NetUtils.java so it no longer throws a NPE, the Basic Zone is 
> created, but no system VMs start. I see message like, "console proxy is not 
> in the correct state to be started."
>
> Any thoughts on this? This is with a XenServer host.
>
> Thanks
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*


Re: Review Request 16385: Fix for CloudStack JIRA 4406

2014-01-03 Thread Daan Hoogland
Nithin, I think your last points are valid but should not stop Mandar's
change. Except for making the booleans static I think further improvements
are for the next version and we should apply Mandar's version.


On Thu, Jan 2, 2014 at 12:39 PM, Mandar Barve wrote:

>This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16385/
>
> On December 23rd, 2013, 5:58 p.m. UTC, *Nitin Mehta* wrote:
>
>
> api/src/org/apache/cloudstack/api/BaseListTemplateOrIsoPermissionsCmd.java
>  (Diff
> revision 1)
>
> public Long getId() {
>
>53
>
> public void cmdHandlesCriticalData() {
>
>   You shouldn't have to override for every cmd. By default its false and the 
> cmds having sensitive information can have methods returning true. Also they 
> do not need to be set in execute. This is static information, doesn't change 
> per command so why this needs to be set ?
>
>  On December 24th, 2013, 6:34 a.m. UTC, *Mandar Barve* wrote:
>
> Nitin,
> You are right. This was discussed in the earlier discussion thread. You 
> should really have to modify only commands that carry sensitive information. 
> The problem with that approach as stated earlier is API developer can forget 
> to declare command/response sensitivity by implementing a method that sets 
> the flags, returns true etc. The wrapper abstract method was introduced 
> essentially to ensure new APIs as they get introduced will give compiler 
> error if this wrapper is not implemented enforcing the developer to declare 
> such sensitivity upfront.
> Hope that addresses your concern.
>
> Thanks,
> Mandar
>
>  On December 24th, 2013, 7:38 p.m. UTC, *Nitin Mehta* wrote:
>
> Thanks Mandar. I see your point and was thinking on the same lines as well. I 
> appreciate your thinking for future API devs. But I have the following 
> concerns
> 1. I probably think that this information should be static for the Cmd class 
> and doesnt have to be set on every execute invocation
> 2. For few commands having sensitive information we are writing boilerplate 
> code in all the api's, this is not en elegant way of enforcing every API 
> developer to look into this. I would rather want this to be dealt through an 
> annotation (if it doesnt exist lets create one in the public @interface 
> APICommand and keep the default value to true that it contains sensitive 
> information)
>
>  Nitin,
>  I see us going back to PROPOSAL discussion which is fine but IMO its 
> happening little late.
>
>  I am new to this process of development in CloudStack and would want to 
> take this opportunity to understand how this thing works. As I understood it 
> I tried to:
> - reproduce and understand the issue, come up with a solution,
> - ran a PoC making sure the proposed solution will work, will scale etc.
> - Put down a proposal providing multiple solution approaches discussing 
> pros/cons and shared with the team inviting comments.
> - Addressed all the concerns related to the proposal until I saw no more 
> concerns raised over this.
> - went through an entire exercise of manually changing each command file 
> carefully going through API doc with the proposed change.
>
>   I truly appreciate all the comments and also understand sometimes important 
> things may need to be addressed even if they are late. Is there any norm in 
> the community to close a "PROPOSAL/DISCUSS" phase? Are we supposed to get 
> "VOTE" on the proposed solution before moving to implementation? This didn't 
> look like the case for every discussion from my reading of wiki.
>
>  Now coming to your comments on the PROPOSAL. You are suggesting making 
> declarative changes (static)to API Commands e.g. to APICommand annotation or 
> a new annotation. Something like this can surely make the change look more 
> elegant in the sense the change itself will potentially be limited to one/two 
> lines per file (ensuring all annotations for all commands are changed to the 
> new one) and won't need a call from execute. The checking code will need to 
> load the annotation to check the flag status in the annotation meaning a 
> reflective code. Daan had earlier proposed using reflection with string match 
> but also had raised security concerns over using reflection. Leaving that 
> aside, to ensure every API does its job of declaring sensitivity upfront we 
> should really be able to enforce it at compile time like mentioned before. I 
> don't see a way to enforce annotation implementation by all sub classes at 
> compile time. IF such method doesn't exist then we will be leaving use of
>  this annotation to the mercy of the API developer who can forget to do so. 
> In such case your default true values can come into play but then essentially 
> losing the whole purpose where a command that is not sensitive will still 
> need to go through a cleanString call.
>
> Assuming we apply this annotation to all 

Re: [DISCUSS][PROPOSAL]root admin api to deploy default system vm

2014-01-03 Thread Daan Hoogland
Saurav, I do not object against using the systemvm. It seems
inconvenient to me, that's all. If you have your own template you can
deploy your add-on recardless of the underlying ACS. Maybe I am being
over paranoid so don't take my reaction as -1 or such.

happy new year,

On Thu, Jan 2, 2014 at 2:48 PM, Saurav Lahiri  wrote:
> Daan,
> Appreciate your feedback.
>
> To clarify, yes the plans based on an earlier suggestion by chiradeep is to
> go ahead
> and provide a logsearch service which will be available to be used
> optionally.
> The service by itself would not require any changes to the cloudstack core
> and
> could be made available through a bunch of python scripts in addition to
> the required
> packages.
>
> Post the previous discussion I believed that there was no objection against
> using the
> system vm template. But if there are concerns around this then we can keep
> it open to
> any linux template or the default centOS template.
>
> I understand that hosting templates with all the packages prebuilt into
> would not be
> an option considering that cloudstack does not host templates (other than
> the
> default and systevm). Do let me know if thats not the case and
> download.cloud.com can
> indeed host different types of templates.
>
> Thanks
> Saurav
>
>
>
>
> On Tue, Dec 31, 2013 at 3:26 PM, Daan Hoogland wrote:
>
>> Saurav,
>>
>> I do appreciate the cause you are championing but is this to be part
>> of the cloudstack core? shouldn't this functionality be an add-on that
>> can be optionally installed (using it's own template)?
>>
>> regards,
>>
>> On Mon, Dec 30, 2013 at 8:38 AM, Saurav Lahiri
>>  wrote:
>> > Hi,
>> > I am currently looking into cloudstack-3471 , wiki link beolw.
>> > (
>> >
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/API+to+extract+the+log+statements+by+jobid
>> > ).
>> >
>> > As part of it I was was planning on deploying and using default system
>> vms
>> > to host
>> > the logstash+elasticsearch indexing/searching layer. After a bit of
>> > investigation it
>> > appears that in cloudstack currently there is no way to deploy and start
>> > default
>> > system vms. Is that correct. If thats the case I am proposing a root
>> admin
>> > API to
>> >  deploy a default system vm. The idea is that this system vm can be used
>> to
>> > host
>> >  additional add on services by installing additional tools/packages as
>> > required.
>> >  For eg: for the logsearchservice , the api should first deploy and start
>> > default
>> > system vm , then additional configuration scripts will install and
>> > configure the
>> > (logstash and elasticsearch). This would be convenient for
>> admininstrators
>> > and
>> > they can start querying cloudstack logs by jobid without requiring to
>> > download
>> > additional templates or worry about other dependencies like java. . The
>> > existing
>> > mechanism of using ssh port 3922 and link local ip address for
>> > communication
>> > with the system vm would still stand.
>> >
>> > Would greatly appreciate feedback/suggestions on this proposal.
>> >
>> > Thanks
>> > Saurav
>>
>>


RE: [Doc] [4.3] Pluggable VM Snapshot for Review

2014-01-03 Thread Radhika Puthiyetath
Hi Chis,

I have uploaded the latest PDF. Please check chapter 22.

-Radhika

-Original Message-
From: SuichII, Christopher [mailto:chris.su...@netapp.com] 
Sent: Monday, December 23, 2013 6:51 PM
To: dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Subject: Re: [Doc] [4.3] Pluggable VM Snapshot for Review

Hm. I may just be missing it, but I don't see a section on implementing 
VMSnapshotStrategy...

-Chris
-- 
Chris Suich
chris.su...@netapp.com
NetApp Software Engineer
Data Center Platforms - Cloud Solutions
Citrix, Cisco & Red Hat

On Dec 22, 2013, at 5:33 AM, Radhika Puthiyetath 
 wrote:

> Hi,
> 
> 4.3 Documentation is getting ready to be reviewed. Please review sections 
> Working with Snapshots, Virtual Machine Snapshots, and Implementing 
> VMSnapshotStrategy.
> 
> The documentation is uploaded at 
> https://issues.apache.org/jira/browse/CLOUDSTACK-4945.
> 
> Regards
> -Radhika



RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2014-01-03 Thread Nux!

On 03.01.2014 07:40, Nux! wrote:

Guys, this is really confusing!
First of all I could swear I had this feature working on me
previously on a similar setup, second of all why has your colleague
Sadhu said this is working[1]?
Also Andrei Mikhailovsky claims in this same thread the feature is
working, though he is facing other issues (launching new VMs from
volume backups/snapshots).


Ok, I think I got it. For EL6 (CentOS6) users the workaround is to use 
a patched version of KVM, then all the features start working (btw "VM 
snapshots" could work as well with this!).
The confusion comes from the fact the issue is not present in Ubuntu 
latest for example since they package a newer kvm, so this differs from 
one distro to another.


With the version from RHEV everything worked great and I'll test this 
soon with GlusterFS shared mount point as well.


More here
https://issues.apache.org/jira/browse/CLOUDSTACK-5709?focusedCommentId=13861329&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13861329

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Review Request 16178: CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature

2014-01-03 Thread Santhosh Edukulla

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16178/#review31116
---

Ship it!


Ship It!

- Santhosh Edukulla


On Dec. 27, 2013, 11:49 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16178/
> ---
> 
> (Updated Dec. 27, 2013, 11:49 a.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar, Santhosh Edukulla, and 
> SrikanteswaraRao Talluri.
> 
> 
> Bugs: CLOUDSTACK-2237
> https://issues.apache.org/jira/browse/CLOUDSTACK-2237
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding Automation tests for feature "Security Group Isolation in advanced 
> zone".
> 
> @Santhosh: Please check the change in configGenerator file. Made changes to 
> take relative path.
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_advancedsg_networks.py 7f3a390 
>   tools/marvin/marvin/config/config.cfg 5849fe8 
> 
> Diff: https://reviews.apache.org/r/16178/diff/
> 
> 
> Testing
> ---
> 
> Tested locally on Advanced zone setup with security group enabled.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>