yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29648
[Bug 1433404] [NEW] CLI 'nova host-meta' delete some meta failed
Public bug reported:
On one host, some instances have some metas, but the others do not have.
When delete the 'some metas', got an error:
ERROR: Metadata item was not found (HTTP 404) (Request-ID: req-c85f5212-82ee-4b30-ad0e-48d0e62186c7)
My environment is following:
1 controller node, 1 compute node
nova - 2014.1, stable-icehouse
novaclient - 2.17.0
Reproduce:
1. Launch instance A with meta 'color=true' and 'foo=bar';
2. Launch instance B with meta 'foo=bar';
3. Use 'nova host-meta' to delete meta 'foo', and it worked.
#nova host-meta 2C514_1_10_SBCJ delete foo
4. Use 'nova host-meta' to delete meta 'color', and it did not work.
IMHO, 'host-meta' CLI should ignore that instance B did not have 'color' meta, and delete meta which any instances
on this host has. It is very cumbersome that use 'nova meta' every instance.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1433404
Title:
CLI 'nova host-meta' delete some meta failed
Status in OpenStack Compute (Nova):
New
Bug description:
On one host, some instances have some metas, but the others do not
have.
When delete the 'some metas', got an error:
ERROR: Metadata item was not found (HTTP 404) (Request-ID: req-c85f5212-82ee-4b30-ad0e-48d0e62186c7)
My environment is following:
1 controller node, 1 compute node
nova - 2014.1, stable-icehouse
novaclient - 2.17.0
Reproduce:
1. Launch instance A with meta 'color=true' and 'foo=bar';
2. Launch instance B with meta 'foo=bar';
3. Use 'nova host-meta' to delete meta 'foo', and it worked.
#nova host-meta 2C514_1_10_SBCJ delete foo
4. Use 'nova host-meta' to delete meta 'color', and it did not work.
IMHO, 'host-meta' CLI should ignore that instance B did not have 'color' meta, and delete meta which any instances
on this host has. It is very cumbersome that use 'nova meta' every instance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1433404/+subscriptions
Follow ups
References