Potential bug with CS 4.1.1 to 4.2.1 db upgrade

2013-11-20 Thread Milamber
Hello, Yesterday, I've upgraded a CloudStack 4.1.1 installation to CloudStack 4.2.1, I've received this error when I started the management service the first time after upgrade (below). To fix it, I've changed this line in schema-410to420.sql CREATE TABLE `cloud`.`vm_snapshots` ( to CREATE

Re: Review Request 15572: LDAP import users changes

2013-11-20 Thread Rajani Karuturi
On Nov. 17, 2013, 4:26 p.m., Ian Duffy wrote: Rajani, This introduces mixing of tabs and spaces within the javascript files. Can you please adjust to use spaces only? Other than that it looks good. I will ship once I see the above fixed. Thanks, Ian Hi Ian, Thanks for

CloudstackDev on Arch Linux

2013-11-20 Thread Sacheendra Talluri
Hi, I am new to Cloudstack In arch linux bin/python points to python3.3, but cloudstack needs it to point to python2.7 How do I get around this. For python programs i use virtualenv, but obviously it wont work for this. Has anybody got it working on arch linux. Regards, Sacheendra

Re: Review Request 15572: LDAP import users changes

2013-11-20 Thread Ian Duffy
On Nov. 17, 2013, 4:26 p.m., Ian Duffy wrote: Rajani, This introduces mixing of tabs and spaces within the javascript files. Can you please adjust to use spaces only? Other than that it looks good. I will ship once I see the above fixed. Thanks, Ian Rajani Karuturi

Re: CloudstackDev on Arch Linux

2013-11-20 Thread Ian Duffy
Hi Sacheendra, Does placing python2.7 in your path before python3.3 help in any way? This process is described at: https://wiki.archlinux.org/index.php/python They create a symbolic link from /usr/bin/python2 to ~/bin/python and then place ~/bin into their path. On 20 November 2013 10:11,

Re: Review Request 15508: Make sure that if the file does not exist an Exception is thrown and that once it exists it is also closed after the properties are loaded.

2013-11-20 Thread Hugo Trippaers
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15508/#review29161 ---

[Review Request]ASF4.2 to4.2.1 upgarde steps using source builds

2013-11-20 Thread Manasa Veloori (3P)
Steps to upgrade ASF 4.2 to 4.2.1 using source builds: 1. Deploy ASF4.2.0 using the procedure given at https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure Use the following links to download the source wget --no-check-certificate

Re: CloudstackDev on Arch Linux

2013-11-20 Thread Sacheendra Talluri
But that breaks other programs which actually need python to point to python3. I am looking for something like virtualenv. The method mentioned in the wiki(sourcing the virtualenv directory) wont work as it is not just the terminal session that needs to point to python2. I have looked at the

Review Request 15715: CLOUDSTACK-5215: Correcting and refactoring code related to getting free vlan

2013-11-20 Thread Gaurav Aradhye
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15715/ --- Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.

POST in deployvirtual machine

2013-11-20 Thread Sebastien Goasguen
Hi, Can we use post for every case of deployVirtualMachine ? it seems we can pass userdata via get but it limits us to 2KB. To get up to 32KB we need to move to POST requests. Just wondering if we can use POST in every case... -sebastien

RE: POST in deployvirtual machine

2013-11-20 Thread Suresh Sadhu
Yes we can use POST request in deployvirtualmachine api, pass method=POST to overcome the get limit https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeployVirtualMachine+userdata+enhancements

Re: Review Request 15572: LDAP import users changes

2013-11-20 Thread Ian Duffy
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15572/#review29165 --- Ship it! Ship It! - Ian Duffy On Nov. 15, 2013, 11:50 a.m.,

RE: Potential bug with CS 4.1.1 to 4.2.1 db upgrade

2013-11-20 Thread Musayev, Ilya
This statement if fairly safe IMHO. We just catch a corner case if table does not exists. It warrants a fix. -Original Message- From: Milamber [mailto:milam...@apache.org] Sent: Wednesday, November 20, 2013 3:37 AM To: dev@cloudstack.apache.org Subject: Potential bug with CS 4.1.1

Re: POST in deployvirtual machine

2013-11-20 Thread Sebastien Goasguen
On Nov 20, 2013, at 7:54 AM, Suresh Sadhu suresh.sa...@citrix.com wrote: Yes we can use POST request in deployvirtualmachine api, pass method=POST to overcome the get limit https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeployVirtualMachine+userdata+enhancements

