[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-21 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 @serg38 Not sure to understand what you mean with: > If I get it right with your proposed changes, upgrade scripts become obsolete since all the changes can be done in upgrade scri

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-21 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 I'll try to make my point clearer with a better use case. Let say you were running version ACS 4.4.2 and wish to upgrade to 4.7.1. After installing the 4.7.1, when ACS starts for the

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-22 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 As a reminder for `-cleanup` SQL scripts: > We rarely need cleanup scripts, only when some field/value is required during the data migration and has to be dropped later

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-22 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 @syed I would prefer to move what's inside `schema-481to490-cleanup.sql` to the end of the file `schema-481to490.sql` as it would have been the way of processing during an update from 4

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-23 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 I looked at the code inside `Upgrade481to490.java` and I cannot understand why the table alterations have been made inside the Java class instead of the SQL file. Because now we cannot move

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-23 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 Forget my last comment, the files can remains as they are. --- 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 #1944: CLOUDSTACK-9783: Improve metrics view perform...

2017-02-26 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1944#discussion_r103143033 --- Diff: plugins/metrics/pom.xml --- @@ -0,0 +1,55 @@ + +http://maven.apache.org/POM/4.0.0"; + xmlns:xsi="http://www.w

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-27 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 @rhtyd I don't see how I could write such a test case. My point is exactly what you're saying, the upgrade would be different today for anyone who comes from an older version, whi

[GitHub] cloudstack pull request #1768: CLOUDSTACK 9601: Upgrade: change logic for up...

2017-02-27 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1768#discussion_r103394277 --- Diff: engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java --- @@ -424,27 +421,9 @@ protected void upgrade(CloudStackVersion

[GitHub] cloudstack issue #1832: CLOUDSTACK-9652 Job framework - Cancelling async job...

2017-02-28 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1832 @karuturi Ok --- 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

[GitHub] cloudstack pull request #2027: Activate NioTest following changes in CLOUDST...

2017-04-05 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/2027 Activate NioTest following changes in CLOUDSTACK-9348 PR #1549 The first PR #1493 re-enabled the NioTest but not the new PR #1549. @rhtyd the test fails locally on my laptop. Is

[GitHub] cloudstack issue #2027: Activate NioTest following changes in CLOUDSTACK-934...

2017-04-05 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/2027 @rhtyd the `NioTest` result is not consistent on my laptop and fails from time to time. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] cloudstack issue #2027: Activate NioTest following changes in CLOUDSTACK-934...

2017-04-06 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/2027 @rhtyd I found one issue with the test and `NioConnection` class. This kind of intermittent problem are always hard to search for a root cause, but after lots of logging I finally found why

[GitHub] cloudstack issue #2027: Activate NioTest following changes in CLOUDSTACK-934...

2017-04-10 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/2027 @rhtyd I moved the PR against 4.9 and rebased the changes --- 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 pull request: DAO: Hit the cache for entity flagged as ...

2016-05-10 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1532#issuecomment-218370950 @swill did a force push by changing the last commit description --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-11 Thread marcaurele
Github user marcaurele closed the pull request at: https://github.com/apache/cloudstack/pull/1532 --- 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

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-11 Thread marcaurele
GitHub user marcaurele reopened a pull request: https://github.com/apache/cloudstack/pull/1532 DAO: Hit the cache for entity flagged as removed too I came along this part of the code and I don't see any reason why the cache should not be used when fetching with the "rem

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-12 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1532#issuecomment-218731447 I don't get what's the relation between my change and the jenkins build failling. Should I trigger another one? --- If your project is set up for i

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-13 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1532#issuecomment-219010730 checks are finally ok... --- 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 pull request: API: improve resource limits comprenhensi...

2016-05-20 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1554 API: improve resource limits comprenhension Add resource type name in request and response. You can merge this pull request into a Git repository by running: $ git pull https

[GitHub] cloudstack pull request: CLOUDSTACK-9238: Increase URL fields to 2...

2016-05-26 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1341#issuecomment-222067277 Hi! Talking with @footplus on the mailing list, I realized that this patch is not correct. It's missing modifications on the VO objects to let the String

[GitHub] cloudstack pull request: CLOUDSTACK-9238: Fix URL length to 2048 f...

2016-05-26 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1567 CLOUDSTACK-9238: Fix URL length to 2048 for all url fields in VO I will update the PR to add max field length in the API commands too You can merge this pull request into a Git repository

[GitHub] cloudstack pull request: CLOUDSTACK-9238: Increase URL fields to 2...

