Skip to content

Conversation

@wido
Copy link
Contributor

@wido wido commented Sep 25, 2015

This should fix the CloudStack Agent from crashing when it has to
handle more then 16 RBD snapshots on one Volume.

This should fix the CloudStack Agent from crashing when it has to
handle more then 16 RBD snapshots on one Volume.
@asfbot
Copy link

asfbot commented Sep 25, 2015

cloudstack-pull-rats #729 SUCCESS
This pull request looks good

@asfbot
Copy link

asfbot commented Sep 25, 2015

cloudstack-pull-analysis #678 ABORTED

@K0zka
Copy link
Contributor

K0zka commented Sep 26, 2015

LGTM 👍

@sebgoa
Copy link
Member

sebgoa commented Sep 30, 2015

LGTM, small change.
@wido what tests can be run to check for this.

@wido
Copy link
Contributor Author

wido commented Sep 30, 2015

@Runseb No, not really. All my Unit tests are succeeding on rados-java itself. It should work as expected. But I have no in CloudStack test

@remibergsma
Copy link
Contributor

@wido maybe @borisroman can execute smoke/test_vm_life_cycle.py to do a quick check?

@borisroman
Copy link
Contributor

Will do.

Best regards,

Boris Schrijver

TEL: +31633784542
MAIL: [email protected]

On September 30, 2015 at 12:11 PM Remi Bergsma [email protected]
wrote:

@wido <https://github.com/wido> maybe @borisroman

https://github.com/borisroman can execute smoke/test_vm_life_cycle.py to do
a quick check?

—
Reply to this email directly or view it on GitHub

#889 (comment) .

@remibergsma
Copy link
Contributor

@borisroman thank you!

@borisroman
Copy link
Contributor

@remibergsma @Runseb I've ran the test_vm_lifecycle.

[root@cs1 smoke]# nosetests --with-marvin --marvin-config=/data/shared/marvin/mct-zone1-kvm1-basic.cfg -s -a tags=basic,required_hardware=false test_vm_life_cycle
==== Marvin Init Started ====

=== Marvin Parse Config Successful ===

=== Marvin Setting TestData Successful===

==== Log Folder Path: /tmp//MarvinLogs//Oct_01_2015_10_11_33_MFQA0G. All logs will be available here ====

=== Marvin Init Logging Successful===

==== Marvin Init Successful ====
=== TestName: test_deploy_vm | Status : SUCCESS ===

=== TestName: test_deploy_vm_multiple | Status : SUCCESS ===

=== TestName: test_01_stop_vm | Status : SUCCESS ===

=== TestName: test_02_start_vm | Status : SUCCESS ===

=== TestName: test_03_reboot_vm | Status : SUCCESS ===

=== TestName: test_06_destroy_vm | Status : SUCCESS ===

=== TestName: test_07_restore_vm | Status : SUCCESS ===

=== TestName: test_09_expunge_vm | Status : SUCCESS ===

===final results are now copied to: /tmp//MarvinLogs//16ORAQ===

LGTM!

@wilderrodrigues
Copy link
Contributor

Perhaps a manual test to fire the BackupSnapshot command?

Is there any integration test that we can execute to cover it?

Cheers,
Wilder

@wido
Copy link
Contributor Author

wido commented Oct 1, 2015

@wilderrodrigues A proper integration test for Ceph is still on my whishlist, but to do that we need a running Ceph cluster which we can talk against.

I wrote rados-java btw and I solved some bugs in those bindings. They are passing all my unit tests which actually talk to a Ceph cluster.

@borisroman
Copy link
Contributor

@remibergsma @wilderrodrigues I ran the requested tests, passing successfully. Integration tests aren't yet around, mocking Ceph (or using a real deployment) and writing those tests will take a lot of time. We confirmed it worked be manually testing it.

As 4.6 release is close I would like this to be merged before release. The PR has three LGTM's including one with test results.

@remibergsma
Copy link
Contributor

Agree to merge this small bugfix. Thanks for running the lifecycle test to be sure.

@asfgit asfgit merged commit d413b2c into apache:master Oct 9, 2015
asfgit pushed a commit that referenced this pull request Oct 9, 2015
CLOUDSTACK-8879: Depend in rados-java 0.2.0This should fix the CloudStack Agent from crashing when it has to
handle more then 16 RBD snapshots on one Volume.

* pr/889:
  CLOUDSTACK-8879: Depend in rados-java 0.2.0

Signed-off-by: Remi Bergsma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants