Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
If it's true that only the last iteration "counts," couldn't we just grab the last item in this list?: List> vmdkFiles = vmMo. getDiskDatastorePathChain(vdisks[i], false); On Tue, Jan 7, 2014 at 12:19 AM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Hi Kelven, > > I've been playing a

Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
Hi Kelven, I've been playing around with some code to fix this VMware-snapshot issue. Probably won't have it done until tomorrow, but I wanted to ask you about this code: for (int i = 0; i < vdisks.length; i++) { List> vmdkFiles = vmMo.getDiskDatastorePathChai

Re: [Proposal] Switch to Java 7

2014-01-06 Thread Wido den Hollander
Just to repeat what has been discussed some time ago. All the current Long Term Support distributions have Java 7 available. RHEL6, RHEL7, Ubuntu 12.04, Ubuntu 14.04 (due in April) will all have Java 7 available. I don't see a problem in switching to Java 7 with CloudStack 4.4 or 4.5 Wido O

RE: 4.3 : Developer Profile, tools module commented

2014-01-06 Thread Santhosh Edukulla
1. Not sure build it is taking much time because of tools module. tools also builds apidoc which could be intentional( may be ) to include it as part of developer profile and has its subsequent references for marvin. 2. We can bring it back for now under developer profile. Especially, we have

Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
Ignore my question about coming up with a baseName. I see now that volumeTO is not available in the first for loop. I do think the key and value we have in the map, though, is incorrect. What do you think? On Mon, Jan 6, 2014 at 10:43 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote:

Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
Hi Kelven, To give you an idea visually what I am referring to, please check out this screen capture: http://i.imgur.com/ma3FE9o.png The key is "i-2" (part of the folder for the VMDK file). The value contains the folder the VMDK file is in. Since the path column for VMware volumes in the DB doe

Re: Research areas in cloudstack

2014-01-06 Thread jitendra shelar
Thanks Sebgoa, Manas & Iganzio for your inputs. @Sebgoa: I am into both java and Sys admin. In past, I have worked on IBM Smart Cloud and Open Stack. Have taken more interest in Sys admin. Will think of proceeding with some of the use cases. Thanks, Jitendra On Mon, Jan 6, 2014 at 4:33 AM, j

Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
Thanks for the info, Kelven. I believe we have a serious bug then as null is being assigned to newPath when a VMware snapshot is being taken (this is in 4.3, by the way). I was trying to fix an issue with VMware snapshots and managed storage and happened upon this. If you have a moment, you migh

Re: VMware snapshot question

2014-01-06 Thread Kelven Yang
On 1/6/14, 5:33 PM, "Mike Tutkowski" wrote: >Actually, the more I look at this code, the more I think perhaps VMware >snapshots are broken because the newPath field should probably not be >assigned null after creating a new VMware snapshot >(I'm thinking the intend >is to replace the other pa

Re: [Proposal] Switch to Java 7

2014-01-06 Thread Chiradeep Vittal
Java 7 is preferred for Apache Hadoop but not required http://wiki.apache.org/hadoop/HadoopJavaVersions (I was looking to see if other OSS projects had migrated) -- Chiradeep > On Jan 6, 2014, at 6:16 PM, "Ryan Lei" wrote: > > There was yet another similar discussion a half-year ago: > http://m

Re: [jira] [Reopened] (CLOUDSTACK-5432) [Automation] Libvtd getting crashed and agent going to alert start

2014-01-06 Thread Marcus Sorensen
This looks different, but I'll take a peek nonetheless. On Jan 6, 2014 1:10 PM, "Rayees Namathponnan (JIRA)" wrote: > > [ > https://issues.apache.org/jira/browse/CLOUDSTACK-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Rayees Namathponnan reopened CLOUDSTACK-543

Re: [Proposal] Switch to Java 7

2014-01-06 Thread Ryan Lei
There was yet another similar discussion a half-year ago: http://markmail.org/thread/ap6v46r3mdsgdszp --- Yu-Heng (Ryan) Lei, Associate Researcher Cloud Computing Dept, Chunghwa Telecom Labs ryan...@cht.com.tw

Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
Actually, the more I look at this code, the more I think perhaps VMware snapshots are broken because the newPath field should probably not be assigned null after creating a new VMware snapshot (I'm thinking the intend is to replace the other path with a new path that refers to the delta file that w

Re: [Proposal] Switch to Java 7

2014-01-06 Thread Kelven Yang
Yes, it is for the same reason, to management resource leaking in a better way. Java 7 finally has added this long-waited language feature. I’ve been using JRE 7 with CloudStack for a while and didn’t see any alerted issues. Kelven On 1/6/14, 3:34 PM, "Chiradeep Vittal" wrote: >Yes, there was a

Re: VMware snapshot question

2014-01-06 Thread Mike Tutkowski
In short, I believe we can remove mapNewDisk and just assign null to newPath. This will keep the existing path for the volume in question (in the volumes table) in the same state as it was before we created a VMware snapshot, which I believe is the intent anyways. Thoughts on that? On Mon, Jan 6

Re: [Proposal] Switch to Java 7

2014-01-06 Thread Chiradeep Vittal
Yes, there was another discussion here: http://markmail.org/thread/uf6bxab6u4z4fmrp On 1/6/14 3:18 PM, "Kelven Yang" wrote: >Java 7 has been around for some time now. I strongly suggest CloudStack >to adopt Java 7 as early as possible, the reason I feel like to raise the >issue is from the som

[Proposal] Switch to Java 7

2014-01-06 Thread Kelven Yang
Java 7 has been around for some time now. I strongly suggest CloudStack to adopt Java 7 as early as possible, the reason I feel like to raise the issue is from the some of practicing with the new DB transaction pattern, as following example shows. The new Transaction pattern uses anonymous clas

RE: 4.3 : Developer Profile, tools module commented

2014-01-06 Thread Frank Zhang
Sorry this was by a mistake. The maven build costs too long so I comment tools out as it's rarely used by developer build. later on I found there is a profile called 'impatient' which does exactly the same thing. before bring it back, I wonder if it's right to put 'tools' in developer profile? I

VMware snapshot question

2014-01-06 Thread Mike Tutkowski
Hi, I was wondering about the following code in VmwareStorageManagerImpl. It is in the CreateVMSnapshotAnswer execute(VmwareHostService hostService, CreateVMSnapshotCommand cmd) method. The part I wonder about is in populating the mapNewDisk map. For disks like the following: i-2-9-VM/fksjfaklsj

Re: Old jars on nightly System VM templates

2014-01-06 Thread Wei ZHOU
The jars will be injected to systemvms from systemvm.iso on host. 2014/1/6 SuichII, Christopher > I updated to the latest System VM templates from > http://jenkins.buildacloud.org/job/build-systemvm-master/ and the > CloudStack jars in /usr/local/cloud/systemvm/ appear to be from Nov. 1. > Shou

IPv6 in VPC (was Re: IPv6 plan - questions)

2014-01-06 Thread Marcus Sorensen
I've discussed this a bit with various subject matter experts at our datacenters/business, and so far we're leaning toward a rollout like this: * VPC has no global IPv6 prefix (super CIDR as current private space), it's simply IPv6 enabled or not. Admins can choose to route a /60 or a /48 to a vpc

Re: HELP: storage overprovision for storage plugins

2014-01-06 Thread Marcus Sorensen
https://issues.apache.org/jira/browse/CLOUDSTACK-5806 On Mon, Jan 6, 2014 at 12:46 PM, Marcus Sorensen wrote: > Thanks, I've created an issue for it. It's unassigned, I assume > Edison, Mike, Chris S, or myself could fix it, I don't have time to > immediately look into it (I simply removed the ch

Re: HELP: storage overprovision for storage plugins

2014-01-06 Thread Marcus Sorensen
Thanks, I've created an issue for it. It's unassigned, I assume Edison, Mike, Chris S, or myself could fix it, I don't have time to immediately look into it (I simply removed the check for type to get around our immediate issue) but will try to circle back around on it if nobody can help. On Mon,

RE: HELP: storage overprovision for storage plugins

2014-01-06 Thread Edison Su
We can move it to storage driver's capabilities method. Each storage driver can report its capabilities in DataStoreDriver-> getCapabilities(), which returns a map[String, String], we can change the signature to map[String, Object] In CloudStackPrimaryDataStoreDriverImpl(the default storage drive

Old jars on nightly System VM templates

2014-01-06 Thread SuichII, Christopher
I updated to the latest System VM templates from http://jenkins.buildacloud.org/job/build-systemvm-master/ and the CloudStack jars in /usr/local/cloud/systemvm/ appear to be from Nov. 1. Should the System VM build be pulling newer jars than that? -Chris -- Chris Suich chris.su...@netapp.com

Re: Nexenta iSCSI Storage driver

2014-01-06 Thread Victor Rodionov
Hello, This snapshot will create/delete new volumes, volumes snapshot and maybe migrate volumes. Thanks, Victor Rodionov 2014/1/6 Francois Gaudreault > Victor, > > What would you gain? I mean, isn't Nexanta using open-iscsi? > > Francois > > > On 1/2/2014, 5:25 PM, Victor Rodionov wrote: > >>

HELP: storage overprovision for storage plugins

2014-01-06 Thread Marcus Sorensen
Does anyone know how to make our storage plugin allow overprovisioning with the new storage framework? Looks like its currently hardcoded to just NFS or VMFS. I imagine we'd want to add a method to StoragePool, boolean StoragePool.getOverprovision() server/src/com/cloud/storage/StorageManagerImp

Re: Nexenta iSCSI Storage driver

2014-01-06 Thread Francois Gaudreault
Victor, What would you gain? I mean, isn't Nexanta using open-iscsi? Francois On 1/2/2014, 5:25 PM, Victor Rodionov wrote: Hello, I'm working on Nexenta iSCSI storage driver for cloudstack, what you think about this guys? Thanks, Victor Rodionov -- Francois Gaudreault Architecte de Solut

Re: Research areas in cloudstack

2014-01-06 Thread sebgoa
On Jan 6, 2014, at 5:33 AM, jitendra shelar wrote: > Hi All, > > I am pursuing with my MS at BITs, Pilani, India. > I am planning of doing my final sem project in cloudstack. > > Can somebody please suggest me some research areas in cloudstack? > > Thanks, > Jitendra I replied on users@ but

RE: Hyper-V agent

2014-01-06 Thread Donal Lafferty
What's in the .config file? (Be sure not to publish sensitive IPs and keys ;) > -Original Message- > From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com] > Sent: 06 January 2014 09:02 > To: dev@cloudstack.apache.org; Donal Lafferty; Anshul Gangwar > Subject: RE: Hyper-V agent > > Jus

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

2014-01-06 Thread sebgoa
On Jan 6, 2014, at 10:34 AM, Abhinandan Prateek wrote: > Wei, > > I think KVM support for OVS was not a supported feature in 4.2. It can > go as a supported feature in 4.3. > > DevCloud is not a blocker. For the record, I disagree with this statement. For 4.1 and 4.2 we had a release test

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

2014-01-06 Thread sebgoa
On Jan 3, 2014, at 8:55 PM, Vinod Nair wrote: > Thanks Saksham > > There is all-ready one open CLOUDSTACK-5681 > Can it be assigned to someone > Just a quick note here, as a community we don't assign bugs. Someone has to step up and assign it to him/herself > Thanks > Vinod > > > -Or

Re: [MERGE] Opendaylight plugin

2014-01-06 Thread sebgoa
On Jan 6, 2014, at 9:03 AM, Hugo Trippaers wrote: > Hey all, > > I would like to merge the branch open daylight into master. This branch > contains a plugin with an interface to an OpenDaylight controller. > > The current functionality is limited to creating layer 2 isolated networks > usin

Re: Review Request 16647: Install fails through duplicate column add

2014-01-06 Thread Ian Southam
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16647/#review31237 --- Ship it! Ship It! - Ian Southam On Jan. 6, 2014, 1:08 p.m., Ian

Re: Review Request 16647: Install fails through duplicate column add

2014-01-06 Thread daan Hoogland
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16647/#review31236 --- b1eb8665b7be7f27c52a9ee04498a3b475ef9b62 - daan Hoogland On Jan.

Re: Review Request 16647: Install fails through duplicate column add

2014-01-06 Thread daan Hoogland
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16647/#review31235 --- Ship it! Ship It! - daan Hoogland On Jan. 6, 2014, 1:08 p.m., Ia

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

2014-01-06 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16603/#review31232 --- Commit 17023c0d60e99fe78f641531b899aebf2b5e2d50 in branch refs/heads

Re: Review Request 16465: fixed the listvirtualmachines API to show cpu, memory and cpucores when using custom compute offering

2014-01-06 Thread Kishan Kavala
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16465/#review31234 --- Ship it! commit 91181a3b216357f09d69a50409ff0a505513239b - Kishan

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

2014-01-06 Thread Kishan Kavala
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16603/#review31233 --- Ship it! commit 17023c0d60e99fe78f641531b899aebf2b5e2d50 - Kishan

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

2014-01-06 Thread Abhinandan Prateek
Wei, The concerns you have raised are valid. I guess we should have more people testing things like DevCloud and XCP. In the past also I have seen that issues with DevCloud are not resolved on priority. From my end if possible I will try to push for testing these much earlier in release cycle. -

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

2014-01-06 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16603/#review31231 --- Commit 3a2cf48d92af2566271359b1b8bfa3b335cf54ce in branch refs/heads

Review Request 16647: Install fails through duplicate column add

2014-01-06 Thread Ian Southam
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16647/ --- Review request for cloudstack and Hugo Trippaers. Repository: cloudstack-git

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

2014-01-06 Thread Wei ZHOU
Abhi, Thanks! -Wei

Database Deployment is failing

2014-01-06 Thread Prashant Kumar Mishra
Hi , Deploy Db is failing , can someone help me . [root@localhost cloudstack]# mvn -P developer -pl developer -Ddeploydb Eror msg - > Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.Nat

Re: httpd server in vms

2014-01-06 Thread Nux!
On 06.01.2014 06:48, Girish Shilamkar wrote: Hello, Is it safe to assume that whenever a vm instance is created in Cloudstack with default Centos template, httpd server will running once the vm has booted ? On Xen I see that Apache http server is not installed. And therefore some of regression t

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

2014-01-06 Thread Abhinandan Prateek
Wei, I think KVM support for OVS was not a supported feature in 4.2. It can go as a supported feature in 4.3. DevCloud is not a blocker. We will go ahead with the release process as of now. -abhi On 06/01/14 2:16 pm, "Wei ZHOU" wrote: >Hi Abhi, > >I have two problems, >(1) 3a999e7 made

Jenkins build is back to normal : build-master » Apache CloudStack #346

2014-01-06 Thread jenkins
See

Jenkins build is back to normal : build-master #346

2014-01-06 Thread jenkins
See

RE: Hyper-V agent

2014-01-06 Thread Alex Hitchins
Just noticed in the error log that it's trying to start on computer '.' - while I know the . works in SQL Server etc, could it not be working here? Or have you set a custom hosts file? -- Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. Alex Hi

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

2014-01-06 Thread Devdeep Singh
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16605/#review31226 --- Ship it! Committed in ef51def9fff3610b13f50be39c7610262d4a1c04. Kin

Build failed in Jenkins: build-master » Apache CloudStack #345

2014-01-06 Thread jenkins
See -- maven31-agent.jar already up to date maven31-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date <===[JENKINS REMOTING CAPACITY]=

Build failed in Jenkins: build-master #345

2014-01-06 Thread jenkins
See Changes: [muralimmreddy] CLOUDSTACK-5787: support in-memroy eventbus -- [...truncated 71 lines...] [INFO] Apache CloudStack Plugin - Open vSwitch [INFO] Apache CloudStack Plugin - Hyperviso

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

2014-01-06 Thread Wei ZHOU
Hi Abhi, I have two problems, (1) 3a999e7 made OVS not working on 4.2, so I fixed it by commit 79f609ca19fc44aab8de8294f234537936bc3613 (2) DevCloud does not work after commit 7f9463bb54f19e7676f8c6049d1ebc02330a730f. So I am wondering if XCP works after that. -Wei 2013/12/17 Abhinandan Prate

RE: Hyper-V agent

2014-01-06 Thread Devdeep Singh
Error seems to be in starting the service. Can you check under services (services.msc) if a service is present by the name "CloudStack Hyper-V Agent"? To debug the service start issue, can you open up the 8250 port (or try disable firewall) and check if the service starts up. Regards, Devdeep

[MERGE] Opendaylight plugin

2014-01-06 Thread Hugo Trippaers
Hey all, I would like to merge the branch open daylight into master. This branch contains a plugin with an interface to an OpenDaylight controller. The current functionality is limited to creating layer 2 isolated networks using overlay networking as supported by opendaylight. We are using the