[Yahoo-eng-team] [Bug 1597168] Re: There's no way to update '--shared' argument of qos-policy to False by using qos-policy-update command.

2016-06-30 Thread Darek Smigiel
*** This bug is a duplicate of bug 1590942 ***
https://bugs.launchpad.net/bugs/1590942

Xiewj you were right. It is a duplicate. Maybe it's worth to backport
this change to neutron.

** This bug has been marked a duplicate of bug 1590942
   Missing option to set qos-policy as not shared during upgrade

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1597168

Title:
  There's no way to update '--shared' argument of qos-policy to False by
  using qos-policy-update command.

Status in neutron:
  New

Bug description:
  In Mitaka,
  There's no way to update '--shared' argument of qos-policy to False by using 
qos-policy-update command.
  Actually,we may need to update --shared to False in qos-policy-update command,
  Such as in the qos-policy rbac scenario, we may need to change the rbac 
policy  
  by updating ‘--shared’ parameters to False,so that we can cancel sharing the 
qos-policy to all tenants

  [root@localhost devstack]# neutron qos-policy-create qos-policy-01
  Created a new policy:
  +-+--+
  | Field   | Value|
  +-+--+
  | description |  |
  | id  | 53e278d6-ad97-4875-9eb3-374e46d5fe9c |
  | name| qos-policy-01|
  | rules   |  |
  | shared  | False|
  | tenant_id   | aced7a29bb134dec82307a880d1cc542 |
  +-+--+
  [root@localhost devstack]# neutron qos-policy-update qos-policy-01 --shared   
  
  Updated policy: qos-policy-01
  [root@localhost devstack]# neutron qos-policy-show qos-policy-01
  +-+--+
  | Field   | Value|
  +-+--+
  | description |  |
  | id  | 53e278d6-ad97-4875-9eb3-374e46d5fe9c |
  | name| qos-policy-01|
  | rules   |  |
  | shared  | True |
  | tenant_id   | aced7a29bb134dec82307a880d1cc542 |
  +-+--+
  [root@localhost devstack]# neutron qos-policy-update qos-policy-01 
--shared=False
  usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME]
   [--description DESCRIPTION] [--shared]
   POLICY
  neutron qos-policy-update: error: argument --shared: ignored explicit 
argument u'False'
  Try 'neutron help qos-policy-update' for more information.
  [root@localhost devstack]# 

  [root@localhost devstack]# neutron help qos-policy-update
  usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME]
   [--description DESCRIPTION] [--shared]
   POLICY

  Update a given qos policy.

  positional arguments:
POLICYID or name of policy to update.

  optional arguments:
-h, --helpshow this help message and exit
--request-format {json}
  DEPRECATED! Only JSON request format is supported.
--name NAME   Name of QoS policy.
--description DESCRIPTION
  Description of the QoS policy.
--shared  Accessible by other tenants. Set shared to True
  (default is False).
  [root@localhost devstack]#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1597168/+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 1597168] Re: There's no way to update '--shared' argument of qos-policy to False by using qos-policy-update command.

2016-06-30 Thread xiewj
Hello,
It seems that you did not understand what I mean.qos-policy-update command has 
the '--shared' parameter,we can set --shared as True through qos-policy-update 
command ,but we can not set --shared as False ,it returns "neutron 
qos-policy-update: error: argument --shared: ignored explicit argument u'False'"

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

** Changed in: neutron
   Status: In Progress => New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1597168

Title:
  There's no way to update '--shared' argument of qos-policy to False by
  using qos-policy-update command.

Status in neutron:
  New

Bug description:
  In Mitaka,
  There's no way to update '--shared' argument of qos-policy to False by using 
qos-policy-update command.
  Actually,we may need to update --shared to False in qos-policy-update command,
  Such as in the qos-policy rbac scenario, we may need to change the rbac 
policy  
  by updating ‘--shared’ parameters to False,so that we can cancel sharing the 
