-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add /dev/disk/by-id
link tests
#219
Conversation
9e0492f
to
c6de956
Compare
7fcfa85
to
e9d054c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be some commits that are iterating on changes of the same lines - please dont do this. As discussed before each line change should be the final version of a logical change - not an iteration.
Secondly, we agreed on Friday that we would move the "Checking additional disk device support" tests from storage-vm to storage-disks-vm so as to keep the external disks together in one file and so as to avoid repeating them for each pool driver unnecessarily, however I do not see this change.
@hamistao additionally please can you also add some tests to the storage-disks-vm file that checks for devices passed with long & escaped names that are longer than what udev uses, so we can check the udev /dev/disk/by-id path is unchanged. Ta |
@tomponline I am planning to include the discussed moving of the tests on a later PR along with other similar changes to make this simpler. Edit: Sorry I misread your message, the purpose is to go beyond the limit on udev. I am afraid this may break the tests, I am doing some investigation and will open an issue on this shortly |
3420966
to
64847a6
Compare
@tomponline The new long name tests were added, feel free to take a look at this when you can. The tests seem to be failing due to unrelated problems with |
Thanks, unfortunately as latest/edge is now broken ill hold off on this until @mihalicyn and I can unblock it. |
You mentioned some devices didn't work with long names - please can you elaborate on this. |
@tomponline It seemed like using long names could break the devices but in fact, the paths on |
No problem! |
@tomponline I will push new changes removing the tests that use |
Good news, the latest/edge is unblocked and the tests are green. Just need to understand about the restrictions being relaxed and then we can merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove remaining traces of /dev/sdX
everywhere.
58a35f5
to
ac2f30d
Compare
8b149fb
to
aa28116
Compare
aa28116
to
410dbbb
Compare
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
410dbbb
to
1e5aa10
Compare
@tomponline This is ready for another look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This adds tests for checking if
/dev/disk/by-id
links are being properly set up for different kinds of block devices. Also moves non pool specific tests away fromstorage-vm
.This is needed for #13672 and #13671.