[GitHub] cloudstack issue #1935: CLOUDSTACK-9764: Delete domain failure due to Accoun...

2017-04-07 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1935 @rafaelweingartner thanks for reviewing again! Minor refactor pushed --- 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

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-04-07 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r110421451 --- Diff: server/test/com/cloud/user/DomainManagerImplTest.java --- @@ -134,4 +164,69 @@ public void testFindDomainByIdOrPathValidId

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-04-07 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r110421376 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,82 +284,145 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-04-07 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1879 Thanks @sureshanaparti! I tested scenarios and work as expected! I attach some screenshots: - Test scenario 1: Enable HA after VR created, stop VR, start VR. ![vr1](https

[GitHub] cloudstack issue #1944: CLOUDSTACK-9783: Improve metrics view performance

2017-04-04 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1944 Please ommit my last comment, we were using commons-beanutils version 1.8.3 instead of 1.9.2 LGTM [root@ussarlabcsmgt41 cloudstack]# cat /tmp//MarvinLogs//DVIXST

[GitHub] cloudstack issue #1918: Management Server UI (VM statistics page) CPU Utiliz...

2017-04-04 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1918 LGTM for testing. Tested on Vmware 6.0, I attach some screenshots for test scenarios, in which vm was deployed using service offering, infinite loop was executed to increase CPU utilization

[GitHub] cloudstack issue #1935: CLOUDSTACK-9764: Delete domain failure due to Accoun...

2017-04-04 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1935 @borisstoyanov I've rebased master branch, can we re-run tests on this PR? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] cloudstack issue #1944: CLOUDSTACK-9783: Improve metrics view performance

2017-03-31 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1944 Hi @rhtyd, thanks for this great improvement! Along with @serg38 we've been testing in our env and got some failures on `listHostsMetrics` and `listVolumeMetrics

[GitHub] cloudstack issue #2021: CLOUDSTACK-9854: Fix test_primary_storage test failu...

2017-03-30 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/2021 @karuturi sure, done! I rebased master and pushed, now Travis passes! --- 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

[GitHub] cloudstack issue #2019: CLOUDSTACK-9851 travis CI build failure after merge ...

2017-03-29 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/2019 LGTM, travis failure is not related to this PR, it is fixed in #2021 --- 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

[GitHub] cloudstack issue #2021: CLOUDSTACK-9854: Fix test_primary_storage test failu...

2017-03-29 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/2021 Thanks @borisstoyanov, I made little refactor due to failure, can you please re kick tests? --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] cloudstack pull request #2021: CLOUDSTACK-9854: Fix test_primary_storage tes...