qos-policy to all tenants

  [root@localhost devstack]# neutron qos-policy-create qos-policy-01
  Created a new policy:
  +-+--+
  | Field   | Value|
  +-+--+
  | description |  |
  | id  | 53e278d6-ad97-4875-9eb3-374e46d5fe9c |
  | name| qos-policy-01|
  | rules   |  |
  | shared  | False|
  | tenant_id   | aced7a29bb134dec82307a880d1cc542 |
  +-+--+
  [root@localhost devstack]# neutron qos-policy-update qos-policy-01 --shared   
  
  Updated policy: qos-policy-01
  [root@localhost devstack]# neutron qos-policy-show qos-policy-01
  +-+--+
  | Field   | Value|
  +-+--+
  | description |  |
  | id  | 53e278d6-ad97-4875-9eb3-374e46d5fe9c |
  | name| qos-policy-01|
  | rules   |  |
  | shared  | True |
  | tenant_id   | aced7a29bb134dec82307a880d1cc542 |
  +-+--+
  [root@localhost devstack]# neutron qos-policy-update qos-policy-01 
--shared=False
  usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME]
   [--description DESCRIPTION] [--shared]
   POLICY
  neutron qos-policy-update: error: argument --shared: ignored explicit 
argument u'False'
  Try 'neutron help qos-policy-update' for more information.
  [root@localhost devstack]# 

  [root@localhost devstack]# neutron help qos-policy-update
  usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME]
   [--description DESCRIPTION] [--shared]
   POLICY

  Update a given qos policy.

  positional arguments:
POLICYID or name of policy to update.

  optional arguments:
-h, --helpshow this help message and exit
--request-format {json}
  DEPRECATED! Only JSON request format is supported.
--name NAME   Name of QoS policy.
--description DESCRIPTION
  Description of the QoS policy.
--shared  Accessible by other tenants. Set shared to True
  (default is False).
  [root@localhost devstack]#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1597168/+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 1597168] Re: There's no way to update '--shared' argument of qos-policy to False by using qos-policy-update command.

2016-06-29 Thread Darek Smigiel
Lack of '--shared' parameter means that qos-policy won't be shared.

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1597168

Title:
  There's no way to update '--shared' argument of qos-policy to False by
  using qos-policy-update command.

Status in neutron:
  Invalid

Bug description:
  In Mitaka,
  There's no way to update '--shared' argument of qos-policy to False by using 
qos-policy-update command.
  Actually,we may need to update --shared to False in qos-policy-update command,
  Such as in the qos-policy rbac scenario, we may need to change the rbac 
policy  
  by updating ‘--shared’ parameters to False,so that we can cancel sharing the 
qos-policy to all tenants

  [root@localhost devstack]# neutron qos-policy-create qos-policy-01
  Created a new policy:
  +-+--+
  | Field   | Value|
  +-+--+
  | description |  |
  | id  | 53e278d6-ad97-4875-9eb3-374e46d5fe9c |
  | name| qos-policy-01|
  | rules   |  |
  | shared  | False|
  | tenant_id   | aced7a29bb134dec82307a880d1cc542 |
  +-+--+
  [root@localhost devstack]# neutron qos-policy-update qos-policy-01 --shared   
  
  Updated policy: qos-policy-01
  [root@localhost devstack]# neutron qos-policy-show qos-policy-01
  +-+--+
  | Field   | Value|
  +-+--+
  | description |  |
  | id  | 53e278d6-ad97-4875-9eb3-374e46d5fe9c |
  | name| qos-policy-01|
  | rules   |  |
  | shared  | True |
  | tenant_id   | aced7a29bb134dec82307a880d1cc542 |
  +-+--+
  [root@localhost devstack]# neutron qos-policy-update qos-policy-01 
--shared=False
  usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME]
   [--description DESCRIPTION] [--shared]
   POLICY
  neutron qos-policy-update: error: argument --shared: ignored explicit 
argument u'False'
  Try 'neutron help qos-policy-update' for more information.
  [root@localhost devstack]# 

  [root@localhost devstack]# neutron help qos-policy-update
  usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME]
   [--description DESCRIPTION] [--shared]
   POLICY

  Update a given qos policy.

  positional arguments:
POLICYID or name of policy to update.

  optional arguments:
-h, --helpshow this help message and exit
--request-format {json}
  DEPRECATED! Only JSON request format is supported.
--name NAME   Name of QoS policy.
--description DESCRIPTION
  Description of the QoS policy.
--shared  Accessible by other tenants. Set shared to True
  (default is False).
  [root@localhost devstack]#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1597168/+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