2016-05-26 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1341#issuecomment-222071694 I guess a PR is easier, so here you go https://github.com/apache/cloudstack/pull/1567 --- If your project is set up for it, you can reply to this email and

[GitHub] cloudstack pull request: CLOUDSTACK-9238: Fix URL length to 2048 f...

2016-05-27 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1567#issuecomment-222094671 Because not all varchar columns have been updated to a length of 2048 in the DB, so there will be a mismatche between API, VO and the database. --- If your

[GitHub] cloudstack pull request #1638: CLOUDSTACK-9456: Use Spring 4 and Java 8

2016-08-12 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1638#discussion_r74574588 --- Diff: pom.xml --- @@ -92,22 +85,22 @@ 1.5.1 1.2.8 2.0.4 -2.5 +3.1.0 1.2 1.2.1

[GitHub] cloudstack pull request #1638: CLOUDSTACK-9456: Use Spring 4 and Java 8

2016-08-12 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1638#discussion_r74575182 --- Diff: pom.xml --- @@ -92,22 +85,22 @@ 1.5.1 1.2.8 2.0.4 -2.5 +3.1.0 1.2 1.2.1

[GitHub] cloudstack pull request #1638: CLOUDSTACK-9456: Use Spring 4 and Java 8

2016-08-12 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1638#discussion_r74588212 --- Diff: pom.xml --- @@ -92,22 +85,22 @@ 1.5.1 1.2.8 2.0.4 -2.5 +3.1.0 1.2 1.2.1

[GitHub] cloudstack pull request #1638: CLOUDSTACK-9456: Use Spring 4 and Java 8

2016-08-15 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1638#discussion_r74739489 --- Diff: pom.xml --- @@ -92,22 +85,22 @@ 1.5.1 1.2.8 2.0.4 -2.5 +3.1.0 1.2 1.2.1

[GitHub] cloudstack pull request #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stop...

2016-08-15 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1640 CLOUDSTACK-9458: Fix HA bug when VMs are stopped on agent disconnect VM are being restarted even if they don't have HA enabled. If the agent gets back online before the command ex

[GitHub] cloudstack pull request #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stop...

2016-08-17 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1640#discussion_r75091738 --- Diff: server/src/com/cloud/ha/HighAvailabilityManagerImpl.java --- @@ -282,7 +282,9 @@ public void scheduleRestartForVmsOnHost(final HostVO host

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-08-17 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 I'll do the long explanation regarding the bug in production we had. Twice we had the VPN going down between 2 of our zones which resulted in the lost of the communication be

[GitHub] cloudstack pull request #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stop...

2016-08-17 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1640#discussion_r75252604 --- Diff: server/src/com/cloud/ha/HighAvailabilityManagerImpl.java --- @@ -497,7 +498,7 @@ protected Long restart(final HaWorkVO work

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-08-17 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 > Would you mind adding these notes to the bug ticket? @jburwell All PR comments are going automatically into the jira ticket comment thanks to the ID matching (I think). ---

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-08-17 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 @koushik-das We are running a fork based on 4.4.2 with lots of cherry-pickings. But even if the host is down, why would you want to schedule a restart if the VM are not HA enabled

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-08-18 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 I understand your point of the release, but we're not in an ideal world where everyone runs the latest version. I try to do my best to look at the current code in CS to find possible

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-08-23 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 @koushik-das > If the MS is not able to determine the state of the VM, it tries fencing off the VM (using the various fencers available). If VM cannot be fenced off successfully,

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-08-24 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 @koushik-das which is IMHO wrong. --- 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

[GitHub] cloudstack issue #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-09-13 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 @jburwell I changed the commit and PR to point to 4.9 --- 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

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-04 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1532 DAO: Hit the cache for entity flagged as removed too I came along this part of the code and I don't see any reason why the cache should not be used when fetching with the "removed

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-08 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1532#discussion_r62453258 --- Diff: framework/db/src/com/cloud/utils/db/GenericDaoBase.java --- @@ -969,7 +969,12 @@ public T findByUuidIncludingRemoved(final String uuid

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-09 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1532#issuecomment-217820309 @sateesh-chodapuneedi not quite, you're missing a case. If the cache is null (not configured) you will always return `null`, which is not the goal. --- If

[GitHub] cloudstack pull request: DAO: Hit the cache for entity flagged as ...

2016-05-09 Thread marcaurele
Github user marcaurele commented on the pull request: https://github.com/apache/cloudstack/pull/1532#issuecomment-217820629 I pushed a change to write the method following the good practive you're mentioning. I also updated the sibling method findById to follow the same pra

