It's too easy to forget to select a keypair when launching an instance

Bug #1125124 reported by Julie Pichon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Julie Pichon
Folsom
Fix Released
Medium
Julie Pichon

Bug Description

I remember discussions about this but cannot find a bug #.

At the moment, when Launching a new instance it's very easy to forget to set a keypair and I've seen a lot of users reporting being annoyed by that behaviour (myself included), especially when they only have one keypair they use for everything.

Possible solutions include:
- If there is only one keypair, select it by default
- Transform the launch instance workflow into a "wizard"-like workflow where the user has to go through each step/tab, making it less likely to forget to set the keypair
- Move the keypair dropdown to the first tab
- ?

I'd suggest going with #1 for now to get a simple fix out that doesn't introduce new UX considerations, in time for grizzly.

Julie Pichon (jpichon)
Changed in horizon:
assignee: nobody → Julie Pichon (jpichon)
milestone: none → grizzly-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/21966

Changed in horizon:
status: New → In Progress
Revision history for this message
Joe T (joe-topjian-v) wrote :

I've thought about this many times, too. I like #2 as a solution.

#1 is a very simple solution and would solve a lot of forgetfulness, but what about images that don't utilize a keypair (such as Windows)? The keypair would then just be ignored and things would work as usual but it comes off as a type of solution that is forcing itself upon all use-cases when it's not needed. If that makes sense?

What about a hypothetical situation where having a keypair selected when it's not needed would actually cause the instance to not load correctly?

Revision history for this message
Julie Pichon (jpichon) wrote :

Hi Joe, thank you for your thoughts. I fully appreciate that this isn't a perfect solution! Code freeze is on Tuesday and creating a wizard would require, I suspect, a blueprint for a new type of workflows that isn't likely to land in time. I've heard many complaints from users about this and I think it's a reasonable compromise (for now, to be revisited later definitely), in one specific use case: one keypair and only one exists. It's also still possible to launch an instance without associating a keypair, of course.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/21966
Committed: http://github.com/openstack/horizon/commit/5cfbb95f04a236c046ccf69524a898cddea3efa2
Submitter: Jenkins
Branch: master

commit 5cfbb95f04a236c046ccf69524a898cddea3efa2
Author: Julie Pichon <email address hidden>
Date: Thu Feb 14 12:55:58 2013 +0000

    If a user only has 1 keypair, this keypair should be selected by default

    When Launching a new instance, it's easy to forget to select a keypair
    as it's hidden in another tab. This mitigates the issue by selecting a
    keypair automatically when there is only one.

    Fixes bug #1125124

    Change-Id: I04cd6850b4b5f0901d2f9035af8df53cfb67f8c5

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/folsom)

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/22351

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/folsom)

Reviewed: https://review.openstack.org/22351
Committed: http://github.com/openstack/horizon/commit/19b19c0e87547ef09515a7ddb0c30eb89e2d55e2
Submitter: Jenkins
Branch: stable/folsom

commit 19b19c0e87547ef09515a7ddb0c30eb89e2d55e2
Author: Julie Pichon <email address hidden>
Date: Tue Feb 19 19:58:34 2013 +0000

    If a user only has 1 keypair, this keypair should be selected by default

    When Launching a new instance, it's easy to forget to select a keypair
    as it's hidden in another tab. This mitigates the issue by selecting a
    keypair automatically when there is only one.

    Fixes bug #1125124

    Change-Id: I04cd6850b4b5f0901d2f9035af8df53cfb67f8c5

Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.