Re: Review Request 27379: CLOUDSTACK-7118: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27379/ --- (Updated Nov. 5, 2014, 2:06 p.m.) Review request for cloudstack and SrikanteswaraRao Talluri. Bugs: CLOUDSTACK-7818 https://issues.apache.org/jira/browse/CLOUDSTACK-7818 Repository: cloudstack-git Description --- Changes: 1. Removing dependency of test cases on each other, creating new account for each test case. 2. Fix pep8 issues 3. Fixing imports Diffs - test/integration/component/test_escalations_instances.py 1aaa688 Diff: https://reviews.apache.org/r/27379/diff/ Testing --- Yes. Tested with KVM advanced setup. Only one test case failed because it was run on wrong configuration. Log: @Desc: Test Attach ISO to VM and Detach ISO from VM. ... SKIP: This feature is not supported on existing hypervisor. Hence, skipping the test @Desc: Test VM Snapshots pagination. ... SKIP: This feature is not supported on existing hypervisor. Hence, skipping the test @Desc: Test Revert VM to Snapshot functionality. ... SKIP: This feature is not supported on existing hypervisor. Hence, skipping the test @Desc: Test to verify pagination of Volumes for a VM ... === TestName: test_16_list_vm_volumes_pagination | Status : SUCCESS === ok @Desc: Test to verify change service for Running VM ... SKIP: ScaleVM is not supported on KVM. Hence, skipping the test @Desc: Test to verify change service for Stopped VM ... === TestName: test_18_stopped_vm_change_service | Status : SUCCESS === ok @Desc: Test to verify creation and reset of SSH Key for VM ... === TestName: test_19_create_reset_vm_sshkey | Status : SUCCESS === ok @Desc: Test to verify Update VM details ... === TestName: test_20_update_vm_displayname_group | Status : SUCCESS === ok @Desc: Test to verify Restore VM ... === TestName: test_21_restore_vm | Status : SUCCESS === ok @Desc: Test to verify deploy VM with multiple networks ... === TestName: test_22_deploy_vm_multiple_networks | Status : SUCCESS === ok @Desc: Test to verify deploy VM with multiple Security Groups ... === TestName: test_23_deploy_vm_multiple_securitygroups | Status : EXCEPTION === ERROR @Desc: Test to verify deploy VM with static ip address assignment ... === TestName: test_24_deploy_vm_with_static_ip_ES1662 | Status : SUCCESS === ok @Desc: Test to verify dnsmasq dhcp conflict issue due to /ect/hosts not getting udpated ... === TestName: test_25_ip_reallocation_ES1377 | Status : SUCCESS === ok @Desc: Test List Instances pagination ... === TestName: test_01_list_instances_pagination | Status : SUCCESS === ok @Desc: Test List Running VM's ... === TestName: test_02_list_Running_vm | Status : SUCCESS === ok @Desc: Test List Stopped VM's ... === TestName: test_03_list_Stopped_vm | Status : SUCCESS === ok @Desc: Test List Destroyed VM's ... === TestName: test_04_list_Destroyed_vm | Status : SUCCESS === ok @Desc: Test List VM by Id ... === TestName: test_05_list_vm_by_id | Status : SUCCESS === ok @Desc: Test List VM's by Name ... === TestName: test_06_list_vm_by_name | Status : SUCCESS === ok @Desc: Test List VM's by Name and State ... === TestName: test_07_list_vm_by_name_state | Status : SUCCESS === ok @Desc: Test List VM by Zone. ... === TestName: test_08_list_vm_by_zone | Status : SUCCESS === ok @Desc: Test List VM by Zone. ... === TestName: test_09_list_vm_by_zone_name | Status : SUCCESS === ok @Desc: Test List VM by Zone. ... === TestName: test_10_list_vm_by_zone_name_state | Status : SUCCESS === ok @Desc: Test to verify registering and reset of SSH Key for VM ... === TestName: test_11_register_reset_vm_sshkey | Status : SUCCESS === ok @Desc: Test to verify change service for Running VM ... === TestName: test_12_running_vm_change_service | Status : SUCCESS === ok @Desc: Test to verify Nics for a VM ... === TestName: test_13_vm_nics | Status : SUCCESS === ok Thanks, Gaurav Aradhye
Re: Review Request 27416: CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27416/ --- (Updated Nov. 5, 2014, 2:14 p.m.) Review request for cloudstack and SrikanteswaraRao Talluri. Bugs: CLOUDSTACK-7823 https://issues.apache.org/jira/browse/CLOUDSTACK-7823 Repository: cloudstack-git Description --- All test cases in this test suite are using the same account. Hence it leads to failures some times. It is necessary to remove the dependency of test cases from each other. I have not fixed pep8 issues because it becomes difficult to see the actual changes then. Will add a new patch for pep8 issues. Diffs - test/integration/component/test_snapshots.py 0811eb1 Diff: https://reviews.apache.org/r/27416/diff/ Testing --- Yes. Log: Test create VM, Snapshot and Template ... === TestName: test_01_createVM_snapshotTemplate | Status : SUCCESS === ok Test snapshot events ... === TestName: test_05_snapshot_events | Status : SUCCESS === ok Test Creating snapshot from volume having spaces in name(KVM) ... === TestName: test_01_volume_from_snapshot | Status : SUCCESS === ok Test Snapshot Data Disk ... === TestName: test_02_snapshot_data_disk | Status : SUCCESS === ok Test snapshot from detached disk ... === TestName: test_03_snapshot_detachedDisk | Status : SUCCESS === ok Test Delete Snapshot ... === TestName: test_04_delete_snapshot | Status : SUCCESS === ok Create Template from snapshot ... === TestName: test_07_template_from_snapshot | Status : SUCCESS === ok -- Ran 7 tests in 2273.877s OK Thanks, Gaurav Aradhye
Re: [PROPOSAL] Move to github PR only during moratorium on commit
These problems existed for 4.4 and the same continued to 4.5. Despite discussing lot of things, we didnt act on anything and we are continuing the same to 4.6 There is no plan whatsoever to address any of those issues. ~Rajani On Wed, Nov 5, 2014 at 2:33 AM, David Nalley da...@gnsa.us wrote: On Sun, Nov 2, 2014 at 11:40 PM, Rajani Karuturi raj...@apache.org wrote: that means, we postponed the git problems to 4.6. :( It feels like as a community we are running away from making any changes to the way we interact with git. We seem to discuss it a lot but, never act on it. I don't think we are running away from them. I certainly hope not. There are competing demands (like everything) 1. We want to ship 4.5 2. We want to have new features being developed 3. We want to fix quality issues 4. We want to fix process issues Each of those is at odds with each other. They are also hard problems, and frankly most of them are as much a cultural problem as a technical problem. What I don't understand is, are we saying the way we use git is right? or are we just shying away from any change? We are saying that #2 forced us to fork 4.5 into a different branch. Master and 4.5 are now diverging, and we want to #1 to happen. 1 2 are incompatible on the same branch, but their competition is keeping 3 and 4 at bay. That doesn't mean we shouldn't change, but you can only pull in so many directions without things coming apart. --David
Re: [PROPOSAL] Move to github PR only during moratorium on commit
Travis is happy with the merge. Can I push this? ~Rajani On Wed, Nov 5, 2014 at 12:38 PM, Rajani Karuturi raj...@apache.org wrote: I did merge -s ours and somehow didnt see any issue. ( https://github.com/apache/cloudstack/pull/36) will wait for the Travis report ( https://travis-ci.org/apache/cloudstack/builds/40033174) I havent used -X before. But, from the documentation I understood it as, the merge strategy will be applied only when doing a conflict resolution. If my understanding is right, we shouldnt be using -X. ~Rajani On Mon, Nov 3, 2014 at 3:46 PM, Daan Hoogland daan.hoogl...@gmail.com wrote: Id did do -s ours:) but if we don't merge -s ... -X ours it doesn't help. mobile dev with bilingual spelling checker used (read at your own risk) Op 3 nov. 2014 05:40 schreef Rajani Karuturi raj...@apache.org: that means, we postponed the git problems to 4.6. :( It feels like as a community we are running away from making any changes to the way we interact with git. We seem to discuss it a lot but, never act on it. What I don't understand is, are we saying the way we use git is right? or are we just shying away from any change? ~Rajani PS: We could still do a blank merge(-s ours) from 4.5 to master and continue. On Sat, Nov 1, 2014 at 12:06 AM, David Nalley da...@gnsa.us wrote: On Fri, Oct 31, 2014 at 12:41 AM, Rajani Karuturi raj...@apache.org wrote: Can we atleast follow the merge part of it? ie) commit to 4.5 and then merge 4.5 to master? merging wont be easy unless everybody agrees and does merge for their commits. It won't work; master and 4.5 have both diverged, even if it's very small at this point. Daan and I both seemed to come to this conclusion last week: http://markmail.org/message/sumgmlo4avgjquym http://markmail.org/message/wazq4lz47v22mynz --David
RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory
What type of Compute Offering do you use? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:56 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Right, I got nothing there. http://img.nux.ro/n4P-Selection_047.png Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 09:39:34 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hi Nux! I am referring to cloud_usage.cloud_usage table. But I am talking to the author of this feature, and looks like it is related to another new feature in 4.4 - dynamic offering. So now when you create a ComputeOffering, you can check/uncheck 'custom': (unchecked) http://clip2net.com/s/jdjAkz (checked) http://clip2net.com/s/jdjBzi Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:09 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hello Ilia, Most of the stuff I see re cores, memory and so on is NULL for me (4.4.1 ADVSG zone). Are you referring at some particular DB table? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 08:18:02 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Does anybody have Cores, Memory stored displayed with UsageServer in 4.4? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Ilia Shakitko [mailto:i.shaki...@tech.leaseweb.com] Sent: maandag, 03 november, 2014 15:28 To: dev@cloudstack.apache.org Subject: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory I’ve checked the commit and review (https://reviews.apache.org/r/22354/). It looks like there should be additional parameters returned in the response for request with type=2 API Request: command=listUsageRecordsresponse=jsonstartdate=2014-11-03enddate=2 0 14-11-03type=2 API Response: class stdClass#1 (1) { public $listusagerecordsresponse = class stdClass#2 (2) { public $count = int(6) public $usagerecord = array(6) { [0] = class stdClass#3 (16) { public $account = string(6) ISH001 public $accountid = string(36) e2104bd7-dc87-4528-9d69-7141c79d7879 public $domainid = string(36) 8255b58c-39d1-4221-837f-3a6a8ed84a3f public $zoneid = string(36) 75cb86ef-d0e0-4459-b781-0a31002f2786 public $description = string(55) wolkvm01 allocated (ServiceOffering: 1) (Template: 201) public $usage = string(12) 0.16 Hrs public $usagetype = int(2) public $rawusage = string(8) 0.16 public $virtualmachineid = string(36) 5a2c057a-6aff-44ae-8b65-ff524c8c2007 public $name = string(8) wolkvm01 public $offeringid = string(36) 39f423ca-9c83-4061-9ad6-4f5b48fa312c public $templateid = string(36) 92b60dfd-11a3-4b47-8a93-1a65cef9619f public $usageid = string(36) 5a2c057a-6aff-44ae-8b65-ff524c8c2007 public $type = string(3) KVM public $startdate = string(27) 2014-11-03'T'15:05:00+01:00 public $enddate = string(27) 2014-11-03'T'15:15:00+01:00 } [1] = class stdClass#4 (16) { public $account = string(6) ISH001 public $accountid = string(36) e2104bd7-dc87-4528-9d69-7141c79d7879 public $domainid = string(36) 8255b58c-39d1-4221-837f-3a6a8ed84a3f public $zoneid = string(36) 75cb86ef-d0e0-4459-b781-0a31002f2786 public $description = string(55) wolkvm01 allocated (ServiceOffering: 1) (Template: 201) public $usage = string(12) 0.17 Hrs
Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory
A few are custom, but most are not. Is there anything in particular that you'd like to know? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Wednesday, 5 November, 2014 10:05:48 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory What type of Compute Offering do you use? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:56 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Right, I got nothing there. http://img.nux.ro/n4P-Selection_047.png Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 09:39:34 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hi Nux! I am referring to cloud_usage.cloud_usage table. But I am talking to the author of this feature, and looks like it is related to another new feature in 4.4 - dynamic offering. So now when you create a ComputeOffering, you can check/uncheck 'custom': (unchecked) http://clip2net.com/s/jdjAkz (checked) http://clip2net.com/s/jdjBzi Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:09 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hello Ilia, Most of the stuff I see re cores, memory and so on is NULL for me (4.4.1 ADVSG zone). Are you referring at some particular DB table? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 08:18:02 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Does anybody have Cores, Memory stored displayed with UsageServer in 4.4? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Ilia Shakitko [mailto:i.shaki...@tech.leaseweb.com] Sent: maandag, 03 november, 2014 15:28 To: dev@cloudstack.apache.org Subject: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory I’ve checked the commit and review (https://reviews.apache.org/r/22354/). It looks like there should be additional parameters returned in the response for request with type=2 API Request: command=listUsageRecordsresponse=jsonstartdate=2014-11-03enddate=2 0 14-11-03type=2 API Response: class stdClass#1 (1) { public $listusagerecordsresponse = class stdClass#2 (2) { public $count = int(6) public $usagerecord = array(6) { [0] = class stdClass#3 (16) { public $account = string(6) ISH001 public $accountid = string(36) e2104bd7-dc87-4528-9d69-7141c79d7879 public $domainid = string(36) 8255b58c-39d1-4221-837f-3a6a8ed84a3f public $zoneid = string(36) 75cb86ef-d0e0-4459-b781-0a31002f2786 public $description = string(55) wolkvm01 allocated (ServiceOffering: 1) (Template: 201) public $usage = string(12) 0.16 Hrs public $usagetype = int(2) public $rawusage = string(8) 0.16 public $virtualmachineid = string(36) 5a2c057a-6aff-44ae-8b65-ff524c8c2007 public $name = string(8) wolkvm01 public $offeringid = string(36) 39f423ca-9c83-4061-9ad6-4f5b48fa312c public $templateid = string(36) 92b60dfd-11a3-4b47-8a93-1a65cef9619f public $usageid = string(36) 5a2c057a-6aff-44ae-8b65-ff524c8c2007 public $type = string(3) KVM public $startdate = string(27) 2014-11-03'T'15:05:00+01:00 public $enddate = string(27) 2014-11-03'T'15:15:00+01:00 } [1] =
Review Request 27611: CLOUDSTACK-6282 - Added automated tests for filter feature
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27611/ --- Review request for cloudstack and Santhosh Edukulla. Bugs: CLOUDSTACK-6282 https://issues.apache.org/jira/browse/CLOUDSTACK-6282 Repository: cloudstack-git Description --- CLOUDSTACK-6282 - Added automated tests for filter feature Diffs - test/integration/component/test_escalations_ipaddresses.py 41e5b2f test/integration/component/test_escalations_isos.py 4e818a5 test/integration/component/test_escalations_networks.py fb2196c test/integration/component/test_escalations_securitygroups.py ffaf657 test/integration/component/test_escalations_snapshots.py 4b6b7f5 test/integration/component/test_escalations_templates.py 3dc24c1 test/integration/component/test_escalations_volumes.py 7290325 test/integration/component/test_escalations_vpncustomergateways.py b09930a Diff: https://reviews.apache.org/r/27611/diff/ Testing --- Tested all the files to which tests are added and atatched are the result files File Attachments IPAddressresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/3b21a80f-2917-4650-a9ca-3e213afb26fc__IPAddressresults.txt ISOresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/2cd44d83-e7e5-47be-9c80-03d9a2f4f710__ISOresults.txt Networksresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/7661c962-f561-4e83-8b37-bc6676bc6808__Networksresults.txt SecurityGroupsresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/2a2d8465-2f58-4049-ad93-f878c33d5faa__SecurityGroupsresults.txt Snapshotresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/63ba74be-bc72-4419-8b7b-1fa788275be2__Snapshotresults.txt Templatesresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/c51e1861-7137-4186-82c8-7e3c85a31905__Templatesresults.txt Volumeresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/f1a11419-aa10-48e0-8291-ceb762d4a734__Volumeresults.txt VPNCustomerGatewaysresults.txt https://reviews.apache.org/media/uploaded/files/2014/11/05/4c8d2447-016e-49c0-9db2-b255625cd33f__VPNCustomerGatewaysresults.txt Thanks, Avinash Gautam
Re: Review Request 27568: CLOUDSTACK-7837: [UI] Make the Source CIDR column wide enough to fit the CIDR value without ellipsizing
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27568/#review59942 --- Ship it! Ship It! - Rajani Karuturi On Nov. 4, 2014, 11:52 a.m., Mihaela Stoica wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27568/ --- (Updated Nov. 4, 2014, 11:52 a.m.) Review request for cloudstack, Brian Federle and Jessica Wang. Bugs: CLOUDSTACK-7837 https://issues.apache.org/jira/browse/CLOUDSTACK-7837 Repository: cloudstack-git Description --- Network - Guest networks IP Addresses Configuration Firewall (available for Advanced Networks only): The Source CIDR field is not completely visible. Fixing this by making the column wide enough to fit the CIDR value without ellipsizing. Also changed the width of text label inside the table to be 90% instead of 87px fixed width, to accomodate better longer strings. Diffs - ui/css/cloudstack3.css 3ae2ed4 Diff: https://reviews.apache.org/r/27568/diff/ Testing --- See IssueFixed.png screenshot attached to the ticket. https://issues.apache.org/jira/secure/attachment/12679203/IssueFixed.png Thanks, Mihaela Stoica
Re: [PROPOSAL] Move to github PR only during moratorium on commit
as Travis is happy and some of my tests went fine, I pushed the merge. ~Rajani On Wed, Nov 5, 2014 at 2:55 PM, Rajani Karuturi raj...@apache.org wrote: Travis is happy with the merge. Can I push this? ~Rajani On Wed, Nov 5, 2014 at 12:38 PM, Rajani Karuturi raj...@apache.org wrote: I did merge -s ours and somehow didnt see any issue. ( https://github.com/apache/cloudstack/pull/36) will wait for the Travis report ( https://travis-ci.org/apache/cloudstack/builds/40033174) I havent used -X before. But, from the documentation I understood it as, the merge strategy will be applied only when doing a conflict resolution. If my understanding is right, we shouldnt be using -X. ~Rajani On Mon, Nov 3, 2014 at 3:46 PM, Daan Hoogland daan.hoogl...@gmail.com wrote: Id did do -s ours:) but if we don't merge -s ... -X ours it doesn't help. mobile dev with bilingual spelling checker used (read at your own risk) Op 3 nov. 2014 05:40 schreef Rajani Karuturi raj...@apache.org: that means, we postponed the git problems to 4.6. :( It feels like as a community we are running away from making any changes to the way we interact with git. We seem to discuss it a lot but, never act on it. What I don't understand is, are we saying the way we use git is right? or are we just shying away from any change? ~Rajani PS: We could still do a blank merge(-s ours) from 4.5 to master and continue. On Sat, Nov 1, 2014 at 12:06 AM, David Nalley da...@gnsa.us wrote: On Fri, Oct 31, 2014 at 12:41 AM, Rajani Karuturi raj...@apache.org wrote: Can we atleast follow the merge part of it? ie) commit to 4.5 and then merge 4.5 to master? merging wont be easy unless everybody agrees and does merge for their commits. It won't work; master and 4.5 have both diverged, even if it's very small at this point. Daan and I both seemed to come to this conclusion last week: http://markmail.org/message/sumgmlo4avgjquym http://markmail.org/message/wazq4lz47v22mynz --David
Re: Review Request 27568: CLOUDSTACK-7837: [UI] Make the Source CIDR column wide enough to fit the CIDR value without ellipsizing
On Nov. 5, 2014, 10:46 a.m., Rajani Karuturi wrote: Ship It! commit 6490694231cb1184011b8504cb118ba73fe6cdc1 on 4.5 and master - Rajani --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27568/#review59942 --- On Nov. 4, 2014, 11:52 a.m., Mihaela Stoica wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27568/ --- (Updated Nov. 4, 2014, 11:52 a.m.) Review request for cloudstack, Brian Federle and Jessica Wang. Bugs: CLOUDSTACK-7837 https://issues.apache.org/jira/browse/CLOUDSTACK-7837 Repository: cloudstack-git Description --- Network - Guest networks IP Addresses Configuration Firewall (available for Advanced Networks only): The Source CIDR field is not completely visible. Fixing this by making the column wide enough to fit the CIDR value without ellipsizing. Also changed the width of text label inside the table to be 90% instead of 87px fixed width, to accomodate better longer strings. Diffs - ui/css/cloudstack3.css 3ae2ed4 Diff: https://reviews.apache.org/r/27568/diff/ Testing --- See IssueFixed.png screenshot attached to the ticket. https://issues.apache.org/jira/secure/attachment/12679203/IssueFixed.png Thanks, Mihaela Stoica
[GitHub] cloudstack pull request: Merge 4.5 to master
Github user karuturi closed the pull request at: https://github.com/apache/cloudstack/pull/36 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: [PROPOSAL] Move to github PR only during moratorium on commit
I share your frustration Rajani, I made some steps which I feel are turned back now. I am giving up and really not feeling this is worth my effort anymore. People don't take the effort to commit on a branch. gating commits is and will not solve unwillingness. It will slow us down at committing bugs and force us to make more elaborate bugs at best. merge forward is easy to implement *if we want it*. wanting is is a must have prequisite. On Wed, Nov 5, 2014 at 10:24 AM, Rajani Karuturi raj...@apache.org wrote: These problems existed for 4.4 and the same continued to 4.5. Despite discussing lot of things, we didnt act on anything and we are continuing the same to 4.6 There is no plan whatsoever to address any of those issues. ~Rajani On Wed, Nov 5, 2014 at 2:33 AM, David Nalley da...@gnsa.us wrote: On Sun, Nov 2, 2014 at 11:40 PM, Rajani Karuturi raj...@apache.org wrote: that means, we postponed the git problems to 4.6. :( It feels like as a community we are running away from making any changes to the way we interact with git. We seem to discuss it a lot but, never act on it. I don't think we are running away from them. I certainly hope not. There are competing demands (like everything) 1. We want to ship 4.5 2. We want to have new features being developed 3. We want to fix quality issues 4. We want to fix process issues Each of those is at odds with each other. They are also hard problems, and frankly most of them are as much a cultural problem as a technical problem. What I don't understand is, are we saying the way we use git is right? or are we just shying away from any change? We are saying that #2 forced us to fork 4.5 into a different branch. Master and 4.5 are now diverging, and we want to #1 to happen. 1 2 are incompatible on the same branch, but their competition is keeping 3 and 4 at bay. That doesn't mean we shouldn't change, but you can only pull in so many directions without things coming apart. --David -- Daan
Re: no upgrade path from 4.4.1 to 4.4.2-SNAPSHOT
Go ahead and create one Will. There is no active dev work now, but we will bring out a 4.4.2 On Tue, Nov 4, 2014 at 5:30 PM, Will Stevens wstev...@cloudops.com wrote: I pulled the code on the 4.4 branch and built it this morning. It builds (if you skip tests), but the server will not start because: INFO [c.c.u.DatabaseUpgradeChecker] (main:null) Grabbing lock to check for database upgrade. INFO [c.c.u.DatabaseUpgradeChecker] (main:null) DB version = 4.4.1 Code Version = 4.4.2-SNAPSHOT INFO [c.c.u.DatabaseUpgradeChecker] (main:null) Database upgrade must be performed from 4.4.1 to 4.4.2-SNAPSHOT ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) There is no upgrade path from 4.4.1 to 4.4.2-SNAPSHOT [ERROR] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@60b2082a {/client,/data/cloudstack_source/client/target/generated-webapp} org.springframework.context.ApplicationContextException: Failed to start bean 'cloudStackLifeCycle'; nested exception is com.cloud.utils.exception.CloudRuntimeException: There is no upgrade path from 4.4.1 to 4.4.2-SNAPSHOT Is someone working on this branch right now and just has not gotten around to creating the upgrade path? Or will there just not be an upgrade path for this path? Cheers, *Will STEVENS* Lead Developer *CloudOps* *| *Cloud Solutions Experts 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6 w cloudops.com *|* tw @CloudOps_ -- Daan
Build failed in Jenkins: build-4.5 #89
See http://jenkins.buildacloud.org/job/build-4.5/89/changes Changes: [rajanikaruturi] CLOUDSTACK-7837: [UI] Make the Source CIDR column wide enough to fit the CIDR value without ellipsizing -- [...truncated 1656 lines...] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server --- [INFO] Deleting http://jenkins.buildacloud.org/job/build-4.5/ws/server/target (includes = [**/*], excludes = []) [INFO] Deleting http://jenkins.buildacloud.org/job/build-4.5/ws/engine/orchestration (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-engine-orchestration --- [INFO] Deleting http://jenkins.buildacloud.org/job/build-4.5/ws/usage (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-usage --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-engine-network --- [INFO] Deleting http://jenkins.buildacloud.org/job/build-4.5/ws/server (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-server --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-usage --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-engine-network --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory http://jenkins.buildacloud.org/job/build-4.5/ws/engine/network/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-engine-network --- [INFO] Compiling 1 source file to http://jenkins.buildacloud.org/job/build-4.5/ws/engine/network/target/classes [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-engine-orchestration --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-usage --- [INFO] Executing tasks main: [copy] Copying 2 files to http://jenkins.buildacloud.org/job/build-4.5/ws/usage/target/transformed [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-usage --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-usage --- [INFO] Compiling 19 source files to http://jenkins.buildacloud.org/job/build-4.5/ws/usage/target/classes [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-engine-orchestration --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-engine-orchestration --- [INFO] Compiling 68 source files to http://jenkins.buildacloud.org/job/build-4.5/ws/engine/orchestration/target/classes [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-engine-network --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory http://jenkins.buildacloud.org/job/build-4.5/ws/engine/network/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-engine-network --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-engine-network --- [INFO] Surefire report directory: http://jenkins.buildacloud.org/job/build-4.5/ws/engine/network/target/surefire-reports --- T E S T S --- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-server --- [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-usage --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-usage --- [INFO] Compiling 4 source files to http://jenkins.buildacloud.org/job/build-4.5/ws/usage/target/test-classes [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-server --- [INFO] Executing tasks main: [copy] Copying 3 files to http://jenkins.buildacloud.org/job/build-4.5/ws/server/target/conf [copy] Copying 1 file to
FWD: Network devroom at FOSDEM
This is a forward: --- Hi everyone, We are pleased to announce the Call for Participation in the FOSDEM 2015 Networking DevRoom! Important dates: * Nov 25: Deadline for submissions * Dec 1: Speakers notified of acceptance * Dec 5: Schedule published This is the first time that networking has been included as a stand-alone DevRoom, and this year the topics will cover two distinct fields: * Software Defined Networking (SDN), covering virtual switching, open source SDN controllers, virtual routing * Network management, covering host-level networking - NetworkManager, ConnMan, systemd, wicked, kernel network services, network security, etc We are now inviting proposals for talks about Free/Libre/Open-source Software on the topics of SDN and network management. This is an exciting and growing field, and this is a unique opportunity to show novel ideas and developments to a very knowledgeable technical audience. Topics accepted include, but are not limited to: SDN: * SDN controllers - OpenDaylight, OpenContrail, OpenStack Neutron * Dataplane processing: DPDK, OpenDataplane, netdev, netfilter * Virtual switches: Open vSwitch, Snabb Switch, VDE * Open network protocols: OpenFlow, NETCONF, OpenLISP Network management: * Network management: NetworkManager, ConnMan, systemd-networkd, interoperability among these projects * Common code infrastructure: libnl, libmnl, libsystemd, ell, pyroute2 * Network services: DHCP, DNS, DNSSEC, PPP * Connection management: Wifi, tethering, connection sharing, metric and source based routing, Talks should be aimed at a technical audience, but should not assume that attendees are already familiar with your project or how it solves a general problem. Talk proposals can be very specific solutions to a problem, or can be higher level project overviews for lesser known projects. Please include the following information when submitting a proposal: Your name The title of your talk (please be descriptive, as titles will be listed with around 250 from other projects) Short abstract of one or two paragraphs Short bio (with photo) The deadline for submissions is November 25th 2014. FOSDEM will be held on the weekend of January 31st-February 1st 2015 and the Networking DevRoom will take place on Saturday, January 31st 2015. Please use the following website to submit your proposals: https://penta.fosdem.org/submission/FOSDEM15 (you do not need to create a new Pentabarf account if you already have one from past years). You can also join the devroom’s mailing list, which is the official communication channel for the DevRoom: network-devr...@lists.fosdem.org (subscription page: https://lists.fosdem.org/listinfo/network-devroom) – The Networking DevRoom 2015 Organization Team -- Dave Neary - NFV/SDN Community Strategy Open Source and Standards, Red Hat - http://secure-web.cisco.com/1q9eFP1p-tdEhlxut0HCYAgljgSp2vkzVMlk-GXds8qOZiqdVi13mx-4NLIt5Z5N1tVtDqe2zQCOZNO1FZzTTMapFyo4XibeXQtvPD8yNgR-F2jJkbnklnix--bjtFWZAoE--aN9FOnqudQxZmbAh-LGGrgdBDttneI22oMO5A2s/http%3A%2F%2Fcommunity.redhat.com Ph: +1-978-399-2182 / Cell: +1-978-799-3338 ___ network-devroom mailing list network-devr...@lists.fosdem.org https://lists.fosdem.org/listinfo/network-devroom ---
Jenkins build is back to normal : build-4.5 #90
See http://jenkins.buildacloud.org/job/build-4.5/90/changes
Re: Running Xenserver on top of KVM or another HV
I just found out that the problem is due to the kernel (CentOS 7, kernel 3.10.0-123) The problem goes away once I install kernel 3.17.2+ from ElRepo. Xenserver no longer complains about the inability to HVM. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Nux! n...@li.nux.ro To: dev dev@cloudstack.apache.org Cc: us...@cloudstack.apache.org Sent: Sunday, 2 November, 2014 20:25:31 Subject: Running Xenserver on top of KVM or another HV Hello, I tried running Xenserver on top of KVM with the VMX flag allocated to its VM, but it still complains that it can't run HVM guests. Anyone knows a trick around it or what precisely flags it needs to do HVM? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
[GitHub] cloudstack pull request: Fixed coverity issue
GitHub user karuturi opened a pull request: https://github.com/apache/cloudstack/pull/37 Fixed coverity issue CID 11461 (#1 of 1): DLS: Dead local store (FB.DLS_DEAD_LOCAL_STORE) You can merge this pull request into a Git repository by running: $ git pull https://github.com/karuturi/cloudstack coverity-issue Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/37.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #37 commit aece1045f0f34f3ca0d90d81f610b8c8bc235821 Author: Rajani Karuturi rajanikarut...@gmail.com Date: 2014-11-05T11:26:13Z Fixed coverity issue CID 11461 (#1 of 1): DLS: Dead local store (FB.DLS_DEAD_LOCAL_STORE) --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Review Request 27613: sync Job Failures always reported as success on Event Bus
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27613/ --- Review request for cloudstack, Kishan Kavala and Koushik Das. Bugs: CLOUDSTACK-7843 https://issues.apache.org/jira/browse/CLOUDSTACK-7843 Repository: cloudstack-git Description --- As complete async job event gets published before saving the job status to the database. so it is not putting correct job status into event bus while publishing. Diffs - framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java 548182a Diff: https://reviews.apache.org/r/27613/diff/ Testing --- Thanks, Damodar Reddy Talakanti
[CAPACITY STATS][4.4] - Primary storage is 0 + strange behaviour on different VM statuses
Hello, I am experiencing new features in ACS 4.4 and playing with VMs and ComputeOfferings to see what I can do. And I noticed 2 strange things. First of all. Whatever status a VM has – I can’t see Primary Storage is used: http://clip2net.com/s/jdOCBQ At second I made this experiment: 1) VM is Running: Amount of allocated resoures is X 2) Stop VM: Amount of alloc.resources is still X 3) Destroy VM: Amount of alloc.resources drops to Y 4) Recover VM (it is in stopped state now): Amount of allo.resources is still Y - WHAT?! * I am checking numbers in both places (pie charts and full capacity stats) I think something is wrong here. Isn’t it? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 E: i.shaki...@tech.leaseweb.com W: www.leaseweb.comhttp://www.leaseweb.com Luttenbergweg 8,1101 EC Amsterdam, Netherlands
RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory
Well, I am receiving those 3 values for VMs deployed with custom compute offering. Don't you have it at all? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: woensdag, 05 november, 2014 11:21 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory A few are custom, but most are not. Is there anything in particular that you'd like to know? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Wednesday, 5 November, 2014 10:05:48 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory What type of Compute Offering do you use? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:56 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Right, I got nothing there. http://img.nux.ro/n4P-Selection_047.png Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 09:39:34 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hi Nux! I am referring to cloud_usage.cloud_usage table. But I am talking to the author of this feature, and looks like it is related to another new feature in 4.4 - dynamic offering. So now when you create a ComputeOffering, you can check/uncheck 'custom': (unchecked) http://clip2net.com/s/jdjAkz (checked) http://clip2net.com/s/jdjBzi Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:09 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hello Ilia, Most of the stuff I see re cores, memory and so on is NULL for me (4.4.1 ADVSG zone). Are you referring at some particular DB table? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 08:18:02 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Does anybody have Cores, Memory stored displayed with UsageServer in 4.4? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Ilia Shakitko [mailto:i.shaki...@tech.leaseweb.com] Sent: maandag, 03 november, 2014 15:28 To: dev@cloudstack.apache.org Subject: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory I’ve checked the commit and review (https://reviews.apache.org/r/22354/). It looks like there should be additional parameters returned in the response for request with type=2 API Request: command=listUsageRecordsresponse=jsonstartdate=2014-11-03enddate= 2 0 14-11-03type=2 API Response: class stdClass#1 (1) { public $listusagerecordsresponse = class stdClass#2 (2) { public $count = int(6) public $usagerecord = array(6) { [0] = class stdClass#3 (16) { public $account = string(6) ISH001 public $accountid = string(36) e2104bd7-dc87-4528-9d69-7141c79d7879 public $domainid = string(36) 8255b58c-39d1-4221-837f-3a6a8ed84a3f public $zoneid = string(36) 75cb86ef-d0e0-4459-b781-0a31002f2786 public $description = string(55) wolkvm01 allocated (ServiceOffering: 1) (Template: 201) public $usage = string(12) 0.16 Hrs public $usagetype = int(2) public $rawusage = string(8) 0.16 public $virtualmachineid =
Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory
Nope, nothing. I'm in ADV+SG zone, perhaps this matters. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Wednesday, 5 November, 2014 12:54:23 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Well, I am receiving those 3 values for VMs deployed with custom compute offering. Don't you have it at all? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: woensdag, 05 november, 2014 11:21 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory A few are custom, but most are not. Is there anything in particular that you'd like to know? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Wednesday, 5 November, 2014 10:05:48 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory What type of Compute Offering do you use? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:56 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Right, I got nothing there. http://img.nux.ro/n4P-Selection_047.png Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 09:39:34 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hi Nux! I am referring to cloud_usage.cloud_usage table. But I am talking to the author of this feature, and looks like it is related to another new feature in 4.4 - dynamic offering. So now when you create a ComputeOffering, you can check/uncheck 'custom': (unchecked) http://clip2net.com/s/jdjAkz (checked) http://clip2net.com/s/jdjBzi Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: dinsdag, 04 november, 2014 10:09 To: dev@cloudstack.apache.org Subject: Re: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Hello Ilia, Most of the stuff I see re cores, memory and so on is NULL for me (4.4.1 ADVSG zone). Are you referring at some particular DB table? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ilia Shakitko i.shaki...@tech.leaseweb.com To: dev@cloudstack.apache.org Sent: Tuesday, 4 November, 2014 08:18:02 Subject: RE: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory Does anybody have Cores, Memory stored displayed with UsageServer in 4.4? Kind regards, Ilia Shakitko Innovation Engineer LeaseWeb Technologies B.V. T: +31 20 316 0235 M: E: i.shaki...@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands -Original Message- From: Ilia Shakitko [mailto:i.shaki...@tech.leaseweb.com] Sent: maandag, 03 november, 2014 15:28 To: dev@cloudstack.apache.org Subject: [CLOUDSTACK-6850][4.4.2][BUG] - listUsageRecords with type=2 doesn't return Cpu cores, cpu speed and memory I’ve checked the commit and review (https://reviews.apache.org/r/22354/). It looks like there should be additional parameters returned in the response for request with type=2 API Request: command=listUsageRecordsresponse=jsonstartdate=2014-11-03enddate= 2 0 14-11-03type=2 API Response: class stdClass#1 (1) { public $listusagerecordsresponse = class stdClass#2 (2) { public $count = int(6) public $usagerecord = array(6) { [0] = class stdClass#3 (16) { public $account = string(6) ISH001 public $accountid = string(36) e2104bd7-dc87-4528-9d69-7141c79d7879 public
Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #6)
+1 from my side as well Tested cloudmonkey for deploying ACS using KVM and shared NFS storage, write bash scripts etc. On 04-Nov-2014, at 8:16 pm, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: +1 All previous issues have been fixed - Well done Rohit Tested the following using scripts: Install CloudMonkey and setup Profile Deploy new complete Advanced Zone Update Global Settings Create Domains and Users Delete default Service Offerings and Add new ones Deploy new Network and VMs, setup Ingress and Egress Rules Deploy new VPC and VMs, setup ACLs and Egress rules Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] Sent: 04 November 2014 13:10 To: dev Cc: us...@cloudstack.apache.org Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #6) Hi All, I've created a 5.3.0 release of CloudMonkey, with the following artifacts up for a vote: Git Branch and Commit SH: https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3 Commit: 24faf56d5ab41cef1e9f7fc294f7cf1ab5e3a742 List of changes: https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3 Source release (checksums and signatures are available at the same location): https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/ PGP release keys (signed using 0EE3D884): https://dist.apache.org/repos/dist/release/cloudstack/KEYS Testing procedure: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure This release aims to provide better parameter and filter completion, error handling and utf8/unicode support in CloudMonkey and therefore needs testing efforts in these areas. UTF-8 encoded string parameters usage needs to be tested in API calls, shell and piped calls, for example: $ create user account=admin username=रोहित lastname=यादव firstname=रोहित email=bhais...@apache.org password=正體字/繁體字日本人français한국فارسیpassword123” $ list users | grep रोहित The vote will be open till Thursday EOD (72 hours). Please test this release and give your votes. Thanks. For sanity in tallying the vote, can PMC members please be sure to indicate (binding) with their vote? [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why) Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark. Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the
Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #6)
+1 (binding). Did a few tests against exoscale. On 5 November 2014 15:47, Rohit Yadav rohit.ya...@shapeblue.com wrote: +1 from my side as well Tested cloudmonkey for deploying ACS using KVM and shared NFS storage, write bash scripts etc. On 04-Nov-2014, at 8:16 pm, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: +1 All previous issues have been fixed - Well done Rohit Tested the following using scripts: Install CloudMonkey and setup Profile Deploy new complete Advanced Zone Update Global Settings Create Domains and Users Delete default Service Offerings and Add new ones Deploy new Network and VMs, setup Ingress and Egress Rules Deploy new VPC and VMs, setup ACLs and Egress rules Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] Sent: 04 November 2014 13:10 To: dev Cc: us...@cloudstack.apache.org Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #6) Hi All, I've created a 5.3.0 release of CloudMonkey, with the following artifacts up for a vote: Git Branch and Commit SH: https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3 Commit: 24faf56d5ab41cef1e9f7fc294f7cf1ab5e3a742 List of changes: https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3 Source release (checksums and signatures are available at the same location): https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/ PGP release keys (signed using 0EE3D884): https://dist.apache.org/repos/dist/release/cloudstack/KEYS Testing procedure: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure This release aims to provide better parameter and filter completion, error handling and utf8/unicode support in CloudMonkey and therefore needs testing efforts in these areas. UTF-8 encoded string parameters usage needs to be tested in API calls, shell and piped calls, for example: $ create user account=admin username=रोहित lastname=यादव firstname=रोहित email=bhais...@apache.org password=正體字/繁體字日本人français한국فارسیpassword123” $ list users | grep रोहित The vote will be open till Thursday EOD (72 hours). Please test this release and give your votes. Thanks. For sanity in tallying the vote, can PMC members please be sure to indicate (binding) with their vote? [ ] +1 approve [ ] +0 no opinion [ ] -1 disapprove (and reason why) Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courses http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark. Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courses http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of
Build failed in Jenkins: build-4.5 #91
See http://jenkins.buildacloud.org/job/build-4.5/91/changes Changes: [pdion891] CLOUDSTACK-7822: merge, test sslcert ca [pdion891] commented broken unit test -- [...truncated 1807 lines...] --- T E S T S --- Running com.cloud.event.EventControlsUnitTest log4j:WARN No appenders could be found for logger (com.cloud.event.EventControlsUnitTest). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.607 sec Running com.cloud.keystore.KeystoreTest org.apache.cloudstack.api.response.UserVmResponse/null/{id:3,securitygroup:[],nic:[],tags:[],affinitygroup:[]} org.apache.cloudstack.api.response.AlertResponse/null/{id:100,description:Hello} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec Running com.cloud.alert.AlertControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec Running com.cloud.capacity.CapacityManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec Running com.cloud.servlet.StaticResourceServletTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143 sec Running com.cloud.servlet.ConsoleProxyServletTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.cloud.resourcelimit.ResourceLimitManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.cloud.network.firewall.FirewallManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.54 sec Running com.cloud.network.element.VirtualRouterElementTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.478 sec Running com.cloud.network.UpdatePhysicalNetworkTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.136 sec Running com.cloud.network.CreatePrivateNetworkTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec Running com.cloud.network.NetworkModelTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec Running com.cloud.network.router.VirtualNetworkApplianceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running com.cloud.network.security.SecurityGroupManagerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.829 sec Running com.cloud.network.security.SecurityGroupQueueTest Total jobs dequeued = 10, num queued=1000 queue current size=990 Num Vms= 50 Queue size = 50 Num Vms= 2 Queue size = 2 time=971 ms Num Vms= 5000 Queue size = 5000 time=1586 ms Num Vms= 1 Queue size = 1 time=0 ms Num Vms= 100 Queue size = 100 time=820 ms Num Vms= 1 Queue size = 1 time=203 ms Total jobs dequeued = 10, num queued=1010 queue current size=1000 Total jobs dequeued = 1, num queued=1001 queue current size=1000 Total jobs dequeued = 10, num queued=1000 queue current size=990 Total jobs dequeued = 10, num queued=10 queue current size=0 Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.691 sec Running com.cloud.network.vpc.VpcManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec Running com.cloud.network.DedicateGuestVlanRangesTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec Running com.cloud.network.lb.AssignLoadBalancerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec Running com.cloud.network.dao.NetworkDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running com.cloud.vm.FirstFitPlannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.45 sec Running com.cloud.vm.DeploymentPlanningManagerImplTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 sec Running com.cloud.vm.snapshot.VMSnapshotManagerTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec Running com.cloud.vm.UserVmManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec Running com.cloud.configuration.ValidateIpRangeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.cloud.configuration.ConfigurationManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.cloud.server.ConfigurationServerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec Running com.cloud.template.TemplateManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running com.cloud.vpc.Site2SiteVpnTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.399 sec
Re: KVM VM snapshots any time soon ?
Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com --
n00b question about code cleanup fixes
Hey, all. I just downloaded and got Cloudstack building on my dev machine, and I had a question about a minor code-cleanup issue I saw. Specifically, in DatabaseUpgradeChecker, there's this: if (Version.compare(trimmedCurrentVersion, upgrades[upgrades.length - 1].getUpgradedVersion()) != 0) { s_logger.error(The end upgrade version is actually at + upgrades[upgrades.length - 1].getUpgradedVersion() + but our management server code version is at + currentVersion); throw new CloudRuntimeException(The end upgrade version is actually at + upgrades[upgrades.length - 1].getUpgradedVersion() + but our management server code version is at + currentVersion); } I thought I would clean this up to just have one copy of the string so that one doesn't need to remember to update both copies when changing/expanding the message. There are some other instances in the file as well. This isn't a bug fix, but do I still file a bug report for tracking requests? It's obviously not a feature, so it probably doesn't warrant discussion (despite the fact that I'm emailing about it). This is probably a n00b question, but it wasn't clear from the documentation about contributing.
Re: KVM VM snapshots any time soon ?
This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com --
Review Request 27641: CLOUDSTACK-7849
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27641/ --- Review request for cloudstack. Repository: cloudstack-git Description --- There should be some kind of criteria to list the projects on the drop-down menu. We changed the projectSelect.js to sort the projects alphabetically. JIRA - CLOUDSTACK-7849 https://issues.apache.org/jira/browse/CLOUDSTACK-7849 Diffs - ui/scripts/ui-custom/projectSelect.js ba4c7c7 Diff: https://reviews.apache.org/r/27641/diff/ Testing --- Thanks, Daniel Vega Simoes
Re: n00b question about code cleanup fixes
On 11/05/2014 07:28 PM, Derrick Schneider wrote: Hey, all. I just downloaded and got Cloudstack building on my dev machine, and I had a question about a minor code-cleanup issue I saw. Specifically, in DatabaseUpgradeChecker, there's this: if (Version.compare(trimmedCurrentVersion, upgrades[upgrades.length - 1].getUpgradedVersion()) != 0) { s_logger.error(The end upgrade version is actually at + upgrades[upgrades.length - 1].getUpgradedVersion() + but our management server code version is at + currentVersion); throw new CloudRuntimeException(The end upgrade version is actually at + upgrades[upgrades.length - 1].getUpgradedVersion() + but our management server code version is at + currentVersion); } I thought I would clean this up to just have one copy of the string so that one doesn't need to remember to update both copies when changing/expanding the message. There are some other instances in the file as well. This isn't a bug fix, but do I still file a bug report for tracking requests? It's obviously not a feature, so it probably doesn't warrant discussion (despite the fact that I'm emailing about it). No, you don't need to. You can simply file a patch on reviews.apache.org and it can go into cloudStack. Always great to see commits coming from the community! Wido This is probably a n00b question, but it wasn't clear from the documentation about contributing.
Re: KVM VM snapshots any time soon ?
On 11/05/2014 07:37 PM, Logan Barfield wrote: This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? KVM has the support, but there is a problem with the storage. Snapshotting a disk is simple, that's supported by QCOW2, LVM, RBD, etc. But when you want to snapshot a VirtualMachine you have to store the memory contents somewhere. That is something that hasn't been worked out. Do you create a additional 'disk' for storing the memory contents? That's the barriers I currently know for implementing it. Wido Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com --
Re: KVM VM snapshots any time soon ?
Wido, would it be possible that the memory is really stored as you suggested in a separate disk file, on the same primary storage as where the ROOTdisk exists. How did you implement this with Xen (I'm not familiar with it at all.) ? On 5 November 2014 22:01, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 07:37 PM, Logan Barfield wrote: This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? KVM has the support, but there is a problem with the storage. Snapshotting a disk is simple, that's supported by QCOW2, LVM, RBD, etc. But when you want to snapshot a VirtualMachine you have to store the memory contents somewhere. That is something that hasn't been worked out. Do you create a additional 'disk' for storing the memory contents? That's the barriers I currently know for implementing it. Wido Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com -- -- Andrija Panić -- http://admintweets.com --
Re: KVM VM snapshots any time soon ?
On 11/05/2014 10:13 PM, Andrija Panic wrote: Wido, would it be possible that the memory is really stored as you suggested in a separate disk file, on the same primary storage as where the ROOTdisk exists. Maybe, probably a possibility. I haven't looked into it that deeply. How did you implement this with Xen (I'm not familiar with it at all.) ? I did not implement it on Xen, so I don't know. Wido On 5 November 2014 22:01, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 07:37 PM, Logan Barfield wrote: This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? KVM has the support, but there is a problem with the storage. Snapshotting a disk is simple, that's supported by QCOW2, LVM, RBD, etc. But when you want to snapshot a VirtualMachine you have to store the memory contents somewhere. That is something that hasn't been worked out. Do you create a additional 'disk' for storing the memory contents? That's the barriers I currently know for implementing it. Wido Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com --
Re: KVM VM snapshots any time soon ?
I'm pretty sure that memory for a VM on ESX is stored as a file on the same datastore with related VM files (including the root VMDK file). It's not as clear to me how memory is stored for a XenServer VM. Perhaps it, too, is stored as a file on the same storage repository as the root VDI. On Wed, Nov 5, 2014 at 2:13 PM, Andrija Panic andrija.pa...@gmail.com wrote: Wido, would it be possible that the memory is really stored as you suggested in a separate disk file, on the same primary storage as where the ROOTdisk exists. How did you implement this with Xen (I'm not familiar with it at all.) ? On 5 November 2014 22:01, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 07:37 PM, Logan Barfield wrote: This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? KVM has the support, but there is a problem with the storage. Snapshotting a disk is simple, that's supported by QCOW2, LVM, RBD, etc. But when you want to snapshot a VirtualMachine you have to store the memory contents somewhere. That is something that hasn't been worked out. Do you create a additional 'disk' for storing the memory contents? That's the barriers I currently know for implementing it. Wido Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com -- -- Andrija Panić -- http://admintweets.com -- -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud http://solidfire.com/solution/overview/?video=play*™*
Re: KVM VM snapshots any time soon ?
On 11/05/2014 10:18 PM, Mike Tutkowski wrote: Hey Wido, Perhaps you know the answer to this: My main interactions with KVM have been in the form of data disks. I create a LUN on my SAN that gets passed to a VM as a data disk. In this situation, how would a snapshot of such a disk work? The disk would be snapshotted, but at the same time the memory contents of the VM would be written to a new disk/file. On XenServer and ESX, your data disk can be just a subset of the overall LUN and hypervisor snapshots create new virtual disks that are stored right next to the original ones on the same LUN. I'm un-clear how this works in KVM. It would work about the same with KVM. You can look into the virsh save command of libvirt to see what it does. Wido Thanks! Mike On Wed, Nov 5, 2014 at 2:01 PM, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 07:37 PM, Logan Barfield wrote: This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? KVM has the support, but there is a problem with the storage. Snapshotting a disk is simple, that's supported by QCOW2, LVM, RBD, etc. But when you want to snapshot a VirtualMachine you have to store the memory contents somewhere. That is something that hasn't been worked out. Do you create a additional 'disk' for storing the memory contents? That's the barriers I currently know for implementing it. Wido Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com --
Re: KVM VM snapshots any time soon ?
When you say the disk would be snapshotted, do you mean from the point of view of the SAN or from the point of view of the hypervisor? A SAN snapshot is no problem. I'm mainly curious to see how this would work for a hypervisor snapshot. Thanks! On Wed, Nov 5, 2014 at 2:24 PM, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 10:18 PM, Mike Tutkowski wrote: Hey Wido, Perhaps you know the answer to this: My main interactions with KVM have been in the form of data disks. I create a LUN on my SAN that gets passed to a VM as a data disk. In this situation, how would a snapshot of such a disk work? The disk would be snapshotted, but at the same time the memory contents of the VM would be written to a new disk/file. On XenServer and ESX, your data disk can be just a subset of the overall LUN and hypervisor snapshots create new virtual disks that are stored right next to the original ones on the same LUN. I'm un-clear how this works in KVM. It would work about the same with KVM. You can look into the virsh save command of libvirt to see what it does. Wido Thanks! Mike On Wed, Nov 5, 2014 at 2:01 PM, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 07:37 PM, Logan Barfield wrote: This is a feature we would like to see as well. Does KVM have native support for VM/Memory snapshotting? If so what are the barriers to getting this implemented? KVM has the support, but there is a problem with the storage. Snapshotting a disk is simple, that's supported by QCOW2, LVM, RBD, etc. But when you want to snapshot a VirtualMachine you have to store the memory contents somewhere. That is something that hasn't been worked out. Do you create a additional 'disk' for storing the memory contents? That's the barriers I currently know for implementing it. Wido Thank You, Logan Barfield Tranquil Hosting On Wed, Nov 5, 2014 at 1:20 PM, Andrija Panic andrija.pa...@gmail.com wrote: Anybody ? On 3 November 2014 15:23, Andrija Panic andrija.pa...@gmail.com wrote: Hi guys, do we have any plans in some near future to imlement full VM KVM snapshots. So not single volume snaphost, but a reall VM snapshots. It is already there for Xen/VMware, but not KVM. Any thoughts, ETA, or difficulties to implement this ? Any feedback greatly appriciated... Best, Andrija Panić -- Andrija Panić -- http://admintweets.com -- -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud http://solidfire.com/solution/overview/?video=play*™*
Build failed in Jenkins: build-4.5 #92
See http://jenkins.buildacloud.org/job/build-4.5/92/changes Changes: [jessicawang] CLOUDSTACK-7850: UI Instances detailView Attach ISO option ISO dropdown should list only ISOs belonging to the same zone. -- [...truncated 1807 lines...] --- T E S T S --- Running com.cloud.event.EventControlsUnitTest log4j:WARN No appenders could be found for logger (com.cloud.event.EventControlsUnitTest). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.624 sec Running com.cloud.keystore.KeystoreTest org.apache.cloudstack.api.response.UserVmResponse/null/{id:3,securitygroup:[],nic:[],tags:[],affinitygroup:[]} org.apache.cloudstack.api.response.AlertResponse/null/{id:100,description:Hello} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec Running com.cloud.alert.AlertControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec Running com.cloud.capacity.CapacityManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec Running com.cloud.servlet.StaticResourceServletTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec Running com.cloud.servlet.ConsoleProxyServletTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running com.cloud.resourcelimit.ResourceLimitManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running com.cloud.network.firewall.FirewallManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.558 sec Running com.cloud.network.element.VirtualRouterElementTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec Running com.cloud.network.UpdatePhysicalNetworkTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec Running com.cloud.network.CreatePrivateNetworkTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running com.cloud.network.NetworkModelTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec Running com.cloud.network.router.VirtualNetworkApplianceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec Running com.cloud.network.security.SecurityGroupManagerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.887 sec Running com.cloud.network.security.SecurityGroupQueueTest Total jobs dequeued = 10, num queued=1002 queue current size=992 Num Vms= 50 Queue size = 50 Num Vms= 2 Queue size = 2 time=826 ms Num Vms= 5000 Queue size = 5000 time=936 ms Num Vms= 1 Queue size = 1 time=1 ms Num Vms= 100 Queue size = 100 time=261 ms Num Vms= 1 Queue size = 1 time=207 ms Total jobs dequeued = 10, num queued=1010 queue current size=1000 Total jobs dequeued = 1, num queued=1001 queue current size=1000 Total jobs dequeued = 10, num queued=1000 queue current size=990 Total jobs dequeued = 10, num queued=10 queue current size=0 Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.333 sec Running com.cloud.network.vpc.VpcManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running com.cloud.network.DedicateGuestVlanRangesTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec Running com.cloud.network.lb.AssignLoadBalancerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec Running com.cloud.network.dao.NetworkDaoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running com.cloud.vm.FirstFitPlannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.446 sec Running com.cloud.vm.DeploymentPlanningManagerImplTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.487 sec Running com.cloud.vm.snapshot.VMSnapshotManagerTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec Running com.cloud.vm.UserVmManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec Running com.cloud.configuration.ValidateIpRangeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.cloud.configuration.ConfigurationManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec Running com.cloud.server.ConfigurationServerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec Running com.cloud.template.TemplateManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running com.cloud.vpc.Site2SiteVpnTest Tests run: 1, Failures:
Review Request 27652: Normalize error message strings to make maintenance of said strings a bit easier.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27652/ --- Review request for cloudstack. Repository: cloudstack-git Description --- Takes strings that were duplicated within DatabaseUpgradeChecker and puts them into nearby variables. Diffs - engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java cba6b83 Diff: https://reviews.apache.org/r/27652/diff/ Testing --- As this is just putting an extant value into a variable, I simply did a build to make sure everything was still good. If there's other stuff I can do, please advise. Thanks, Derrick Schneider
Re: n00b question about code cleanup fixes
Thanks! Submitted. It's nothing major. Just something I noticed while I was in that code. On Wed, Nov 5, 2014 at 12:43 PM, Wido den Hollander w...@widodh.nl wrote: On 11/05/2014 07:28 PM, Derrick Schneider wrote: Hey, all. I just downloaded and got Cloudstack building on my dev machine, and I had a question about a minor code-cleanup issue I saw. Specifically, in DatabaseUpgradeChecker, there's this: if (Version.compare(trimmedCurrentVersion, upgrades[upgrades.length - 1].getUpgradedVersion()) != 0) { s_logger.error(The end upgrade version is actually at + upgrades[upgrades.length - 1].getUpgradedVersion() + but our management server code version is at + currentVersion); throw new CloudRuntimeException(The end upgrade version is actually at + upgrades[upgrades.length - 1].getUpgradedVersion() + but our management server code version is at + currentVersion); } I thought I would clean this up to just have one copy of the string so that one doesn't need to remember to update both copies when changing/expanding the message. There are some other instances in the file as well. This isn't a bug fix, but do I still file a bug report for tracking requests? It's obviously not a feature, so it probably doesn't warrant discussion (despite the fact that I'm emailing about it). No, you don't need to. You can simply file a patch on reviews.apache.org and it can go into cloudStack. Always great to see commits coming from the community! Wido This is probably a n00b question, but it wasn't clear from the documentation about contributing.
[GitHub] cloudstack pull request: Fixed coverity issue
Github user karuturi closed the pull request at: https://github.com/apache/cloudstack/pull/37 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Build failed in Jenkins: build-4.5 #93
See http://jenkins.buildacloud.org/job/build-4.5/93/changes Changes: [rajanikaruturi] Fixed coverity issue -- [...truncated 1807 lines...] --- T E S T S --- Running org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest log4j:WARN No appenders could be found for logger (org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.361 sec Running org.apache.cloudstack.region.RegionManagerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec Running org.apache.cloudstack.service.ServiceOfferingVOTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec Running org.apache.cloudstack.affinity.AffinityApiUnitTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.367 sec Running org.apache.cloudstack.privategw.AclOnPrivateGwTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.123 sec Running org.apache.cloudstack.network.lb.CertServiceTest Tests run: 14, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.693 sec FAILURE! Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.632 sec Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.41 sec Running com.cloud.template.TemplateManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running com.cloud.keystore.KeystoreTest org.apache.cloudstack.api.response.UserVmResponse/null/{id:3,securitygroup:[],nic:[],tags:[],affinitygroup:[]} org.apache.cloudstack.api.response.AlertResponse/null/{id:100,description:Hello} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec Running com.cloud.server.ConfigurationServerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running com.cloud.event.EventControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.179 sec Running com.cloud.resourcelimit.ResourceLimitManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running com.cloud.api.dispatch.ParamGenericValidationWorkerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec Running com.cloud.api.dispatch.ParamProcessWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.cloud.api.dispatch.CommandCreationWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec Running com.cloud.api.dispatch.DispatchChainFactoryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec Running com.cloud.api.dispatch.SpecificCmdValidationWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running com.cloud.api.ApiServletTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369 sec Running com.cloud.api.ApiResponseHelperTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec Running com.cloud.alert.AlertControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Running com.cloud.ha.KVMFencerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec Running com.cloud.ha.HighAvailabilityManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec Running com.cloud.capacity.CapacityManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec Running com.cloud.vm.snapshot.VMSnapshotManagerTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.366 sec Running com.cloud.vm.FirstFitPlannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.927 sec Running com.cloud.vm.UserVmManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.353 sec Running com.cloud.vm.DeploymentPlanningManagerImplTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.342 sec Running com.cloud.servlet.ConsoleProxyServletTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.cloud.servlet.StaticResourceServletTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec Running com.cloud.network.NetworkModelTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec Running com.cloud.network.security.SecurityGroupManagerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.593
Re: Review Request 27652: Normalize error message strings to make maintenance of said strings a bit easier.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27652/#review60111 --- looking at the diff isnt giving me much information. Can you share what issues it is solving(a JIRA ticket?)? Is this related to internationalizing the strings? - Rajani Karuturi On Nov. 6, 2014, 12:46 a.m., Derrick Schneider wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27652/ --- (Updated Nov. 6, 2014, 12:46 a.m.) Review request for cloudstack. Repository: cloudstack-git Description --- Takes strings that were duplicated within DatabaseUpgradeChecker and puts them into nearby variables. Diffs - engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java cba6b83 Diff: https://reviews.apache.org/r/27652/diff/ Testing --- As this is just putting an extant value into a variable, I simply did a build to make sure everything was still good. If there's other stuff I can do, please advise. Thanks, Derrick Schneider
Re: Review Request 27641: CLOUDSTACK-7849
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27641/#review60112 --- Ship it! Can you also assign and resolve the JIRA ticket? - Rajani Karuturi On Nov. 5, 2014, 8:39 p.m., Daniel Vega Simoes wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27641/ --- (Updated Nov. 5, 2014, 8:39 p.m.) Review request for cloudstack. Repository: cloudstack-git Description --- There should be some kind of criteria to list the projects on the drop-down menu. We changed the projectSelect.js to sort the projects alphabetically. JIRA - CLOUDSTACK-7849 https://issues.apache.org/jira/browse/CLOUDSTACK-7849 Diffs - ui/scripts/ui-custom/projectSelect.js ba4c7c7 Diff: https://reviews.apache.org/r/27641/diff/ Testing --- Thanks, Daniel Vega Simoes
Re: Review Request 27641: CLOUDSTACK-7849
On Nov. 6, 2014, 4:50 a.m., Rajani Karuturi wrote: Can you also assign and resolve the JIRA ticket? Rajani Karuturi wrote: commit: e03a7e6feaae2d024f2a53afd71e0230309b1085 on 4.5 and master putting the JIRA ID in commit message will also help. - Rajani --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27641/#review60112 --- On Nov. 5, 2014, 8:39 p.m., Daniel Vega Simoes wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27641/ --- (Updated Nov. 5, 2014, 8:39 p.m.) Review request for cloudstack. Repository: cloudstack-git Description --- There should be some kind of criteria to list the projects on the drop-down menu. We changed the projectSelect.js to sort the projects alphabetically. JIRA - CLOUDSTACK-7849 https://issues.apache.org/jira/browse/CLOUDSTACK-7849 Diffs - ui/scripts/ui-custom/projectSelect.js ba4c7c7 Diff: https://reviews.apache.org/r/27641/diff/ Testing --- Thanks, Daniel Vega Simoes
Build failed in Jenkins: build-4.5 #94
See http://jenkins.buildacloud.org/job/build-4.5/94/changes Changes: [rajanikaruturi] Sorting projects alphabetically in drop down menu -- [...truncated 1807 lines...] --- T E S T S --- Running org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest log4j:WARN No appenders could be found for logger (org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.446 sec Running org.apache.cloudstack.region.RegionManagerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec Running org.apache.cloudstack.service.ServiceOfferingVOTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 sec Running org.apache.cloudstack.affinity.AffinityApiUnitTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.127 sec Running org.apache.cloudstack.privategw.AclOnPrivateGwTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.588 sec Running org.apache.cloudstack.network.lb.CertServiceTest Tests run: 14, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 3.346 sec FAILURE! Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.879 sec Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.417 sec Running com.cloud.template.TemplateManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec Running com.cloud.keystore.KeystoreTest org.apache.cloudstack.api.response.UserVmResponse/null/{id:3,securitygroup:[],nic:[],tags:[],affinitygroup:[]} org.apache.cloudstack.api.response.AlertResponse/null/{id:100,description:Hello} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.532 sec Running com.cloud.server.ConfigurationServerImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec Running com.cloud.event.EventControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.255 sec Running com.cloud.resourcelimit.ResourceLimitManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec Running com.cloud.api.dispatch.ParamGenericValidationWorkerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec Running com.cloud.api.dispatch.ParamProcessWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec Running com.cloud.api.dispatch.CommandCreationWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec Running com.cloud.api.dispatch.DispatchChainFactoryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running com.cloud.api.dispatch.SpecificCmdValidationWorkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec Running com.cloud.api.ApiServletTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.388 sec Running com.cloud.api.ApiResponseHelperTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec Running com.cloud.alert.AlertControlsUnitTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.cloud.ha.KVMFencerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec Running com.cloud.ha.HighAvailabilityManagerImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.404 sec Running com.cloud.capacity.CapacityManagerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec Running com.cloud.vm.snapshot.VMSnapshotManagerTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.883 sec Running com.cloud.vm.FirstFitPlannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.873 sec Running com.cloud.vm.UserVmManagerTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.949 sec Running com.cloud.vm.DeploymentPlanningManagerImplTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.821 sec Running com.cloud.servlet.ConsoleProxyServletTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec Running com.cloud.servlet.StaticResourceServletTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369 sec Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.909 sec Running com.cloud.network.NetworkModelTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec Running com.cloud.network.security.SecurityGroupManagerImplTest Tests run: 4, Failures: 0, Errors:
Re: [API] Create/update user issue
It worked. Thanks Rohit. On Mon, Oct 27, 2014 at 11:32 PM, Rohit Yadav rohit.ya...@shapeblue.com wrote: Hi Meghna, The timezone [2] that you provide to this python script already URL encodes the string in the param dictionary [1]. So, if you give it a timezone with a “/“ character, for example in case of “Asia/Kolkata” if you give it “Asia%2FKolkata” then the URL encoded value is “Asia%252FSeoul”. The CloudStack ApiServer URL decode parameters received in an API request [1] so the timezone string becomes “Asia%2FSeoul” on decoding, therefore it is stored with the %2F string in DB and not “/“. So, please don’t double URL encode. I tried the following for myself against 4.3.1 and it works for me; cloudmonkey update user id=my-user-uuid timezone=Asia/Kolkata [1] http://cloudstack.apache.org/docs/api/apidocs-4.3/user/updateUser.html [2] http://docs.cloudstack.apache.org/en/latest/dev.html#time-zones On 27-Oct-2014, at 10:54 pm, Meghna Kale meghna.k...@sungardas.com wrote: Thanks Rohit for the reply. Python script - I just found it on internet. request_type = 'GET' params = { 'command':'updateUser', 'id':user_id } if email: params['email'] = email if first_name: params['firstname'] = first_name if last_name: params['lastname'] = last_name if password:params['password'] = password if timezone:params['timezone'] = timezone if user_name: params['username'] = user_name params['response'] = 'json' params['apiKey'] = self.api_key # build the query string query_params = map(lambda (k,v):k+=+urllib.quote(str(v)), params.items()) query_string = .join(query_params) # build signature query_params.sort() signature_string = .join(query_params).lower() signature = urllib.quote(base64.b64encode(hmac.new(self.secret_key, signature_string, hashlib.sha1).digest())) # final query string... url = self.protocol+://+self.host+self.uri+?+query_string+signature=+signature print url output = None try: output = json.loads(urllib2.urlopen(url).read()) Thanks Meghna. On Mon, Oct 27, 2014 at 4:02 PM, Rohit Yadav rohit.ya...@shapeblue.com wrote: Hi, On 27-Oct-2014, at 2:58 pm, Meghna Kale meghna.k...@sungardas.com wrote: I'm was trying to call Cloudstack create/update user API from a python script. Can you share the python script? Perhaps it was assume some data? But when I add or update timezone it fails with 401 error code. I debugged and found that timezone has a special character '/'. I replaced it with '%2F', the API call returns success but it updates the timezone with the '%2F' string in DB. Url encode when you make API requests. The default timezone is GMT, unless you’ve passed timezone arg. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courses http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS
Review Request 27671: MS does not start after the VM it is running on is rebooted
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27671/ --- Review request for cloudstack, Kishan Kavala and Santhosh Edukulla. Bugs: CLOUDSTACK-7851 https://issues.apache.org/jira/browse/CLOUDSTACK-7851 Repository: cloudstack-git Description --- After installing management server on centos and try to reboot the machine. It will not start the management server automatically. Diffs - packaging/centos63/cloud-management.rc eaabd30 Diff: https://reviews.apache.org/r/27671/diff/ Testing --- Tested on Centos 6.x and RHEL 7 Thanks, Damodar Reddy Talakanti
Jenkins build is back to normal : build-master-simulator #980
See http://jenkins.buildacloud.org/job/build-master-simulator/980/changes