[GitHub] cloudstack pull request #1709: CLOUDSTACK-7982 - KVM live migration

2016-10-16 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1709 CLOUDSTACK-7982 - KVM live migration This is the forward port of our KVM live migration implementation in 4.4.2 to the master branch. Feedback is welcome. I still have to write the

[GitHub] cloudstack issue #1709: CLOUDSTACK-7982 - KVM live migration

2016-10-17 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1709 Is there a way to get the management server log of the travis job? --- 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 #1709: CLOUDSTACK-7982 - KVM live migration

2016-10-21 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1709 @rhtyd I found the log but it doesn't give the mgmt server log output, only the job's output which got a `Command failed due to Internal Server Error` in an API response. I

[GitHub] cloudstack pull request #1723: Fix GroupBy (+ having) condition and tests

2016-10-21 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1723 Fix GroupBy (+ having) condition and tests The GroupBy + having isn't used currently in the code but was not clean. It removes unused arguments and variables and adds a test based on

[GitHub] cloudstack pull request #1709: CLOUDSTACK-7982 - KVM live migration

2016-10-24 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1709#discussion_r84632272 --- Diff: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java --- @@ -943,6 +962,11 @@ public boolean

[GitHub] cloudstack pull request #1730: VMTemplateZone needs some love

2016-10-25 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1730 VMTemplateZone needs some love It's incorrect to use the findIncludingRemovedBy and listIncludingRemovedBy for the common list and find operation. Moreover the DAO is tryi

[GitHub] cloudstack pull request #1730: VMTemplateZone needs some love

2016-11-02 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1730#discussion_r86242383 --- Diff: engine/schema/src/com/cloud/storage/dao/VMTemplateZoneDaoImpl.java --- @@ -84,14 +84,11 @@ public VMTemplateZoneVO findByZoneTemplate(long

[GitHub] cloudstack issue #1730: VMTemplateZone needs some love

2016-11-03 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1730 @rhtyd I triggered another jenkins build by rebasing my branch on master this morning. I hope it will fix the failing test. --- If your project is set up for it, you can reply to this email

[GitHub] cloudstack issue #1730: VMTemplateZone needs some love

2016-11-04 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1730 No, there isn't any bug related to this yet. I discovered this when I implemented something new in our CS (allow a template to be re-downloaded from its url via the `CopyTemplate` co

[GitHub] cloudstack pull request #1730: VMTemplateZone needs some love

2016-11-09 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1730#discussion_r87170352 --- Diff: engine/schema/src/com/cloud/storage/dao/VMTemplateZoneDaoImpl.java --- @@ -84,14 +84,11 @@ public VMTemplateZoneVO findByZoneTemplate(long

[GitHub] cloudstack pull request #1760: CLOUDSTACK-9593: userdata: enforce data is a ...

2016-11-11 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1760 CLOUDSTACK-9593: userdata: enforce data is a multiple of 4 characters Python base64 requires that the string is a multiple of 4 characters but the Apache codec does not. RFC says is not

[GitHub] cloudstack issue #1760: CLOUDSTACK-9593: userdata: enforce data is a multipl...

2016-11-15 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1760 @jburwell 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 and wishes

[GitHub] cloudstack pull request #1764: Should not fetch resource count for removed e...

2016-11-15 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1764 Should not fetch resource count for removed entity Fetch the number of resourceCount by domain and account excluding the removed ones. Signed-off-by: Marc-Aurèle Brothier You

[GitHub] cloudstack issue #1764: CLOUDSTACK-9597: Should not fetch resource count for...

2016-11-15 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1764 Will fix the checks in `ConfigurationServerImpl`: - https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/server/ConfigurationServerImpl.java#L1426 - https

[GitHub] cloudstack issue #1760: CLOUDSTACK-9593: userdata: enforce data is a multipl...

2016-11-17 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1760 I changed the code to make it resilient to incorrect data that are already in the database. Moreover, instead of throwing an error when the padding is not present, it appends it. I think

[GitHub] cloudstack pull request #1768: CLOUDSTACK 9601: Upgrade: change logic for up...

2016-11-18 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1768 CLOUDSTACK 9601: Upgrade: change logic for update path for files For going from version A to version D, it uses to run the SQL files in that order: A -> B -> C -> D -> A-

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2016-11-18 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 The second commit can be removed if the cleanup is not wanted. --- 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 #1640: CLOUDSTACK-9458: Fix HA bug when VMs are stopped on ...

