[Yahoo-eng-team] [Bug 1475722] Re: Never use MagicMock
** Also affects: heat Importance: Undecided Status: New ** Changed in: heat Assignee: (unassigned) => liuwei (liu-wei81) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1475722 Title: Never use MagicMock Status in Ceilometer: New Status in heat: New Status in OpenStack Identity (keystone): New Status in Mistral: In Progress Status in Murano: In Progress Status in python-ceilometerclient: New Status in python-heatclient: New Status in python-mistralclient: New Status in python-muranoclient: In Progress Status in python-neutronclient: In Progress Status in python-openstackclient: Fix Released Status in OpenStack SDK: Fix Committed Status in python-troveclient: In Progress Status in OpenStack Object Storage (swift): New Status in OpenStack DBaaS (Trove): New Bug description: They magically allow things to pass. This is bad. Any usage should be replaced with the Mock class and explicit attributes should be set on it. To manage notifications about this bug go to: https://bugs.launchpad.net/ceilometer/+bug/1475722/+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 1612119] [NEW] Unrecognized attribute(s) 'qos_policy_id'
Public bug reported: centos7 openstack mitaka [root@TEST ~(keystone_admin)]# neutron net-create --prefix 192.168.0.0/24 network Created a new network: +---+--+ | Field | Value| +---+--+ | admin_state_up| True | | availability_zone_hints | | | availability_zones| | | created_at| 2016-08-11T08:13:22 | | description | | | id| d20f2f83-059e-426d-8a93-fbbe95a3d53a | | ipv4_address_scope| | | ipv6_address_scope| | | mtu | 1450 | | name | network | | provider:network_type | vxlan| | provider:physical_network | | | provider:segmentation_id | 13 | | router:external | False| | shared| False| | status| ACTIVE | | subnets | | | tags | | | tenant_id | 985f84783f7c401288e11e0eb84a520e | | updated_at| 2016-08-11T08:13:22 | +---+--+ [root@TEST ~(keystone_admin)]# [root@TEST ~(keystone_admin)]# [root@TEST ~(keystone_admin)]# [root@TECS-27 ~(keystone_admin)]# neutron net-update --no-qos-policy network Unrecognized attribute(s) 'qos_policy_id' Neutron server returns request_ids: ['req-fb5211d6-a459-48d7-af0c-48deb3f21487'] [root@TEST ~(keystone_admin)]# /var/log/neutron/server.log 2016-08-11 16:14:48.558 7238 INFO neutron.api.v2.resource [req- fb5211d6-a459-48d7-af0c-48deb3f21487 17770d50d8e643c6a570e11383770d5a 985f84783f7c401288e11e0eb84a520e - - -] update failed (client error): Unrecognized attribute(s) 'qos_policy_id' ** Affects: neutron Importance: Undecided Assignee: liuwei (liu-wei81) Status: New ** Tags: neutron ** Project changed: packstack => neutron ** Changed in: neutron Assignee: (unassigned) => liuwei (liu-wei81) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1612119 Title: Unrecognized attribute(s) 'qos_policy_id' Status in neutron: New Bug description: centos7 openstack mitaka [root@TEST ~(keystone_admin)]# neutron net-create --prefix 192.168.0.0/24 network Created a new network: +---+--+ | Field | Value| +---+--+ | admin_state_up| True | | availability_zone_hints | | | availability_zones| | | created_at| 2016-08-11T08:13:22 | | description | | | id| d20f2f83-059e-426d-8a93-fbbe95a3d53a | | ipv4_address_scope| | | ipv6_address_scope| | | mtu | 1450 | | name | network | | provider:network_type | vxlan| | provider:physical_network | | | provider:segmentation_id | 13 | | router:external | False| | shared| False| | status| ACTIVE | | subnets | | | tags | | | tenant_id | 985f84783f7c401288e11e0eb84a520e | | updated_at| 2016-08-11T08:13:22 | +---+--+ [root@TEST ~(keystone_admin)]# [root@TEST ~(keystone_admin)]# [root@TEST ~(keystone_admin)]# [root@TECS-27 ~(keystone_admin)]# neutron net-update --no-qos-policy network Unrec
[Yahoo-eng-team] [Bug 1583419] Re: Make dict.keys() PY3 compatible
** No longer affects: ceilometer ** No longer affects: python-ceilometerclient ** No longer affects: python-heatclient -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1583419 Title: Make dict.keys() PY3 compatible Status in Cinder: In Progress Status in neutron: In Progress Status in python-cinderclient: Fix Released Status in python-glanceclient: New Status in python-manilaclient: In Progress Status in python-troveclient: Fix Released Status in Rally: Fix Released Status in tempest: In Progress Bug description: In PY3, dict.keys() will return a view of list but not a list anymore, i.e. $ python3.4 Python 3.4.3 (default, Mar 31 2016, 20:42:37) >>> body={"11":"22"} >>> body[body.keys()[0]] Traceback (most recent call last): File "", line 1, in TypeError: 'dict_keys' object does not support indexing so for py3 compatible we should change it as follows: >>> body[list(body.keys())[0]] '22' To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1583419/+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 1583419] Re: Make dict.keys() PY3 compatible
** Also affects: python-ceilometerclient Importance: Undecided Status: New ** Changed in: python-ceilometerclient Assignee: (unassigned) => liuwei (liu-wei81) ** Also affects: python-heatclient Importance: Undecided Status: New ** Changed in: python-heatclient Assignee: (unassigned) => liuwei (liu-wei81) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1583419 Title: Make dict.keys() PY3 compatible Status in Ceilometer: In Progress Status in Cinder: In Progress Status in heat: New Status in neutron: New Status in OpenStack Compute (nova): New Status in python-ceilometerclient: New Status in python-cinderclient: Fix Released Status in python-heatclient: New Status in python-manilaclient: In Progress Status in python-troveclient: In Progress Status in Rally: In Progress Bug description: In PY3, dict.keys() will return a view of list but not a list anymore, i.e. $ python3.4 Python 3.4.3 (default, Mar 31 2016, 20:42:37) >>> body={"11":"22"} >>> body[body.keys()[0]] Traceback (most recent call last): File "", line 1, in TypeError: 'dict_keys' object does not support indexing so for py3 compatible we should change it as follows: >>> body[list(body.keys())[0]] '22' To manage notifications about this bug go to: https://bugs.launchpad.net/ceilometer/+bug/1583419/+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 1583419] Re: Make dict.keys() PY3 compatible
** Also affects: ceilometer Importance: Undecided Status: New ** Changed in: ceilometer Assignee: (unassigned) => liuwei (liu-wei81) ** Also affects: heat Importance: Undecided Status: New ** Changed in: heat Assignee: (unassigned) => liuwei (liu-wei81) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1583419 Title: Make dict.keys() PY3 compatible Status in Ceilometer: New Status in Cinder: In Progress Status in heat: New Status in neutron: New Status in OpenStack Compute (nova): New Status in python-cinderclient: Fix Released Status in python-manilaclient: In Progress Status in python-troveclient: In Progress Status in Rally: In Progress Bug description: In PY3, dict.keys() will return a view of list but not a list anymore, i.e. $ python3.4 Python 3.4.3 (default, Mar 31 2016, 20:42:37) >>> body={"11":"22"} >>> body[body.keys()[0]] Traceback (most recent call last): File "", line 1, in TypeError: 'dict_keys' object does not support indexing so for py3 compatible we should change it as follows: >>> body[list(body.keys())[0]] '22' To manage notifications about this bug go to: https://bugs.launchpad.net/ceilometer/+bug/1583419/+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 1517841] [NEW] nova cannot create vm with security_group []
Public bug reported: I want to create nova vm with security_group [] in kilo nova boot only has --security-groups option, without ---no-security- groups When I create vm without --security-groups option, the security-groups of vm is 'default' ** Affects: nova Importance: Undecided Status: New ** Tags: nova securitygroups -- 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/1517841 Title: nova cannot create vm with security_group [] Status in OpenStack Compute (nova): New Bug description: I want to create nova vm with security_group [] in kilo nova boot only has --security-groups option, without ---no-security- groups When I create vm without --security-groups option, the security- groups of vm is 'default' To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1517841/+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 1417921] [NEW] Error: Unauthorized: Unable to retrieve stack list.
Public bug reported: As not admin role user, but heat_stack_user rule one, when I select orchestration -->stack in horizon WEB-UI, it hints Error: Unauthorized: Unable to retrieve stack list. then I launch one stack, input necessary parameters, click 'next' , it hints: You must specify a template via one of the available sources. keystone.log 2015-02-04 15:49:11.442 14962 WARNING keystone.common.wsgi [-] You are not authorized to perform the requested action, admin_required. 2015-02-04 16:06:11.701 14962 WARNING keystone.common.wsgi [-] You are not authorized to perform the requested action, admin_required. 2015-02-04 16:08:09.213 14962 WARNING keystone.common.wsgi [-] You are not authorized to perform the requested action, admin_required. In last, I modified ( "deny_stack_user": "not role:heat_stack_user" ) in /etc/heat/policy.json to ( "deny_stack_user": "role:heat_stack_user" ) , all is ok ** Affects: heat Importance: Undecided Status: New ** Tags: heat ** Project changed: nova => heat -- 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/1417921 Title: Error: Unauthorized: Unable to retrieve stack list. Status in Orchestration API (Heat): New Bug description: As not admin role user, but heat_stack_user rule one, when I select orchestration -->stack in horizon WEB-UI, it hints Error: Unauthorized: Unable to retrieve stack list. then I launch one stack, input necessary parameters, click 'next' , it hints: You must specify a template via one of the available sources. keystone.log 2015-02-04 15:49:11.442 14962 WARNING keystone.common.wsgi [-] You are not authorized to perform the requested action, admin_required. 2015-02-04 16:06:11.701 14962 WARNING keystone.common.wsgi [-] You are not authorized to perform the requested action, admin_required. 2015-02-04 16:08:09.213 14962 WARNING keystone.common.wsgi [-] You are not authorized to perform the requested action, admin_required. In last, I modified ( "deny_stack_user": "not role:heat_stack_user" ) in /etc/heat/policy.json to ( "deny_stack_user": "role:heat_stack_user" ) , all is ok To manage notifications about this bug go to: https://bugs.launchpad.net/heat/+bug/1417921/+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