yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27288
[Bug 1415209] [NEW] Unable to delete keypairs with consecutive underscores characters in their names
Public bug reported:
According to this nova source[1], keypair names can have any
combinations of numbers, letters, spaces, hyphens, and underscores. When
attempting to delete keypairs with consecutive underscores in their
names the keypairs are not deleted and occasionally an info popup is
displayed.
steps to reproduce:
test 1
1. create a keypair with the name "__a"
2. delete the keypair with the button on it's line
result is an info box with the text "Please select a row before taking
that action."
test 2
1. create a keypair with the name "a__"
2. delete the keypair with the button on it's line
result is no change in the list.
This only appears to be an issue when the name has multiple consecutive
underscores. This appears to only happen through the dashboard as these
keypairs can be deleted by name from the `nova` cli tool.
If the keypairs are selected using the checkboxes and deleted en masse
using the global delete button then they are successfully deleted.
[1]:
https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3690
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
According to this nova source[1], keypair names can have any
combinations of numbers, letters, spaces, hyphens, and underscores. When
attempting to delete keypairs with consecutive underscores in their
names the keypairs are not deleted and occasionally an info popup is
displayed.
steps to reproduce:
test 1
1. create a keypair with the name "__a"
2. delete the keypair with the button on it's line
result is an info box with the text "Please select a row before taking
that action."
test 2
1. create a keypair with the name "a__"
2. delete the keypair with the button on it's line
result is no change in the list.
+ This only appears to be an issue when the name has multiple consecutive
+ underscores. This appears to only happen through the dashboard as these
+ keypairs can be deleted by name from the `nova` cli tool.
- This only appears to be an issue when the name has multiple consecutive underscores. This appears to only happen through the dashboard as these keypairs can be deleted by name from the `nova` cli tool.
+
+ [1]: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3690
** Description changed:
According to this nova source[1], keypair names can have any
combinations of numbers, letters, spaces, hyphens, and underscores. When
attempting to delete keypairs with consecutive underscores in their
names the keypairs are not deleted and occasionally an info popup is
displayed.
steps to reproduce:
test 1
1. create a keypair with the name "__a"
2. delete the keypair with the button on it's line
result is an info box with the text "Please select a row before taking
that action."
test 2
1. create a keypair with the name "a__"
2. delete the keypair with the button on it's line
result is no change in the list.
This only appears to be an issue when the name has multiple consecutive
underscores. This appears to only happen through the dashboard as these
keypairs can be deleted by name from the `nova` cli tool.
+ If the keypairs are selected using the checkboxes and deleted en masse
+ using the global delete button then they are successfully deleted.
- [1]: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3690
+ [1]:
+ https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3690
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1415209
Title:
Unable to delete keypairs with consecutive underscores characters in
their names
Status in OpenStack Dashboard (Horizon):
New
Bug description:
According to this nova source[1], keypair names can have any
combinations of numbers, letters, spaces, hyphens, and underscores.
When attempting to delete keypairs with consecutive underscores in
their names the keypairs are not deleted and occasionally an info
popup is displayed.
steps to reproduce:
test 1
1. create a keypair with the name "__a"
2. delete the keypair with the button on it's line
result is an info box with the text "Please select a row before taking
that action."
test 2
1. create a keypair with the name "a__"
2. delete the keypair with the button on it's line
result is no change in the list.
This only appears to be an issue when the name has multiple
consecutive underscores. This appears to only happen through the
dashboard as these keypairs can be deleted by name from the `nova` cli
tool.
If the keypairs are selected using the checkboxes and deleted en masse
using the global delete button then they are successfully deleted.
[1]:
https://github.com/openstack/nova/blob/master/nova/compute/api.py#L3690
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1415209/+subscriptions
Follow ups
References