2016-11-21 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1640 To get back to your previous comment @koushik-das on the broken scenario: what happen if the host is not reachable and the VMs are using a remote storage. With the fencing operation marking

[GitHub] cloudstack issue #1760: CLOUDSTACK-9593: userdata: enforce data is a multipl...

2016-11-21 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1760 @rhtyd the SQL function I'm using to fix current user data in the database is not present in MySQL 5.5, but only in 5.6 (TO_BASE64, FROM_BASE64). I have to find a workaround, either i

[GitHub] cloudstack issue #1554: CLOUDSTACK-9602: API: improve resource limits compre...

2016-11-22 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1554 I added the JIRA ticket. Isn't it simpler if you do the squash when you'll merge the PR on master? --- If your project is set up for it, you can reply to this email and have

[GitHub] cloudstack issue #1760: CLOUDSTACK-9593: userdata: enforce data is a multipl...

2016-11-24 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1760 @rhtyd The DB update class for the DatabaseUpgradeChecker doesn't work on Travis. Is there something I'm doing wrong, or missed something? --- If your project is set up for i

[GitHub] cloudstack issue #1760: CLOUDSTACK-9593: userdata: enforce data is a multipl...

2016-11-25 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1760 right, I forgot about the match required with the version in the pom. I thought I should prepare the stuff for the next 4.9.x release but that cannot work unless the pom files are updated

[GitHub] cloudstack pull request #1798: API: affinitygroupids or affinitygroupnames m...

2016-11-29 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1798 API: affinitygroupids or affinitygroupnames must be given Return an exception if both parameter are missing. Signed-off-by: Marc-Aurèle Brothier You can merge this pull request

[GitHub] cloudstack issue #1832: CLOUDSTACK-9652 Job framework - Cancelling async job...

2016-12-15 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1832 @karuturi It's a good feature but I don't see where the job gets actually cancelled. Reading the changes I can only see that the response of the job will become a cancelled oper

[GitHub] cloudstack issue #1832: CLOUDSTACK-9652 Job framework - Cancelling async job...

2016-12-15 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1832 @karuturi Ok thanks for the clarifications, and it's the scenario I thought about too. That being said, I'm currently thinking of a new approach for the command sequencer beca

[GitHub] cloudstack pull request #1832: CLOUDSTACK-9652 Job framework - Cancelling as...

2016-12-15 Thread marcaurele
Github user marcaurele commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1832#discussion_r92676861 --- Diff: engine/orchestration/src/com/cloud/agent/manager/AgentAttache.java --- @@ -399,10 +414,22 @@ public void send(final Request req, final

[GitHub] cloudstack pull request #1934: [CLOUDSTACK-9772] Template: perform a HEAD re...

2017-02-06 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1934 [CLOUDSTACK-9772] Template: perform a HEAD request to check file size from a URL Signed-off-by: Marc-Aurèle Brothier You can merge this pull request into a Git repository by running

[GitHub] cloudstack pull request #1936: [CLOUDSTACK-9773] API: don't break API output...

2017-02-06 Thread marcaurele
GitHub user marcaurele opened a pull request: https://github.com/apache/cloudstack/pull/1936 [CLOUDSTACK-9773] API: don't break API output with non-printable characters Signed-off-by: Marc-Aurèle Brothier You can merge this pull request into a Git repository by ru

[GitHub] cloudstack issue #1936: [CLOUDSTACK-9773] API: don't break API output with n...

2017-02-12 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1936 Forced push to trigger another build. Looks like the failed test is not stable. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] cloudstack issue #1934: [CLOUDSTACK-9772] Template: perform a HEAD request t...

2017-02-12 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1934 @borisstoyanov Dunno what's wrong with the failed tests. Its' failing at https://github.com/apache/cloudstack/blob/master/plugins/storage/image/default/src/org/apache/cloudsta

[GitHub] cloudstack issue #1934: [CLOUDSTACK-9772] Template: perform a HEAD request t...

2017-02-14 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1934 @remibergsma Good point, I was aware of that difference, which I think doesn't help to make systems reliable. Another improvement would be to remove this function and refactor the

[GitHub] cloudstack issue #1768: CLOUDSTACK 9601: Upgrade: change logic for update pa...

2017-02-21 Thread marcaurele
Github user marcaurele commented on the issue: https://github.com/apache/cloudstack/pull/1768 @rhtyd Changing the sequence is only idempotent if you have been upgrading to each new versions step by step. If you jumped other versions, then the path is different for each original