Bug ID | 999521 |
---|---|
Summary | yast2 storage takes ages to open |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.1 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | YaST2 |
Assignee | yast2-maintainers@suse.de |
Reporter | dwaas@suse.com |
QA Contact | jsrain@suse.com |
Found By | --- |
Blocker | --- |
Created attachment 692787 [details]
yast logs
REPRODUCER
~~~~~~~~~~
1) yast storage
2) select "Yes"
3) wait ~50 seconds to load
DEBUGGING
~~~~~~~~~
Running a tail -F in parallel shows[1] that libstorage is dealing with files of
the type *.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes*.
It might as well be that I have a misconfigured snapper (in fact, I just left
default settings) but it would be very nice if the two didn't collide.
One potential solution could be dealing with those files lazily.
y2logs attached, feel free to ask me other info, also feel free to mark it as
enhancement.
VERSION
~~~~~~~
yast2-storage-3.1.71-4.1.x86_64
REF
~~~
[1] tail -F snippet
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(SystemCmd):62
constructor SystemCmd( "/usr/bin/lsattr -d
'/tmp/libstorage-zGrDL6/tmp-mp-2YVVed/@/.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes/3795689c0c01bb6f87366ad751bea663017f1d30011926394d02234a6a35a775'"
) doThrow: false
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(execute):143
SystemCmd Executing: "/usr/bin/lsattr -d
'/tmp/libstorage-zGrDL6/tmp-mp-2YVVed/@/.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes/3795689c0c01bb6f87366ad751bea663017f1d30011926394d02234a6a35a775'"
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(addLine):740
Adding Line 1 "----------------
/tmp/libstorage-zGrDL6/tmp-mp-2YVVed/@/.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes/3795689c0c01bb6f87366ad751bea663017f1d30011926394d02234a6a35a775"
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(getUntilEOF):706
pid:31389 added lines:1 stderr:false
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(doExecute):384
stopwatch 0.008197s for "/usr/bin/lsattr -d
'/tmp/libstorage-zGrDL6/tmp-mp-2YVVed/@/.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes/3795689c0c01bb6f87366ad751bea663017f1d30011926394d02234a6a35a775'"
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(doExecute):404
system() Returns:0
2016-09-17 17:53:11 <1> cert(26783) [libstorage] CmdLsattr.cc(parse):75
path:@/.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes/3795689c0c01bb6f87366ad751bea663017f1d30011926394d02234a6a35a775
2016-09-17 17:53:11 <1> cert(26783) [libstorage] Btrfs.cc(addSubvolume):211
path:"@/.snapshots/1/snapshot/var/lib/docker/btrfs/subvolumes/3795689c0c01bb6f87366ad751bea663017f1d30011926394d02234a6a35a775"
nocow:false
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(SystemCmd):62
constructor SystemCmd( "/usr/bin/lsattr -d
'/tmp/libstorage-zGrDL6/tmp-mp-2YVVed/@/.snapshots/858/snapshot'" ) doThrow:
false
2016-09-17 17:53:11 <1> cert(26783) [libstorage] SystemCmd.cc(execute):143
SystemCmd Executing: "/usr/bin/lsattr -d
'/tmp/libstorage-zGrDL6/tmp-mp-2YVVed/@/.snapshots/858/snapshot'"