[MERGE] Reformat of the source code....

2013-11-20 Thread Alex Huang
Taking advantage of the CCC happening and 4.3 just being branched, I did a reformat of the entire source base. It converts all tabs to spaces and rejoin lines that were split due to the 80 column limit. I also added checkstyle to maven build. There may be things missing here and there but

Re: Request: Help designing a 'powered by' logo for CloudStack

2013-11-20 Thread Kirk Jantzer
I'm not a graphic designer, and I don't have vector software, but here is my very simple idea :-) http://i.imgur.com/WTNAIoG.png Regards, Kirk Jantzer http://about.me/kirkjantzer On Fri, Nov 15, 2013 at 3:06 PM, Robyn Bergeron rberg...@redhat.com wrote: - Original Message -

RE: [MERGE] Reformat of the source code....

2013-11-20 Thread Alex Huang
The branch is called reformat if you like to check it. --Alex -Original Message- From: Alex Huang [mailto:alex.hu...@citrix.com] Sent: Wednesday, November 20, 2013 7:15 AM To: dev@cloudstack.apache.org Subject: [MERGE] Reformat of the source code Taking advantage of the CCC

Re: Router requires upgrade. Unable to send command to router Error

2013-11-20 Thread Will Stevens
I am having the same problem. I got the latest system VMs from: http://jenkins.buildacloud.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/ Are these the wrong System VM Templates? If so, where should I get the System VM Templates to make this work

Re: Router requires upgrade. Unable to send command to router Error

2013-11-20 Thread Syed Ahmed
+1 Same error. The secondary storage VM and the Console proxy VM seem to be coming up alright. I see this error only when starting the virtual router which is preventing me from creating any instances. On Wed 20 Nov 2013 11:14:47 AM EST, Will Stevens wrote: I am having the same problem. I

Re: Entity UUID and Type missing on ActionEvent event notifications

2013-11-20 Thread David Grizzanti
Thanks for the feedback and info on the existing bug filed for this. Nitin - I was originally thinking along the lines of what Murali has recently commented (i.e. adding Entity Details in the UserContext in all the places where an Action Event is generated).  The particular case I was using

Re: Router requires upgrade. Unable to send command to router Error

2013-11-20 Thread Wei ZHOU
FYI. I upgraded from 2.2.14 to 4.2.1. The CPVM, SSVM and VRs are working after running *cloudstack-sysvmadm to recreate.* 2013/11/20 Syed Ahmed sah...@cloudops.com +1 Same error. The secondary storage VM and the Console proxy VM seem to be coming up alright. I see this error only when

Re: A question on vm migrations when hosts are set into a maintenance mode.

2013-11-20 Thread Alex Ough
Hi Alex, It looks like you moved the 'ExecuteInSequence' to the vm level from the management server, which seems to be ok, but at this time I cannot test it because when I try to start up the management server, it fails because of database schema error, which is 'Unknown column

Re: [MERGE] Reformat of the source code....

2013-11-20 Thread Sheng Yang
FYI: coding convention at: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Coding+conventions The updated column limit is: File content must be kept within 180 columns --Sheng On Wed, Nov 20, 2013 at 7:46 AM, Alex Huang alex.hu...@citrix.com wrote: The branch is called reformat if

Re: Entity UUID and Type missing on ActionEvent event notifications

2013-11-20 Thread Nitin Mehta
David - CallContext gets created during the entry point of the API. I haven't had the chance to completely investigate but I am hoping that you can push the UUID then or on completion of the API (in case where you are creating the actual resource). See if that works else there is no other way out.

Review Request 15722: CLOUDSTACK-5022: NullPointerException when invalid zone is passed into UsageEventUtils

2013-11-20 Thread David Grizzanti
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15722/ --- Review request for cloudstack. Bugs: CLOUDSTACK-5022

Re: Review Request 15722: CLOUDSTACK-5022: NullPointerException when invalid zone is passed into UsageEventUtils (4.2.0)

2013-11-20 Thread David Grizzanti
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15722/ --- (Updated Nov. 20, 2013, 7:54 p.m.) Review request for cloudstack. Summary

Error while running master

2013-11-20 Thread Syed Ahmed
Hi All, I am facing the following error when running the latest master. I have done a clean compile and have dropped and created the db again. [WARNING] Nested in org.springframework.context.ApplicationContextException: Failed to start bean 'cloudStackLifeCycle'; nested exception is

Re: Error while running master

