[Yahoo-eng-team] [Bug 1770549] Re: Set instance's description failed

2018-05-11 Thread Eric Fried
This is invalid for the reason you state in comment #1.  More
specifically: when you call the API with versions <2.19, you get the
name as the description; when you call with >=2.19, you get the user-
supplied description or None.  We can't change that behavior, per the
rules of API versioning.

So really the "problem" is that whereas novaclient negotiates the
highest mutually supported version with the server, openstackclient
defaults to the earliest.  But that version can be overridden via option
or env, and that's the correct "solution".

Now, if you're saying that openstack client doesn't yet have support for
user-settable descriptions... that's a bug against openstackclient which
would need to be solved there.

** Changed in: nova
   Status: In Progress => Invalid

-- 
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/1770549

Title:
  Set instance's description failed

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Create an instance, using novaclient and openstackclient will get different 
value for the description.
  novaclient: description is None.
  openstackclient: description is instance's name.

  Using novaclient the API request version is 2.53, but the openstackclient is 
2.1.
  If we wants to add description using openstackclient(not implement yet), the 
instance's description will get the instance's name forever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1770549/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1770549] Re: Set instance's description failed

2018-05-11 Thread OpenStack Infra
Fix proposed to branch: master
Review: https://review.openstack.org/567795

** Changed in: nova
   Status: Invalid => In Progress

-- 
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/1770549

Title:
  Set instance's description failed

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Create an instance, using novaclient and openstackclient will get different 
value for the description.
  novaclient: description is None.
  openstackclient: description is instance's name.

  Using novaclient the API request version is 2.53, but the openstackclient is 
2.1.
  If we wants to add description using openstackclient(not implement yet), the 
instance's description will get the instance's name forever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1770549/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1770549] Re: Set instance's description failed

2018-05-11 Thread Dongcan Ye
We can pass -os-compute-api-version with openstackclient, so this bug
seems invaild.

** Changed in: nova
   Status: New => Invalid

-- 
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/1770549

Title:
  Set instance's description failed

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Create an instance, using novaclient and openstackclient will get different 
value for the description.
  novaclient: description is None.
  openstackclient: description is instance's name.

  Using novaclient the API request version is 2.53, but the openstackclient is 
2.1.
  If we wants to add description using openstackclient(not implement yet), the 
instance's description will get the instance's name forever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1770549/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp