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

Use storaged 2.0 #2308

Closed
wants to merge 14 commits into from
Closed

Conversation

mvollmer
Copy link
Member

To test this, you need to install storaged 2.1.1 or later.

dnf copr enable phatina/storaged
dnf install storaged
dnf install storaged-lvm2

Then you need to log out and in again.

@mvollmer mvollmer force-pushed the direct-storaged branch 3 times, most recently from 5d83692 to b866120 Compare May 26, 2015 12:44
@mvollmer
Copy link
Member Author

Now it uses base1/patterns.

@mvollmer mvollmer force-pushed the direct-storaged branch 11 times, most recently from 9181018 to c77dc4b Compare June 3, 2015 12:05
@mvollmer mvollmer changed the title WIP - Talk directly to storaged 2.0 Use storaged 2.0 Jun 3, 2015
@mvollmer mvollmer mentioned this pull request Jun 23, 2015
@mvollmer mvollmer force-pushed the direct-storaged branch 2 times, most recently from 772b336 to bdd948b Compare June 24, 2015 15:26
@mvollmer mvollmer force-pushed the direct-storaged branch 2 times, most recently from 562697f to 1cb5198 Compare June 25, 2015 08:44
@andreasn
Copy link
Contributor

These looks a bit weird with the empty space on the left, but I understand it's a good space for the spinner. Could we put the spinner on the right possibly? That would avoid it looking empty.

screenshot from 2015-07-16 15-36-29

@mvollmer
Copy link
Member Author

Could we put the spinner on the right possibly? That would avoid it looking empty.

Sure, this is your domain. :-)

I was thinking that we might want icons for arrays and volume groups as well.

@andreasn
Copy link
Contributor

I got the format warning, but it still allowed me to do it, but then didn't succeed with the formatting in the end.
https://andreasn.portknox.net/index.php/s/BykI2y2CntSDTkx

@andreasn
Copy link
Contributor

I was thinking that we might want icons for arrays and volume groups as well.

There aren't any super established icons for these things, more than "blocks on top of each other":
screenshot
screenshot

I'm skeptical to using these icons as pure decoration, but it might be nice if they are able to provide additional information (like maybe degenerated RAID? But maybe that would be better as a pure warning icon).

(the regular hard drives below obviously doesn't convey any additional information right now either, so those are pure decoration right now too)

@mvollmer
Copy link
Member Author

I got the format warning, but it still allowed me to do it, but then didn't succeed with the formatting in the end.

Yes, good catch. The formatting has failed, but we didn't show the error message because it happened in the background as a (very fast) "job", and we don't show job failures. (That would be part of notifications, I'd say.)

I think the best immediate fix for this is to move the initial wipefs out of the background part: storaged-project/udisks#15. Then you will see it's errors right in the dialog.

We can also prevent people from hitting "Format" when there are usage alerts. I am not sure whether we can get them 100% accurate, though.

@mvollmer
Copy link
Member Author

I'm skeptical to using these icons as pure decoration,

Could you tweak the HTML/CSS until it looks acceptable? I don't think you have to touch the JavaScript at all.

@mvollmer
Copy link
Member Author

Ok, we have a workaround for the kube config boo-boo.

@andreasn
Copy link
Contributor

So I've been pondering this some more, and I think the icon might be useful in the end after all, partly for identification and easier of scanning, and especially if we can have a unformatted-and-unpartioned-state of them (that I'll open a separate issue about).
Here is the icon: https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/graphics/storage-array.png

@mvollmer
Copy link
Member Author

Here is the icon: https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/graphics/storage-array.png

Thanks! Should we use this also for volume groups?

@andreasn
Copy link
Contributor

Thanks! Should we use this also for volume groups?

Yes, it's all a collection of disks.

Mockup:
screenshot from 2015-07-16 18-28-44

And move spinner to the right.
@mvollmer
Copy link
Member Author

Mockup:

Implemented. The spinner is now on the right.

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.

None yet

5 participants