2013-11-20 Thread Wei ZHOU
Wido committed 1edaa36cc68e845a42339d5f267d49c82343aefb today. try after ALTER TABLE disk_offering ADD COLUMN cache_mode varchar(20) I do not know which schema file should be inserted into, schema-421to430.sql or schema-430to440.sql ? 2013/11/20 Syed Ahmed sah...@cloudops.com Hi All, I am

Re: Error while running master

2013-11-20 Thread Syed Ahmed
Is this change going in 4.3? Is so then the Alter table I guess should be in schema-421to430.sql. I don't see a schema-430to440.sql though. How deploydb read the files? Does it go through all the schema files or does it pick the latest one? Thanks, -Syed On Wed 20 Nov 2013 03:24:37 PM EST,

Re: Request: Help designing a 'powered by' logo for CloudStack

2013-11-20 Thread Ian Duffy
Seemed like fun so gave it a go too: https://people.apache.org/~duffy/attemp2.png On 20 November 2013 16:17, Kirk Jantzer kirk.jant...@gmail.com wrote: I'm not a graphic designer, and I don't have vector software, but here is my very simple idea :-) http://i.imgur.com/WTNAIoG.png Regards,

RE: [MERGE] Reformat of the source code....

2013-11-20 Thread Alex Huang
Sorry. What do you mean. Do you mean I did it wrong somehow and the files are now over 180 columns wide? --Alex -Original Message- From: Sheng Yang [mailto:sh...@yasker.org] Sent: Wednesday, November 20, 2013 9:43 AM To: dev@cloudstack.apache.org Subject: Re: [MERGE] Reformat of

RE: A question on vm migrations when hosts are set into a maintenance mode.

2013-11-20 Thread Alex Huang
Wido, Looks like you didn't update your schema file or forgot to add a schema upgrade file in master? See the error described by Alex below. @Alex You can probably remove the cachemode field in the DiskOfferingVO for now. Or revert 1edaa36 on your local repo to keep moving forward. --Alex

Re: [MERGE] Reformat of the source code....

2013-11-20 Thread Sheng Yang
Sorry for confusion, in fact it's just for community information. Because in the original thread, I don't see the new column limitation, then find it out in wiki. Thanks for reformatting Alex! --Sheng On Wed, Nov 20, 2013 at 1:39 PM, Alex Huang alex.hu...@citrix.com wrote: Sorry. What do

4.3 bvt blocker - KVM automation run

2013-11-20 Thread Rayees Namathponnan
Hi All, Executed automation run on 4.3 branch HEAD 7ed2a21c29ef351463099bed6810151fd32e8970; observed below failures 1) integration.smoke.test_iso.TestISO.test_03_delete_iso integration.smoke.test_templates.TestTemplates.test_03_delete_template Defect

Re: Router requires upgrade. Unable to send command to router Error

2013-11-20 Thread Syed Ahmed
OK here is how far I got debugging this. I think I am missing a small thing. I hope you guys can help. So my VM template has the correct version. root@eng-ns-dev-cs1: /export/secondary/template/tmpl/1/1 # strings f3fc75d9-0240-4c71-a3bf-fb65652e4763.vhd | grep Cloudstack Cloudstack Release*

Re: [MERGE] Reformat of the source code....

2013-11-20 Thread Hugo Trippaers
+1! Sent from my iPhone On 20 nov. 2013, at 16:15, Alex Huang alex.hu...@citrix.com wrote: Taking advantage of the CCC happening and 4.3 just being branched, I did a reformat of the entire source base. It converts all tabs to spaces and rejoin lines that were split due to the 80 column

Build failed in Jenkins: build-master #16

2013-11-20 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/16/changes Changes: [sudison] Add logs in case ipassoccmd failed -- [...truncated 3623 lines...] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-systemvm --- [INFO] Deleting

Build failed in Jenkins: build-master » Apache CloudStack Client UI #16

2013-11-20 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-client-ui/16/ -- [INFO] [INFO]

Re: Review Request 14549: Rename net.juniper.contrail to org.apache.cloudstack.network.contrail

2013-11-20 Thread Amogh Vasekar
On Nov. 1, 2013, 4:57 p.m., Hugo Trippaers wrote: commit 6b5fab2f5cd939f64b5c9c1ee8d87ca8b6f6514d Author: Pedro Marques ro...@juniper.net Date: Thu Oct 31 17:16:58 2013 -0700 OpenContrail network plugin Signed-off-by: Hugo Trippaers htrippa...@schubergphilis.com