2017-03-28 Thread nvazquez
GitHub user nvazquez opened a pull request: https://github.com/apache/cloudstack/pull/2021 CLOUDSTACK-9854: Fix test_primary_storage test failure due to live migration Fix for test_primary_storage integration tests on simulator. When finding storage pool migration options

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-24 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 @karuturi Travis is now failing as it doesn't find key "nfs2" 2017-03-24 17:33:45,621 - CRITICAL - EXCEPTION: test_03_migration_options_storage_tags: ['Traceback (most r

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-24 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 @karuturi I refactored last marvin test which was failing on Travis. These are results in our env: [root@ussarlabcsmgt41 cloudstack]# cat /tmp//MarvinLogs//4GSNSY/results.txt

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-23 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 Thanks @mike-tutkowski! I pushed force to kick off Travis again --- 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

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-21 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 Thanks @serg38, we are using `mgtSvr` details provided in .cfg file, should we use these for Marvin too? --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-17 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 @karuturi I added marvin tests to simulate tests performed by @mike-tutkowski. This are results in our env: [root@ussarlabcsmgt41 cloudstack]# cat /tmp//MarvinLogs//011CTF

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-17 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r106724343 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +92,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-17 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 Hi @karuturi, I've been working on marvin tests, I hope posting them today --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-15 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r106311985 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +92,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-15 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r106303439 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +92,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-14 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r106002237 --- Diff: engine/schema/test/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImplTest.java --- @@ -0,0 +1,151 @@ +// Licensed

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-14 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105998903 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +92,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-14 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105992671 --- Diff: engine/schema/test/com/cloud/storage/dao/StoragePoolTagsDaoImplTest.java --- @@ -0,0 +1,105 @@ +// Licensed to the Apache Software

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-14 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105990460 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +90,68 @@ public void deleteTags(long poolId

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-14 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105989477 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +90,68 @@ public void deleteTags(long poolId

[GitHub] cloudstack issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-03-14 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1879 @sureshanaparti I pulled the latest code and repeated the first test scenario, got the same failure: `Message: The setting of vmConfig is invalid for cluster CLD100.`. I attach the full

[GitHub] cloudstack issue #1278: CLOUDSTACK-9198: Virtual router gets deployed in dis...

2017-03-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1278 Hi @rafaelweingartner @anshul1886 @GabrielBrascher, I've read this PR's comments several times and I think I could understand @anshul1886's point. Please correct me if I'm wrong

[GitHub] cloudstack issue #1918: Management Server UI (VM statistics page) CPU Utiliz...

2017-03-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1918 @jayakarteek @rafaelweingartner what about retrieving CPU performance metric for usage using [PerfomanceManager](https://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.wssdk.apiref.doc

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-13 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105797159 --- Diff: engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImpl.java --- @@ -409,15 +460,13 @@ public StoragePoolVO

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-13 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105796872 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +90,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-13 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105796786 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +90,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-13 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1994#discussion_r105796076 --- Diff: engine/schema/src/com/cloud/storage/dao/StoragePoolTagsDaoImpl.java --- @@ -77,4 +90,71 @@ public void deleteTags(long poolId

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 @rafaelweingartner I pushed changes and squashed my commits as it could be easier to review. I also added unit tests for new methods --- If your project is set up for it, you can reply

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 @mike-tutkowski awesome, thanks for testing this PR! @rafaelweingartner thanks for reviewing, I'll work on changes proposed @karuturi sure, I'll work on it, thanks

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-09 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 @serg38 actually is not being used anymore, I'll add removalof the view on last commit --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] cloudstack issue #1994: CLOUDSTACK-9827: Storage tags stored in multiple pla...

2017-03-09 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1994 Hi @rafaelweingartner, you're right, it was basically that fix. I've pushed another commit due to issue reported by @mike-tutkowski in mailing list: I have an NFS SR as primary

[GitHub] cloudstack pull request #1994: CLOUDSTACK-9827: Storage tags stored in multi...

2017-03-08 Thread nvazquez
GitHub user nvazquez opened a pull request: https://github.com/apache/cloudstack/pull/1994 CLOUDSTACK-9827: Storage tags stored in multiple places Issue description: https://issues.apache.org/jira/browse/CLOUDSTACK-9827 ### Fixes - Create Primary Storage: Persist tags

[GitHub] cloudstack issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-03-07 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1879 @sureshanaparti sure, we use version 6.0.0, build 3634794 --- 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

[GitHub] cloudstack issue #1879: CLOUDSTACK-9719: [VMware] VR loses DHCP settings and...

2017-03-06 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1879 Sure @serg38, after enabling HA on cluster, stopping VR and the starting VR we got this exception on ESXi 6: 2017-03-06 12:18:14,654 ERROR [cloud.vm.VmWorkJobDispatcher] (Work-Job

[GitHub] cloudstack issue #1961: Fix for test_snapshots.py using nfs2 instead of nfs ...

2017-03-06 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1961 That's great! Thanks @borisstoyanov for your help! --- 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

[GitHub] cloudstack issue #1961: Fix for test_snapshots.py using nfs2 instead of nfs ...

2017-03-02 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1961 @borisstoyanov I refactored marvin test to migrate a detached disk instead of vm's root volume as it was before. Can you please test it again in your env? --- If your project is set up

[GitHub] cloudstack issue #1961: Fix for test_snapshots.py using nfs2 instead of nfs ...

2017-03-02 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1961 @borisstoyanov actually disk is not being dettached from vm before migrating it, it is using vm's ROOT disk, it can be done on Vmware by setting `livemigrate='true'` to migrate command. I'll

[GitHub] cloudstack pull request #1961: Fix for test_snapshots.py using nfs2 instead ...

2017-03-02 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1961#discussion_r103932149 --- Diff: test/integration/smoke/test_snapshots.py --- @@ -275,7 +275,7 @@ def test_02_list_snapshots_with_removed_data_store(self

[GitHub] cloudstack issue #1961: Fix for test_snapshots.py using nfs2 instead of nfs ...

2017-03-01 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1961 Hi @karuturi @rhtyd @borisstoyanov, I've pushed a new commit for fixing `test_snapshots.py` failure. Can you please run tests against Vmware and Kvm? These were results in our env

[GitHub] cloudstack issue #1935: CLOUDSTACK-9764: Delete domain failure due to Accoun...

2017-02-28 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1935 Hi @rafaelweingartner, I've refactored the code instead of using `rollBackState` as static. I think that using static variable could lead to a problem if new methods are invoked from another

[GitHub] cloudstack issue #1961: Fix for test_snapshots.py using nfs2 instead of nfs ...

2017-02-23 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1961 @karuturi @borisstoyanov next step will be updating Marvin's folder `test_data.py` file and configure an url for key "nfs2" similar as it was done for "nfs", this way it

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-22 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102556528 --- Diff: server/test/com/cloud/user/DomainManagerImplTest.java --- @@ -134,4 +164,67 @@ public void testFindDomainByIdOrPathValidId

[GitHub] cloudstack issue #1961: Fix for test_snapshots.py using nfs2 instead of nfs ...

2017-02-22 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1961 @borisstoyanov great, thanks! --- 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

[GitHub] cloudstack pull request #1961: Fix for test_snapshots.py using nfs2 instead ...

2017-02-22 Thread nvazquez
GitHub user nvazquez opened a pull request: https://github.com/apache/cloudstack/pull/1961 Fix for test_snapshots.py using nfs2 instead of nfs template Fix for marvin test failure introduced in #1847 Cc: @borisstoyanov @rhtyd @karuturi You can merge this pull request

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-22 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102531132 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,82 +289,133 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-22 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102529801 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,82 +289,133 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-22 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102531047 --- Diff: server/test/com/cloud/user/DomainManagerImplTest.java --- @@ -134,4 +164,67 @@ public void testFindDomainByIdOrPathValidId

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-22 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102530895 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,82 +289,133 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack issue #1935: CLOUDSTACK-9764: Delete domain failure due to Accoun...

2017-02-22 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1935 @rafaelweingartner no problem, I should have mentioned about changing the variable to static. I'll work on your last comments :) --- If your project is set up for it, you can reply

[GitHub] cloudstack issue #1847: CLOUDSTACK-9691: Fixed unhandeled excetion in list s...

2017-02-22 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1847 @borisstoyanov @rhtyd I was checking BlueOrangutan logs: In `test_primary_storage_8NPG5G\runinfo.txt` lines 27-30, there's PS creation: 2017-02-20 11:03:59,678 - DEBUG

[GitHub] cloudstack issue #1935: CLOUDSTACK-9764: Delete domain failure due to Accoun...

2017-02-21 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1935 @rafaelweingartner I think I got your point, I tried to keep code as similar as it was before, by declaring `rollBackState` as static class variable on line 114. This way inner `finally` block

[GitHub] cloudstack issue #1935: CLOUDSTACK-9764: Delete domain failure due to Accoun...

2017-02-21 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1935 @rafaelweingartner thanks for reviewing! I extracted code to new methods and also added unit tests for them --- If your project is set up for it, you can reply to this email and have your

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-21 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102264841 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,79 +274,97 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-21 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102265306 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,79 +274,97 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-21 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1935#discussion_r102265150 --- Diff: server/src/com/cloud/user/DomainManagerImpl.java --- @@ -273,79 +274,97 @@ public boolean deleteDomain(long domainId, Boolean cleanup

[GitHub] cloudstack issue #1735: CLOUDSTACK-9570: Bug in listSnapshots for snapshots ...

2017-02-17 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1735 Closing this PR as #1847 includes this changes in a simpler way --- 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

[GitHub] cloudstack pull request #1735: CLOUDSTACK-9570: Bug in listSnapshots for sna...

2017-02-17 Thread nvazquez
Github user nvazquez closed the pull request at: https://github.com/apache/cloudstack/pull/1735 --- 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

[GitHub] cloudstack issue #1847: CLOUDSTACK-9691: Fixed unhandeled excetion in list s...

2017-02-16 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1847 @anshul1886 great, thanks! --- 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

[GitHub] cloudstack issue #1847: CLOUDSTACK-9691: Fixed unhandeled excetion in list s...

2017-02-16 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1847 Hi @anshul1886, I've deployed and tested your PR by replicating issue we had in our environment with Vmware and passed successfully! I think your solution is much cleaner and simpler than

[GitHub] cloudstack issue #1918: Management Server UI (VM statistics page) CPU Utiliz...

2017-02-16 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1918 @rafaelweingartner I checked 'objProps' object and it doesn't contain the property. However, I think it can be easily retrieved by adding "summary.config.cpuReservation" on array at

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-02-16 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 @karuturi sure, done! Thanks! --- 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

[GitHub] cloudstack issue #1918: Management Server UI (VM statistics page) CPU Utiliz...

2017-02-14 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1918 @rafaelweingartner please ommit my last comment, service offering didn't use reserve CPU, so it didn't limit CPU speed to 500Mhz, it used all the available frecuency of the CPU instead

[GitHub] cloudstack issue #1918: Management Server UI (VM statistics page) CPU Utiliz...

2017-02-14 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1918 @rafaelweingartner sorry for the last example, actually I think we've found a bug on change service offering, as I've been using that instance for changing its service offering when it had vm

[GitHub] cloudstack issue #1918: Management Server UI (VM statistics page) CPU Utiliz...

2017-02-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1918 Hi @jayakarteek @rafaelweingartner, I confirm issue, I tested using an instance with 1 CPU 500Mhz. I'll add screenshots for cases when CPU utilization is low and high: First

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-02-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 Great, thanks @borisstoyanov! --- 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

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-02-13 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 Thanks @borisstoyanov! Can we test it against Vmware? --- 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

[GitHub] cloudstack issue #1938: CLOUDSTACK-9780: Fixed the default JAVA_HOME value t...

2017-02-10 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1938 Thanks @swill! LGTM --- 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

[GitHub] cloudstack pull request #1913: CLOUDSTACK-9752: [Vmware] Optimization of vol...

2017-02-10 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1913#discussion_r100543231 --- Diff: plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java --- @@ -1577,11 +1577,15 @@ public Answer

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-02-09 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 @rafaelweingartner @koushik-das @karuturi Great, I've re-targeted PR to master branch. Thanks for your help! --- If your project is set up for it, you can reply to this email and have your

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-02-09 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 @rafaelweingartner excellent, I added both test cases on `VMSnapshotManagerTest`, thanks! @koushik-das thanks for pointing that out, I agree with you that db changes should be in `schema

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-02-08 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 Hi @rafaelweingartner! Thanks a lot for your review! As usual, your comments are really valuable. I agree with you on the points you've mentioned and I've refactored the PR based on them

[GitHub] cloudstack issue #1905: CLOUDSTACK-9738: [Vmware] Optimize vm expunge proces...

2017-02-08 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1905 @karuturi thanks! --- 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

[GitHub] cloudstack issue #1767: CLOUDSTACK-9457: Allow retrieval and modification of...

2017-02-08 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1767 @karuturi @rafaelweingartner thanks! I closed Jira ticket 9379 --- 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

[GitHub] cloudstack issue #1905: CLOUDSTACK-9738: [Vmware] Optimize vm expunge proces...

2017-02-06 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1905 @karuturi regarding tests done, we've compared the number of delete tasks sent to Vmware hypervisor on expunging a vm with `N` vm snapshots before and after this optimization, reducing from `N

[GitHub] cloudstack issue #1905: CLOUDSTACK-9738: [Vmware] Optimize vm expunge proces...

2017-02-06 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1905 Hi @karuturi, On Vmware, step 2 reduces tasks sent to hypervisor by sending only one task which actually deletes vm snapshots and the vm itself instead of sending one for each vm snapshot

[GitHub] cloudstack pull request #1935: CLOUDSTACK-9764: Delete domain failure due to...

2017-02-06 Thread nvazquez
GitHub user nvazquez opened a pull request: https://github.com/apache/cloudstack/pull/1935 CLOUDSTACK-9764: Delete domain failure due to Account Cleanup task It was noticed in production environments that `deleteDomain` task failed for domains with multiple accounts and resources

[GitHub] cloudstack issue #1905: CLOUDSTACK-9738: Optimize vm expunge process for ins...

2017-01-31 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1905 @karuturi sure, done! --- 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

[GitHub] cloudstack pull request #1913: CLOUDSTACK-9752: [Vmware] Optimization of vol...

2017-01-20 Thread nvazquez
GitHub user nvazquez opened a pull request: https://github.com/apache/cloudstack/pull/1913 CLOUDSTACK-9752: [Vmware] Optimization of volume attachness to vm ## Description This optimization aims to reduce volume attach slowness due to vmdk files search on datastore before

[GitHub] cloudstack issue #1905: CLOUDSTACK-9738: Optimize vm expunge process for ins...

2017-01-18 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1905 @ozhanrk nice, then this PR shouldn't affect your workflow --- 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

[GitHub] cloudstack issue #1905: CLOUDSTACK-9738: Optimize vm expunge process for ins...

2017-01-18 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1905 Hi @ozhanrk, In this PR, vm snapshots get deleted when the instance gets deleted from hypervisor, on task sent by the vm cleanup thread. Can it be possible that you were referring

[GitHub] cloudstack issue #1727: CLOUDSTACK-9539: Support changing Service offering f...

2017-01-18 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1727 @serg38 done, I reverted DB changes to `schema-490to4910.sql`, thanks! @koushik-das thanks for reviewing! I refactored PR according to your review --- If your project is set up for it, you

[GitHub] cloudstack pull request #1727: CLOUDSTACK-9539: Support changing Service off...

2017-01-16 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r96295051 --- Diff: engine/schema/src/com/cloud/vm/UserVmDetailVO.java --- @@ -80,4 +80,8 @@ public boolean isDisplay() { return display

[GitHub] cloudstack pull request #1727: CLOUDSTACK-9539: Support changing Service off...

2017-01-16 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r96294598 --- Diff: setup/db/db/schema-490to4910.sql --- @@ -71,3 +71,17 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis

[GitHub] cloudstack pull request #1727: CLOUDSTACK-9539: Support changing Service off...

2017-01-16 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r96294371 --- Diff: server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java --- @@ -707,16 +802,41 @@ private UserVm orchestrateRevertToVMSnapshot(Long

[GitHub] cloudstack pull request #1727: CLOUDSTACK-9539: Support changing Service off...

2017-01-16 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r96294242 --- Diff: server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java --- @@ -350,6 +368,24 @@ public VMSnapshot allocVMSnapshot(Long vmId, String

[GitHub] cloudstack pull request #1727: CLOUDSTACK-9539: Support changing Service off...

2017-01-16 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r96294332 --- Diff: server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java --- @@ -643,6 +679,65 @@ else if (jobResult instanceof Throwable

[GitHub] cloudstack pull request #1727: CLOUDSTACK-9539: Support changing Service off...

2017-01-16 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r96294219 --- Diff: server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java --- @@ -338,10 +354,12 @@ public VMSnapshot allocVMSnapshot(Long vmId, String

[GitHub] cloudstack pull request #1905: CLOUDSTACK-9738: Optimize vm expunge process ...

2017-01-13 Thread nvazquez
GitHub user nvazquez opened a pull request: https://github.com/apache/cloudstack/pull/1905 CLOUDSTACK-9738: Optimize vm expunge process for instances with vm snapshots ## Description It was noticed that expunging instances with many vm snapshots took a look of time

[GitHub] cloudstack issue #1735: CLOUDSTACK-9570: Bug in listSnapshots for snapshots ...

2017-01-11 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1735 @mike-tutkowski @anshul1886 thanks for your comments! I'll work on them! --- 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

[GitHub] cloudstack issue #1747: CLOUDSTACK-9574: Redesign storage views

2017-01-10 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1747 @rhtyd Done, thanks! --- 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

[GitHub] cloudstack pull request #1735: CLOUDSTACK-9570: Bug in listSnapshots for sna...

2017-01-03 Thread nvazquez
Github user nvazquez commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1735#discussion_r94412144 --- Diff: api/src/org/apache/cloudstack/api/command/user/snapshot/ListSnapshotsCmd.java --- @@ -115,8 +115,10 @@ public void execute

[GitHub] cloudstack issue #1847: CLOUDSTACK-9691: Fixed unhandeled excetion in list s...

2017-01-03 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1847 Hi @anshul1886, We addressed the same issue along with @serg38 in PR #1735. We proposed a way to fix the problem on it. --- If your project is set up for it, you can reply to this email

[GitHub] cloudstack issue #1767: CLOUDSTACK-9457: Allow retrieval and modification of...

2016-12-27 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1767 Hi @rhtyd @koushik-das @ustcweizhou, I refactored this PR removing previously created API commands, only adding an optional parameter (`cleanupdetails`) on `updateVirtualMachine

[GitHub] cloudstack issue #1858: README: Happy Christmas, happy holidays!

2016-12-22 Thread nvazquez
Github user nvazquez commented on the issue: https://github.com/apache/cloudstack/pull/1858 +1 happy holidays! --- 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

  1   2   3   4   >