Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: osd-scrub-repair.sh abort if add_something fails #12172

Merged
merged 1 commit into from Nov 24, 2016
Merged

tests: osd-scrub-repair.sh abort if add_something fails #12172

merged 1 commit into from Nov 24, 2016

Conversation

ghost
Copy link

@ghost ghost commented Nov 24, 2016

If the script keeps going after this function fails, it will be non
trivial to find the root cause of the problem.

Signed-off-by: Loic Dachary loic@dachary.org

If the script keeps going after this function fails, it will be non
trivial to find the root cause of the problem.

Signed-off-by: Loic Dachary <loic@dachary.org>
@ghost ghost added cleanup tests labels Nov 24, 2016
@ghost ghost added this to the kraken milestone Nov 24, 2016
@ghost ghost assigned tchaikov and dzafman Nov 24, 2016
@ghost
Copy link
Author

ghost commented Nov 24, 2016

I ran into this while looking into http://tracker.ceph.com/issues/18018 : I don't think it helps osd-scrub-repair.sh itself in any way. It just makes it a little easier to debug.

@ghost
Copy link
Author

ghost commented Nov 24, 2016

jenkins test this please (osd-crush.sh http://tracker.ceph.com/issues/18022)

@tchaikov
Copy link
Contributor

Error ENOSPC: failed to add rule 256 because (28) No space left on device

@ghost
Copy link
Author

ghost commented Nov 24, 2016

@tchaikov unfortunately this is expected and not the root cause of the error. Thanks for taking a look though :-)

/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/mon/osd-crush.sh:203: TEST_add_ruleceph osd crush rule create-simple test_rule_nospace host1 osd firstn
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/mon/osd-crush.sh:203: TEST_add_rulegrep 'Error ENOSPC'
Error ENOSPC: failed to add rule 256 because (28) No space left on device
ceph-mon: mon.noname-a 127.0.0.1:7104/0 is local, renaming to mon.a
ceph-mon: set fsid to 545eeeef-59ac-4bf4-b99a-921cf3046813
ceph-mon: created monfs at td/osd-crush/a for mon.a
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/mon/osd-crush.sh:34: run:  teardown td/osd-crush

@tchaikov
Copy link
Contributor

oh, right!

@ghost
Copy link
Author

ghost commented Nov 24, 2016

jenkins test this please (test_objectstore_memstore.sh http://tracker.ceph.com/issues/18027)

@tchaikov tchaikov merged commit b06557e into ceph:master Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants