[Yahoo-eng-team] [Bug 1264230] [NEW] Glance api fails to start with ZeroMQ rpc backend

2013-12-25 Thread Rohit Karajgi
Public bug reported: Glance API does not start when configured with zmq as the rpc backend. In glance-api.conf, added: rpc_zmq_host = precise2 rpc_zmq_matchmaker = glance.openstack.common.rpc.matchmaker_ring.MatchMakerRing rpc_backend = glance.openstack.common.rpc.impl_zmq The glance common code

[Yahoo-eng-team] [Bug 1264228] [NEW] OPENSTACK_KEYSTONE_DEFAULT_ROLE is not correct by default

2013-12-25 Thread JiaHao Li
Public bug reported: keystone default role is _member_, while horizon set OPENSTACK_KEYSTONE_DEFAULT_ROLE to Member. So if operator follows the instruction of docs.openstack.org installation guide, then he/she will fail to create new project on dashboard->admin->project->create project. It is rea

[Yahoo-eng-team] [Bug 1264220] [NEW] An internal error happens if passing invalid parameter to "create flavor_extraspecs" API

2013-12-25 Thread Ken'ichi Ohmichi
Public bug reported: If passing invalid parameter to "create flavor_extraspecs" API, an internal error happens and Traceback is written in log file. Nova should return BadRequest response instead of internal error. $ curl -i 'http://10.21.42.109:8774/v2/fd283c7ef47b4f46899403e9ebb1e2ed/flavors/

[Yahoo-eng-team] [Bug 1264210] [NEW] ValueError should use '%' instead of ', '

2013-12-25 Thread Haojie Jia
Public bug reported: The method _load_service_plugins() in /neutron/neutron/managers.py raise ValueError exception as follows: if plugin_inst.get_plugin_type() in self.service_plugins: raise ValueError(_("Multiple plugins for service " "%s were

[Yahoo-eng-team] [Bug 1264204] [NEW] redundant code in glance.tests.unit.utils:FakeDB.reset

2013-12-25 Thread ZhiQiang Fan
Public bug reported: glance.tests.unit.utils:FakeDB uses glance.db.simple.api FakeDB implements reset with: @staticmethod def reset(): simple_db.DATA = { 'images': {}, 'members': [], 'tags': {}, 'locations': [], 'tasks'

[Yahoo-eng-team] [Bug 1264193] [NEW] wrong doc string for glance.db.sqlalchemy.migration.db_sync

2013-12-25 Thread ZhiQiang Fan
Public bug reported: When review patch: https://review.openstack.org/#/c/64076/ I found that: def db_sync(version=None, current_version=None): """ Place a database under migration control and perform an upgrade :retval version number """ sql_connection = CONF.sql_connection try:

[Yahoo-eng-team] [Bug 1264182] [NEW] xrange not support python3

2013-12-25 Thread Liang Bo
Public bug reported: In file: openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py: if icmp_type not in xrange(-1, 256): if icmp_code not in xrange(-1, 256): 1. xrange is not supported in python3 2. we could replace xrange here with range ** A

[Yahoo-eng-team] [Bug 1262424] Re: Files without code should not contain copyright notices

2013-12-25 Thread Jay Lau
** Also affects: oslo Importance: Undecided Status: 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/1262424 Title: Files without code should not contain copyright notices S

[Yahoo-eng-team] [Bug 1264111] [NEW] Passing driver name to a driver in order to use driver with different configurations

2013-12-25 Thread Evgeny Fedoruk
Public bug reported: For the ability to use same lbaas driver with different configurations, driver name (or actually configuration name) should be passed to a driver when instantiating it. Different configuration options will be used when with same driver by just changing the name of service pro

[Yahoo-eng-team] [Bug 1264089] [NEW] Wrong string format in exception in glance.api.v2.image_data

2013-12-25 Thread Sergey Nikitin
Public bug reported: /glance/api/v2/image_data.py #103-107 except exception.ImageSizeLimitExceeded as e: msg = _("The incoming image is too large: %") % e LOG.error(msg) raise webob.exc.HTTPRequestEntityTooLarge(explanation=msg,

[Yahoo-eng-team] [Bug 1264087] [NEW] no-security-groups option is not working on neutron port-create

2013-12-25 Thread ofer blaut
Public bug reported: Version === Havana on rhel , python-neutronclient Description === Creating a port with --no-security-groups option ,will still attached the default security group Logs = [root@puma04 ~(keystone_admin_tenant3)]$neutron security-group-list +

[Yahoo-eng-team] [Bug 1264076] [NEW] Should use a new xml namespace in v3 api

2013-12-25 Thread Shuangtai Tian
Public bug reported: The V3 APIs now also use the XMLNS_V11: XMLNS_V11 = 'http://docs.openstack.org/compute/api/v1.1' For example :https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/plugins/v3/flavors.py#L45 I thinks we should add a new for V3 ** Affects: nova Import

[Yahoo-eng-team] [Bug 1264058] [NEW] run_test.sh broken for RequiredOptError: value required for option: lock_path

2013-12-25 Thread Qiu Yu
Public bug reported: Steps To Reproduce ./run_tests.sh nova.tests.integrated.test_api_samples Versions Affected - Trunk version after Dec. 21 2013, with following commit commit 78d62186e5b0388f740d42cb8da5798cd67d7880 Refs: 2014.1.b1-281-g78d

[Yahoo-eng-team] [Bug 1264054] Re: Optimize code, delete a try statement

2013-12-25 Thread Oleg Bondarev
This is not an equivalent change: RuntimeError handler may also raise exception which should be catched by Exception handler - after such optimization it wouldn't. ** Changed in: neutron Status: In Progress => Invalid -- You received this bug notification because you are a member of Yaho

[Yahoo-eng-team] [Bug 1264056] [NEW] Redundant code to set sql_connection

2013-12-25 Thread Lee Li
Public bug reported: In methods 'version_control' and 'db_sync' in glance/db/sqlalchemy/migration.py, there are redundant code 'sql_connection = CONF.sql_connection'. It will never be used because the ' _version_control' has the sentence. ** Affects: glance Importance: Undecided Assi

[Yahoo-eng-team] [Bug 1264056] [NEW] Redundant code to set sql_connection

2013-12-25 Thread Launchpad Bug Tracker
You have been subscribed to a public bug: In methods 'version_control' and 'db_sync' in glance/db/sqlalchemy/migration.py, there are redundant code 'sql_connection = CONF.sql_connection'. It will never be used because the ' _version_control' has the sentence. ** Affects: glance Importance

[Yahoo-eng-team] [Bug 1264052] Re: Optimize code, delete a try statement

2013-12-25 Thread Haojie Jia
sorry, this bug is in neutron project, not in glance project, I report a bug in Neutron: https://bugs.launchpad.net/neutron/+bug/1264054 ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscr

[Yahoo-eng-team] [Bug 1264054] [NEW] Optimize code, delete a try statement

2013-12-25 Thread Haojie Jia
Public bug reported: The method serve_wsgi() in /neutron/neutron/service.py have two try statemens to capture exceptions,as follows: def serve_wsgi(cls): try: try: service = cls.create() service.start() except RuntimeError: LOG.exception(_(

[Yahoo-eng-team] [Bug 1264052] [NEW] Optimize code, delete a try statement

2013-12-25 Thread Haojie Jia
Public bug reported: The method serve_wsgi() in /neutron/neutron/service.py have two try statemens to capture exceptions,as follows: def serve_wsgi(cls): try: try: service = cls.create() service.start() except RuntimeError: LOG.exception(_