Re: Review Request 13770: CLOUDSTACK-3363 UI fix list Events/Alerts screen is in processing state forever with Delete Events/Alerts request having no filter

2013-11-20 Thread Amogh Vasekar
On Sept. 27, 2013, 6:54 p.m., ASF Subversion and Git Services wrote: Commit 38b94e934c38556ed3974ab16a35d5be33f4edc4 in branch refs/heads/master from brito wang [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=38b94e9 ] CLOUDSTACK-3363 UI fix list Events/Alerts screen

RE: Unable to add NetScaler in 4.3 branch builds - Automation blocker

2013-11-20 Thread Rayees Namathponnan
Created below defect, EIP / ELB automation blocked due to this https://issues.apache.org/jira/browse/CLOUDSTACK-5224 Regards, Rayees -Original Message- From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com] Sent: Wednesday, November 20, 2013 2:29 PM To:

Review Request 15748: vmware os type error for redhat 6.x

2013-11-20 Thread Jijun
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15748/ --- Review request for cloudstack and daan Hoogland. Bugs: CLOUDSTACK-5225

Jenkins build is back to normal : build-master » Apache CloudStack Client UI #17

2013-11-20 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-client-ui/17/

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

2013-11-20 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/17/changes

[PROPOSAL] User VM HA using native XS HA capabilities

2013-11-20 Thread Koushik Das
Cloudstack relies on custom HA logic for user VMs running on Xenserver. The reason for doing it like this may be due the fact that native HA capabilities in XS was not mature enough during the initial days. Also in the custom HA logic, Cloudstack has to correctly determine the state of a VM

Re: Review Request 15715: CLOUDSTACK-5215: Correcting and refactoring code related to getting free vlan

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15715/#review29209 --- Commit 6aca7de291e01a3a4641331ad1fedd6f0e70bd96 in branch

Re: Review Request 15715: CLOUDSTACK-5215: Correcting and refactoring code related to getting free vlan

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15715/#review29211 --- Commit 631743b44a3cd5e69ff5c1ef6844950bb1074c5c in branch

Re: Review Request 15715: CLOUDSTACK-5215: Correcting and refactoring code related to getting free vlan

2013-11-20 Thread Girish Shilamkar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15715/#review29212 --- Ship it! Committed to 4.2, 4.2 and master - Girish Shilamkar On

Re: Review Request 15672: CLOUDSTACK-5204: test_routers - fixed ssh issue

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15672/#review29213 --- Commit db2ea0a16a1eac0a76318250355f4575c0681a29 in branch

Re: Review Request 15672: CLOUDSTACK-5204: test_routers - fixed ssh issue

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15672/#review29214 --- Commit fbe5293689065b76fffadc5072f85fb72ccf3e17 in branch

Re: Review Request 15672: CLOUDSTACK-5204: test_routers - fixed ssh issue

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15672/#review29215 --- Commit 70aaf6a1b40f3c816b7ffbe8e4d303f30ea82fe8 in branch

Re: Review Request 15672: CLOUDSTACK-5204: test_routers - fixed ssh issue

2013-11-20 Thread Girish Shilamkar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15672/#review29216 --- Ship it! Committed to 4.2, 4.3 and master - Girish Shilamkar On

Re: Review Request 15668: CLOUDSTACK-5201: Corrected code related to schedule of recurring snapshot policy

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15668/#review29217 --- Commit 138cee401ff6973a43302da2ba323b7e85321a19 in branch

Re: Review Request 15668: CLOUDSTACK-5201: Corrected code related to schedule of recurring snapshot policy

2013-11-20 Thread Girish Shilamkar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15668/#review29220 --- Ship it! Committed to 4.2, 4.3 and master. - Girish Shilamkar

Re: Review Request 15668: CLOUDSTACK-5201: Corrected code related to schedule of recurring snapshot policy

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15668/#review29219 --- Commit b43b4b28b6780454405062d0963dae4af80e497b in branch

Re: Review Request 15668: CLOUDSTACK-5201: Corrected code related to schedule of recurring snapshot policy

2013-11-20 Thread ASF Subversion and Git Services
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15668/#review29218 --- Commit 2f308cc988bb3c82c753d99daade5f6bfafd26e5 in branch

Re: persistence layer

2013-11-20 Thread Darren Shepherd
I've done a lot of analysis on the data access layer, but just haven't had time to put together a discuss/recommendation. In the end I'd propose we move to jOOQ. It's an excellent framework that will be very natural to the style of data access that CloudStack uses and we can slowly migrate to