[Yahoo-eng-team] [Bug 1280522] Re: Replace assertEqual(None, *) with assertIsNone in tests

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/392125
Committed: 
https://git.openstack.org/cgit/openstack/zun/commit/?id=afe2b6fa12a631eb7912e93806e5f1ac0f4efc0b
Submitter: Jenkins
Branch:master

commit afe2b6fa12a631eb7912e93806e5f1ac0f4efc0b
Author: xxj 
Date:   Tue Nov 1 20:21:23 2016 +0800

Replace assertEqual(None, *) with assertIsNone

Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Closes-Bug:#1280522
Change-Id: Ib7a24bf7443d9c49e42119c649a32a1e8bd20ba1


** Changed in: zun
   Status: In Progress => Fix Released

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

Title:
  Replace assertEqual(None, *) with assertIsNone in tests

Status in Anchor:
  Fix Released
Status in anvil:
  New
Status in bifrost:
  Fix Released
Status in Blazar:
  In Progress
Status in Cinder:
  Fix Released
Status in congress:
  Fix Released
Status in Designate:
  Fix Released
Status in dox:
  New
Status in DragonFlow:
  New
Status in Freezer:
  New
Status in Glance:
  Fix Released
Status in glance_store:
  Fix Released
Status in heat-cfntools:
  Fix Released
Status in Heat Translator:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in Ironic:
  Fix Released
Status in ironic-python-agent:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in keystoneauth:
  Fix Released
Status in kolla-mesos:
  Fix Released
Status in Manila:
  Fix Released
Status in networking-brocade:
  New
Status in networking-cisco:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released
Status in octavia:
  Fix Released
Status in ooi:
  Fix Released
Status in os-brick:
  Fix Released
Status in os-client-config:
  Fix Released
Status in oslo.messaging:
  Fix Released
Status in python-barbicanclient:
  Fix Released
Status in python-ceilometerclient:
  Fix Released
Status in python-cinderclient:
  Fix Released
Status in python-congressclient:
  Fix Released
Status in python-cueclient:
  Fix Released
Status in python-designateclient:
  Fix Released
Status in python-glanceclient:
  Fix Released
Status in python-heatclient:
  Fix Released
Status in python-ironicclient:
  Fix Released
Status in python-manilaclient:
  Fix Released
Status in python-neutronclient:
  Fix Released
Status in python-openstackclient:
  Fix Released
Status in OpenStack SDK:
  Fix Released
Status in python-swiftclient:
  Fix Released
Status in python-troveclient:
  Fix Released
Status in Python client library for Zaqar:
  Fix Released
Status in Quark: Money Reinvented:
  New
Status in Sahara:
  Fix Released
Status in OpenStack Search (Searchlight):
  Fix Released
Status in Solum:
  Fix Released
Status in Stackalytics:
  Fix Released
Status in OpenStack Object Storage (swift):
  Invalid
Status in taskflow:
  Fix Released
Status in tempest:
  Fix Released
Status in OpenStack DBaaS (Trove):
  Fix Released
Status in tuskar:
  Fix Released
Status in watcher:
  Fix Released
Status in zaqar:
  Fix Released
Status in Zun:
  Fix Released
Status in designate package in Ubuntu:
  Fix Released
Status in python-tuskarclient package in Ubuntu:
  Fix Committed

Bug description:
  Replace assertEqual(None, *) with assertIsNone in tests to have
  more clear messages in case of failure.

To manage notifications about this bug go to:
https://bugs.launchpad.net/anchor/+bug/1280522/+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 1480941] Re: Hyper-V: Driver does not check if live migration is possible to destination node

2016-11-01 Thread Launchpad Bug Tracker
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
   Status: Incomplete => Expired

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

Title:
  Hyper-V: Driver does not check if live migration is possible to
  destination node

Status in OpenStack Compute (nova):
  Expired

Bug description:
  Hyper-V Driver does not check whether it can live migrate instances to
  the given destination [1], meaning that all destinations are valid for
  the operation, including nodes which are not in the same Active
  Directory. Attempting to live migrate to another host in another AD
  will cause the operation to fail. [2]

  
  [1] 
https://github.com/openstack/nova/blob/master/nova/virt/hyperv/livemigrationops.py#L119

  [2] http://paste.openstack.org/show/406766/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1480941/+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 1624784] Re: Fix missing i18n support for help text

2016-11-01 Thread liwei
** Also affects: python-glanceclient
   Importance: Undecided
   Status: New

** Changed in: python-glanceclient
 Assignee: (unassigned) => liwei (wei-li)

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

Title:
  Fix missing i18n support for help text

Status in Glance:
  In Progress
Status in python-glanceclient:
  New

Bug description:
  There are some missing translations for help text in glance.We should
  use i18n to wrap help text with _(),so the text will get translated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1624784/+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 1621615] Re: network not configured when ipv6 netbooted into cloud-init

2016-11-01 Thread LaMont Jones
My currently-pending MPs address the issue and work in conjunction with
the new fixes for Bug#1621507:

https://code.launchpad.net/~lamont/cloud-init/+git/bug-1621615-device6/+merge/309718
https://code.launchpad.net/~lamont/cloud-initramfs-tools/bug-1621615-device6/+merge/309719

These need to land in zesty, and get SRUed to xenial and yakkety.

** Changed in: maas
   Status: Fix Released => In Progress

** Changed in: cloud-init
   Status: Fix Committed => Confirmed

** Changed in: cloud-init (Ubuntu)
   Status: Fix Released => Confirmed

** Changed in: cloud-init (Ubuntu Xenial)
   Status: Fix Released => Confirmed

** Changed in: cloud-initramfs-tools (Ubuntu)
   Status: Fix Released => Confirmed

** Changed in: cloud-initramfs-tools (Ubuntu Xenial)
   Status: Fix Released => Confirmed

** Also affects: cloud-init (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Also affects: cloud-initramfs-tools (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Changed in: maas
Milestone: 2.1.0 => 2.1.1

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

Title:
  network not configured when ipv6 netbooted into cloud-init

Status in cloud-init:
  Confirmed
Status in MAAS:
  In Progress
Status in cloud-init package in Ubuntu:
  Confirmed
Status in cloud-initramfs-tools package in Ubuntu:
  Confirmed
Status in cloud-init source package in Xenial:
  Confirmed
Status in cloud-initramfs-tools source package in Xenial:
  Confirmed
Status in cloud-init source package in Yakkety:
  New
Status in cloud-initramfs-tools source package in Yakkety:
  New

Bug description:
  https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1621507 talks of
  how IPv6 netboot with iscsi root disk doesn't work, blocking IPv6-only
  MAAS.

  After I hand-walked busybox through getting an IPv6 address,
  everything worked just fine until cloud-init couldn't fetch the
  instance data, because it insisted on bringing up the interface in
  IPv4, and there is no IPv4 DHCP on that vlan.

  Please work with initramfs and friends on getting IPv6 netboot to
  actually configure the interface.  This may be as simple as teaching
  it about "inet6 dhcp" interfaces, and bolting the pieces together.
  Note that "use radvd" is not really an option for our use case.

  Related bugs:
   * bug 1621507: initramfs-tools configure_networking() fails to dhcp IPv6 
addresses
   * bug 1635716: Can't bring up a machine on a dual network (ipv4 and ipv6) 

  [Impact]

  It is not possible to enlist, commmission, or deploy with MAAS in an
  IPv6-only environment. Anyone wanting to netboot with a network root
  filesystem in an IPv6-only environment is affected.

  This upload addresses this by accepting, using, and forwarding any
  IPV6* variables from the initramfs boot.  (See
  https://launchpad.net/bugs/1621507)

  [Test Case]

  See Bug 1229458. Configure radvd, dhcpd, and tftpd for your IPv6-only
  netbooting world. Pass the boot process an IPv6 address to fetch
  instance-data from, and see it fail to configure the network.

  [Regression Potential]

  1) If the booting host is in a dual-boot environment, and the
  instance-dat URL uses a hostname that has both A and  RRsets, the
  booting host may try to talk IPv6 to get instance data.  If the
  instance-data providing host is only allowing that to happen over
  IPv4, it will fail. (It also represents a configuraiton issue on the
  providing host...)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1621615/+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 1434103] Re: SQL schema downgrades are no longer supported

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/382676
Committed: 
https://git.openstack.org/cgit/openstack/trove/commit/?id=6593986b34030b533bc66d112aaa6f873d519b52
Submitter: Jenkins
Branch:master

commit 6593986b34030b533bc66d112aaa6f873d519b52
Author: Trevor McCasland 
Date:   Wed Oct 5 17:20:45 2016 -0500

Remove downgrade

Removed downgrade from all existing migrations.
Modified a test that verifies that no migrations have a downgrade.
Modified test _walk_versions to only do upgrades.
Removed exceptions from pylint.config

Related cross-project spec: https://review.openstack.org/152337
Closes-Bug: #1434103

Change-Id: I9a7c87ae3f4e2eff3a4a6df881d086d52062dbba


** Changed in: trove
   Status: In Progress => Fix Released

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

Title:
  SQL schema downgrades are no longer supported

Status in Ceilometer:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in Magnum:
  Fix Released
Status in neutron:
  Fix Released
Status in octavia:
  Fix Released
Status in Sahara:
  Fix Released
Status in OpenStack DBaaS (Trove):
  Fix Released

Bug description:
  Approved cross-project spec: https://review.openstack.org/152337

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1434103/+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 1638399] [NEW] EC2 networking driver for Neutron

2016-11-01 Thread Sachin
Public bug reported:

OpenStack project is so far focused on private cloud management. This
proposal together with a set of others for glance, cinder and nova aim
to extend OpenStack for side-by-side management of Public cloud.

Enterprises are increasingly looking at hybrid and multi-cloud strategy
as next phase of their datacenter environments. Public cloud offers
flexible on-demand resource while private cloud gives the ability to run
workloads securely. There is lack of standard when it comes to cloud
management. These specs propose OpenStack API as the solution.
Regardless of infrastructure — public or private and technology — KVM,
VMware or Hyper-V cloud workloads can be deployed and managed with
standard OpenStack API.

This driver will provide a mechanism to implement neutron networking on top of 
AWS. As was demoed in the Openstack Barcelona Summit in 2016, following 
constructs map nicely and work.
-- Creation of tenant networks and all operations
-- Creation of subnet
-- Creation of router to connect external (public) network to tenant network
-- Floating IPs.

The draft code is available here: https://github.com/platform9
/openstack-omni/tree/master/neutron

** Affects: neutron
 Importance: Undecided
 Status: New


** Tags: rfe

** Tags added: rfe

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

Title:
  EC2 networking driver for Neutron

Status in neutron:
  New

Bug description:
  OpenStack project is so far focused on private cloud management. This
  proposal together with a set of others for glance, cinder and nova aim
  to extend OpenStack for side-by-side management of Public cloud.

  Enterprises are increasingly looking at hybrid and multi-cloud
  strategy as next phase of their datacenter environments. Public cloud
  offers flexible on-demand resource while private cloud gives the
  ability to run workloads securely. There is lack of standard when it
  comes to cloud management. These specs propose OpenStack API as the
  solution. Regardless of infrastructure — public or private and
  technology — KVM, VMware or Hyper-V cloud workloads can be deployed
  and managed with standard OpenStack API.

  This driver will provide a mechanism to implement neutron networking on top 
of AWS. As was demoed in the Openstack Barcelona Summit in 2016, following 
constructs map nicely and work.
  -- Creation of tenant networks and all operations
  -- Creation of subnet
  -- Creation of router to connect external (public) network to tenant network
  -- Floating IPs.

  The draft code is available here: https://github.com/platform9
  /openstack-omni/tree/master/neutron

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1638399/+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 1638381] [NEW] Live Migration failure: 'unicode' object has no attribute '_o'

2016-11-01 Thread Einar Næss Jensen
Public bug reported:

nova live-migration a7ff526d-0cab-4da7-92c2-49d8e89d1d27
dev02-compute-01 --block-migrate


gives this in nova log:
2016-11-01 21:48:49.242 14425 ERROR nova.virt.libvirt.driver 
[req-750740d4-c988-4d91-b690-78fca9ac20b4 08e955c2ffdb49b1abeb5b5c4f8fad03 
805b50c70a744113b7d87dd248111275 - - -] [instance: 
a7ff526d-0cab-4da7-92c2-49d8e89d1d27] Live Migration failure: 'unicode' object 
has no attribute '_o'
2016-11-01 21:48:49.288 14425 ERROR nova.virt.libvirt.driver 
[req-750740d4-c988-4d91-b690-78fca9ac20b4 08e955c2ffdb49b1abeb5b5c4f8fad03 
805b50c70a744113b7d87dd248111275 - - -] [instance: 
a7ff526d-0cab-4da7-92c2-49d8e89d1d27] Migration operation has aborted


and instance is not live-migrated.

regular migrating works:


root@dev02-controller-01:~# nova migrate a7ff526d-0cab-4da7-92c2-49d8e89d1d27 
root@dev02-controller-01:~# nova list --all
WARNING: Option "--all_tenants" is deprecated; use "--all-tenants"; this option 
will be removed in novaclient 3.3.0.
+--+--+--+-+--+-++
| ID   | Name | Tenant ID   
 | Status  | Task State   | Power State | Networks  
 |
+--+--+--+-+--+-++
| a7ff526d-0cab-4da7-92c2-49d8e89d1d27 | Centos7-provider-01  | 
975ce89aac384a44be29269198817d00 | RESIZE  | resize_migrating | Running | 
provider=10.100.16.53  |
| edbf68ea-fa00-4493-813e-214fa87599b1 | centos7-selfserved   | 
975ce89aac384a44be29269198817d00 | ACTIVE  | -| Running | 
selfservice=172.16.1.5 |
| d303140e-447f-4ec6-9226-fa041a777f3c | democirr | 
975ce89aac384a44be29269198817d00 | SHUTOFF | -| Shutdown| 
provider=10.100.16.57  |
| 93aeb4c8-46b9-44f2-b32f-152305e3e747 | frontend | 
8e37b03ab46f4cc8bfc21f1659f2613b | SHUTOFF | -| Shutdown| 
provider=10.100.16.55  |
| 24104cff-d89d-4ecf-a53a-786e68a5d1e4 | fsdfs| 
975ce89aac384a44be29269198817d00 | ACTIVE  | -| Running | 
provider=10.100.16.63  |
| 9538b44e-2c92-40cc-a37e-032af7dd3cf7 | provider1| 
975ce89aac384a44be29269198817d00 | SHUTOFF | -| Shutdown| 
provider=10.100.16.52  |
| 2744b560-7105-4cb8-ada0-0dfefa92fdf4 | selfservice-instance | 
975ce89aac384a44be29269198817d00 | ACTIVE  | -| Running | 
selfservice=172.16.1.3 |
+--+--+--+-+--+-++
root@dev02-controller-01:~# nova list --all
WARNING: Option "--all_tenants" is deprecated; use "--all-tenants"; this option 
will be removed in novaclient 3.3.0.
+--+--+--+---++-++
| ID   | Name | Tenant ID   
 | Status| Task State | Power State | Networks  
 |
+--+--+--+---++-++
| a7ff526d-0cab-4da7-92c2-49d8e89d1d27 | Centos7-provider-01  | 
975ce89aac384a44be29269198817d00 | VERIFY_RESIZE | -  | Running | 
provider=10.100.16.53  |
| edbf68ea-fa00-4493-813e-214fa87599b1 | centos7-selfserved   | 
975ce89aac384a44be29269198817d00 | ACTIVE| -  | Running | 
selfservice=172.16.1.5 |
| d303140e-447f-4ec6-9226-fa041a777f3c | democirr | 
975ce89aac384a44be29269198817d00 | SHUTOFF   | -  | Shutdown| 
provider=10.100.16.57  |
| 93aeb4c8-46b9-44f2-b32f-152305e3e747 | frontend | 
8e37b03ab46f4cc8bfc21f1659f2613b | SHUTOFF   | -  | Shutdown| 
provider=10.100.16.55  |
| 24104cff-d89d-4ecf-a53a-786e68a5d1e4 | fsdfs| 
975ce89aac384a44be29269198817d00 | ACTIVE| -  | Running | 
provider=10.100.16.63  |
| 9538b44e-2c92-40cc-a37e-032af7dd3cf7 | provider1| 
975ce89aac384a44be29269198817d00 | SHUTOFF   | -  | Shutdown| 
provider=10.100.16.52  |
| 2744b560-7105-4cb8-ada0-0dfefa92fdf4 | selfservice-instance | 
975ce89aac384a44be29269198817d00 | ACTIVE| -  | Running | 
selfservice=172.16.1.3 |
+--+--+--+---++-++
root@dev02-controller-01:~# nova resize-confirm 
a7ff526d-0cab-4da7-92c2-49d8e89d1d27


root@dev02-controller-01:~# nova --debug 

[Yahoo-eng-team] [Bug 1585100] Re: lbaas-poolmember: subnet is optional according to docs, but actually required

2016-11-01 Thread Anne Gentle
** No longer affects: openstack-api-site

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

Title:
  lbaas-poolmember: subnet is optional according to docs, but actually
  required

Status in neutron:
  Opinion

Bug description:
  I have devstack master with neutron lbaas with octavia.
  And I tried to create poolmember with this Heat template:
  heat_template_version: 2013-05-23

  resources:
port:
  type: OS::Neutron::LBaaS::PoolMember
  properties:
pool: 7abe4251-c643-414a-8776-7346b9c09e71
address: 5.5.5.5
protocol_port: 

  And then I got an error:
  2016-05-24 11:20:26.239 INFO heat.engine.resource 
[req-3734d004-fe1d-4e55-8978-15c9251d5f30 None demo] CREATE: PoolMember "port" 
Stack "test_pool" [0ae40413-9d58-4840-8915-67dbc43f9035]
  2016-05-24 11:20:26.239 TRACE heat.engine.resource Traceback (most recent 
call last):
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/opt/stack/heat/heat/engine/resource.py", line 715, in _action_recorder
  2016-05-24 11:20:26.239 TRACE heat.engine.resource yield
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/opt/stack/heat/heat/engine/resource.py", line 795, in _do_action
  2016-05-24 11:20:26.239 TRACE heat.engine.resource yield 
self.action_handler_task(action, args=handler_args)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/opt/stack/heat/heat/engine/scheduler.py", line 329, in wrapper
  2016-05-24 11:20:26.239 TRACE heat.engine.resource step = next(subtask)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/opt/stack/heat/heat/engine/resource.py", line 763, in action_handler_task
  2016-05-24 11:20:26.239 TRACE heat.engine.resource done = 
check(handler_data)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/opt/stack/heat/heat/engine/resources/openstack/neutron/lbaas/pool_member.py", 
line 168, in check_create_complete
  2016-05-24 11:20:26.239 TRACE heat.engine.resource self.pool_id, 
{'member': properties})['member']
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 
1110, in create_lbaas_member
  2016-05-24 11:20:26.239 TRACE heat.engine.resource return 
self.post(self.lbaas_members_path % lbaas_pool, body=body)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 
347, in post
  2016-05-24 11:20:26.239 TRACE heat.engine.resource headers=headers, 
params=params)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 
282, in do_request
  2016-05-24 11:20:26.239 TRACE heat.engine.resource 
self._handle_fault_response(status_code, replybody, resp)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 
257, in _handle_fault_response
  2016-05-24 11:20:26.239 TRACE heat.engine.resource 
exception_handler_v20(status_code, error_body)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource   File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 84, 
in exception_handler_v20
  2016-05-24 11:20:26.239 TRACE heat.engine.resource 
request_ids=request_ids)
  2016-05-24 11:20:26.239 TRACE heat.engine.resource BadRequest: Failed to 
parse request. Required attribute 'subnet_id' not specified
  2016-05-24 11:20:26.239 TRACE heat.engine.resource Neutron server returns 
request_ids: ['req-307da359-cccb-4b57-a9cb-0a29186e62cb']

  I also tried to create poolmember with cli, and got a message that
  subnet is required to create poolmember.

  But according to docs http://developer.openstack.org/api-ref-
  networking-v2-ext.html#createMemberv2 subnet is optional.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1585100/+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 1552056] Re: "router-interface-delete port=xxx" deletes the whole port instead of just removing the interface

2016-11-01 Thread Anne Gentle
** Changed in: openstack-api-site
   Status: Fix Committed => Fix Released

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

Title:
  "router-interface-delete port=xxx" deletes the whole port instead of
  just removing the interface

Status in neutron:
  Won't Fix
Status in openstack-api-site:
  Fix Released

Bug description:
  The help message of "neutron router-interface-delete" says

  "Remove an internal network interface from a router."

  =
  Expected behavior
  =
  neutron router-interface-add subnet=subnetx
  --> creates a port, and adds this port as interface to the router

  neutron router-interface-delete subnet=subnetx
  --> removes that interface from the router and deletes the corresponding port

  
  neutron router-interface-add port=portx
  --> adds an already existing port as interface to the router

  neutron router-interface-delete port=portx
  --> removes that interface from the router. Does NOT delete that 
corresponding port

  =
  Actual result
  =

  "neutron router-interface-delete subnet=subnetx" works as expected.

  BUT

  "neutron router-interface-delete port=portx" does not only remove the
  interface from the router, it also deletes the whole port!

  
  =
  Proposed solution
  =

  Either
  #1 Extend the API description to refelct this behavior

  
  Or
  #2 Change the behavior in the special case to NOT delete the port, but only 
remove the interface from the router

  
  ==
  Steps to reproduce
  ==

  # neutron router-interface-delete -h
  usage: neutron router-interface-delete [-h] [--request-format {json}]
 ROUTER INTERFACE

  Remove an internal network interface from a router.

  positional arguments:
ROUTERID or name of the router.
INTERFACE The format is "SUBNET|subnet=SUBNET|port=PORT". Either
  a subnet or port must be specified. Both ID and name
  are accepted as SUBNET or PORT. Note that "subnet="
  can be omitted when specifying a subnet.


  [root@tecs218 ~(keystone_admin)]# neutron router-create test
  Created a new router:
  +---+--+
  | Field | Value|
  +---+--+
  | admin_state_up| True |
  | external_gateway_info |  |
  | id| 4039bd93-b183-4250-af0f-e9739ac1a19a |
  | name  | test |
  | status| ACTIVE   |
  | tenant_id | 0d76aad1dda94f83a2a0a55c04547434 |
  +---+--+
  [root@tecs218 ~(keystone_admin)]# neutron router-interface-add test  
port=90e0abe1-852b-4cfe-afd9-2bd31a42c279
  Added interface 90e0abe1-852b-4cfe-afd9-2bd31a42c279 to router test.
  [root@tecs218 ~(keystone_admin)]# neutron router-interface-add test  
port=90e0abe1-852b-4cfe-afd9-2bd31a42c27^C
  [root@tecs218 ~(keystone_admin)]# neutron port-show 
90e0abe1-852b-4cfe-afd9-2bd31a42c279
  
+-+---+
  | Field   | Value 
|
  
+-+---+
  | admin_state_up  | True  
|
  | bandwidth   | 0 
|
  | binding:host_id |   
|
  | binding:profile | {}
|
  | binding:vif_details | {}
|
  | binding:vif_type| unbound   
|
  | binding:vnic_type   | normal
|
  | bond| 0 
|
  | cbs | 0 
|
  | device_id   | 4039bd93-b183-4250-af0f-e9739ac1a19a  
|
  | device_owner| network:router_interface  

[Yahoo-eng-team] [Bug 1638368] Re: new keystone db migrations require either SUPER or log_bin_trust_function_creators=1

2016-11-01 Thread Matt Fischer
** Also affects: keystone
   Importance: Undecided
   Status: New

** Description changed:

+ Upgrade Process Docs:
+ http://docs.openstack.org/developer/keystone/upgrading.html#upgrading-
+ without-downtime
+ 
  The new keystone upgrade features (keystone-manage db_sync --expand)
  require either that the keystone user has SUPER or that
  
  set global log_bin_trust_function_creators=1; is run.
  
  I'm not sure which is the better option but logging this anyway.
  
  Without that you get this error:
  
  root@dev01-keystone-001:/var/log/mysql# keystone-manage db_sync --expand
  2016-11-01 19:56:17.803 1 INFO migrate.versioning.api [-] 97 -> 98...
  2016-11-01 19:56:17.821 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:17.821 1 INFO migrate.versioning.api [-] 98 -> 99...
  2016-11-01 19:56:17.839 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:17.839 1 INFO migrate.versioning.api [-] 99 -> 100...
  2016-11-01 19:56:17.855 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:17.856 1 INFO migrate.versioning.api [-] 100 -> 101...
  2016-11-01 19:56:17.897 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:17.897 1 INFO migrate.versioning.api [-] 101 -> 102...
  2016-11-01 19:56:17.961 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:17.961 1 INFO migrate.versioning.api [-] 102 -> 103...
  2016-11-01 19:56:18.108 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:18.109 1 INFO migrate.versioning.api [-] 103 -> 104...
  2016-11-01 19:56:18.132 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:18.132 1 INFO migrate.versioning.api [-] 104 -> 105...
  2016-11-01 19:56:18.454 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:18.455 1 INFO migrate.versioning.api [-] 105 -> 106...
  2016-11-01 19:56:18.680 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:18.680 1 INFO migrate.versioning.api [-] 106 -> 107...
  2016-11-01 19:56:18.968 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:18.968 1 INFO migrate.versioning.api [-] 107 -> 108...
  2016-11-01 19:56:19.324 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:19.325 1 INFO migrate.versioning.api [-] 108 -> 109...
  2016-11-01 19:56:19.477 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:19.534 1 INFO migrate.versioning.api [-] 0 -> 1...
  2016-11-01 19:56:19.550 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:19.550 1 INFO migrate.versioning.api [-] 1 -> 2...
  2016-11-01 19:56:19.569 1 INFO migrate.versioning.api [-] done
  2016-11-01 19:56:19.569 1 INFO migrate.versioning.api [-] 2 -> 3...
  2016-11-01 19:56:19.881 1 CRITICAL keystone [-] OperationalError: 
(_mysql_exceptions.OperationalError) (1419, 'You do not have the SUPER 
privilege and binary logging is enabled (you *might* want to use the less safe 
log_bin_trust_function_creators variable)') [SQL: "\nCREATE TRIGGER 
credential_insert_read_only BEFORE INSERT ON credential\nFOR EACH ROW\nBEGIN\n  
SIGNAL SQLSTATE '45000'\nSET MESSAGE_TEXT = 'Credential migration in 
progress. Cannot perform writes to credential table.';\nEND;\n"]
  2016-11-01 19:56:19.881 1 ERROR keystone Traceback (most recent call last):
  2016-11-01 19:56:19.881 1 ERROR keystone   File "/usr/bin/keystone-manage", 
line 10, in 
  2016-11-01 19:56:19.881 1 ERROR keystone sys.exit(main())
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/keystone/cmd/manage.py", line 44, in 
main
  2016-11-01 19:56:19.881 1 ERROR keystone cli.main(argv=sys.argv, 
config_files=config_files)
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1254, in 
main
  2016-11-01 19:56:19.881 1 ERROR keystone CONF.command.cmd_class.main()
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/keystone/cmd/cli.py", line 438, in main
  2016-11-01 19:56:19.881 1 ERROR keystone migration_helpers.expand_schema()
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py",
 line 233, in expand_schema
  2016-11-01 19:56:19.881 1 ERROR keystone 
_sync_repo(repo_name='expand_repo')
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py",
 line 144, in _sync_repo
  2016-11-01 19:56:19.881 1 ERROR keystone init_version=init_version, 
sanity_check=False)
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/migration.py", line 
78, in db_sync
  2016-11-01 19:56:19.881 1 ERROR keystone migration = 
versioning_api.upgrade(engine, repository, version)
  2016-11-01 19:56:19.881 1 ERROR keystone   File 
"/venv/local/lib/python2.7/site-packages/migrate/versioning/api.py", line 186, 
in upgrade
  2016-11-01 19:56:19.881 1 ERROR keystone return _migrate(url, repository, 
version, 

[Yahoo-eng-team] [Bug 1638273] Re: find_child_pids crashes under non-english locals

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/392137
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=3c1bf8697b9be4a406e978af8a3329389f992514
Submitter: Jenkins
Branch:master

commit 3c1bf8697b9be4a406e978af8a3329389f992514
Author: John Schwarz 
Date:   Tue Nov 1 14:28:32 2016 +0200

Don't depend on translated strings for error check

Currently, execute() may raise an exception that contains a *translated*
string that starts with 'Exit code: %(returncode)d...' if the returncode
of a process was not 0. find_child_pids() will then check if the
raised exception contains 'Exit code: 1' (to check if the returncode is
1), but in non-English locales this will fail as the 2 strings are not
encoded the same.

This patch adds a new ProcessExecutionError (which inherits from
RuntimeError, so as to not change all the code that currently depends on
execute() returning RuntimeError) which now accepts a returncode. This
can be changed explicitly without depending on the error message.

Later patches can move ProcessExecutionError to neutron-lib, if this is
needed - this patch intends to write the smallest piece of code that can
be backported.

Closes-Bug: #1638273
Change-Id: I85d3bec13e852918eb13e73c1367c70e1f4d34b1


** Changed in: neutron
   Status: In Progress => Fix Released

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

Title:
  find_child_pids crashes under non-english locals

Status in neutron:
  Fix Released

Bug description:
  Traceback available at [1].

  The function execute() returns _("Exit code: %(returncode)d; ...")
  [2]. Under non-English locales (we checked for Japanese, but surely
  this will also occur in others, the check 'Exit code: 1' in str(e)
  [3] will fail since 'Exit code: 1' is not encoded the same.

  This ultimately prevents stuff like booting a new VM.

  [1]: http://pastebin.com/x66aqctN
  [2]: 
https://github.com/openstack/neutron/blob/15d65607a47810f7d155d43902d358cb9f953a7a/neutron/agent/linux/utils.py#L127
  [3]: 
https://github.com/openstack/neutron/blob/15d65607a47810f7d155d43902d358cb9f953a7a/neutron/agent/linux/utils.py#L176

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1638273/+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 1638344] [NEW] Horizon checks a neutron policy.json action that does not exists - "remove_router" doesn't exists in the neutron policy.json

2016-11-01 Thread Rick Bartra
Public bug reported:

Horizon checks the "remove_router" neutron action which doesn't exists in the 
neutron policy.json. 
Neutron also doesn't check the "remove_router" action in the policy.json when 
performing the "neutron firewall-update  --no-routers" CLI command.

Horizon policy check:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/firewalls/tables.py#L251

Neutron policy file in Horizon:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/conf/neutron_policy.json

Neutron policy file in Neutron:
https://github.com/openstack/neutron/blob/master/etc/policy.json

** Affects: horizon
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1638344

Title:
  Horizon checks a neutron policy.json action that does not exists -
  "remove_router" doesn't exists in the neutron policy.json

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Horizon checks the "remove_router" neutron action which doesn't exists in the 
neutron policy.json. 
  Neutron also doesn't check the "remove_router" action in the policy.json when 
performing the "neutron firewall-update  --no-routers" CLI command.

  Horizon policy check:
  
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/firewalls/tables.py#L251

  Neutron policy file in Horizon:
  
https://github.com/openstack/horizon/blob/master/openstack_dashboard/conf/neutron_policy.json

  Neutron policy file in Neutron:
  https://github.com/openstack/neutron/blob/master/etc/policy.json

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1638344/+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 1608980] Re: Remove MANIFEST.in as it is not explicitly needed by PBR

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/386348
Committed: 
https://git.openstack.org/cgit/openstack/ec2-api/commit/?id=897e498ce8312d4b8373a176e548edba95929bcb
Submitter: Jenkins
Branch:master

commit 897e498ce8312d4b8373a176e548edba95929bcb
Author: Iswarya_Vakati 
Date:   Fri Oct 14 10:30:09 2016 +0530

Drop MANIFEST.in - it's not needed by pbr

Ec2-api already uses PBR:-
setuptools.setup(
setup_requires=['pbr>=1.8'],
pbr=True)

This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.

Change-Id: I3eafb35c6a8ecd89cb5719e63954aabae7899830
Closes-Bug:#1608980


** Changed in: ec2-api
   Status: In Progress => Fix Released

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

Title:
  Remove MANIFEST.in as it is not explicitly needed by PBR

Status in craton:
  Fix Released
Status in DragonFlow:
  Fix Released
Status in ec2-api:
  Fix Released
Status in gce-api:
  Fix Released
Status in Karbor:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in Kosmos:
  Fix Released
Status in Magnum:
  Fix Released
Status in masakari:
  Fix Released
Status in neutron:
  Fix Released
Status in Neutron LBaaS Dashboard:
  Confirmed
Status in octavia:
  Fix Released
Status in python-searchlightclient:
  In Progress
Status in OpenStack Search (Searchlight):
  In Progress
Status in Solum:
  Fix Released
Status in Swift Authentication:
  In Progress
Status in OpenStack Object Storage (swift):
  In Progress
Status in Tricircle:
  Fix Released
Status in OpenStack DBaaS (Trove):
  Fix Released
Status in watcher:
  Fix Released
Status in Zun:
  Fix Released

Bug description:
  PBR do not explicitly require MANIFEST.in, so it can be removed.

  
  Snippet from: http://docs.openstack.org/infra/manual/developers.html

  Manifest

  Just like AUTHORS and ChangeLog, why keep a list of files you wish to
  include when you can find many of these in git. MANIFEST.in generation
  ensures almost all files stored in git, with the exception of
  .gitignore, .gitreview and .pyc files, are automatically included in
  your distribution. In addition, the generated AUTHORS and ChangeLog
  files are also included. In many cases, this removes the need for an
  explicit ‘MANIFEST.in’ file

To manage notifications about this bug go to:
https://bugs.launchpad.net/craton/+bug/1608980/+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 1636185] Re: Associate Floating IP with server - Improve description

2016-11-01 Thread Anne Gentle
Source files for this document are in the openstack/nova/api-ref repo
location.

** Also affects: nova
   Importance: Undecided
   Status: New

** No longer affects: openstack-api-site

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

Title:
  Associate Floating IP with server - Improve description

Status in OpenStack Compute (nova):
  New

Bug description:
  According to the docs on this link

  http://developer.openstack.org/api-ref/compute/?expanded=add-
  associate-floating-ip-addfloatingip-action-detail#add-associate-
  floating-ip-addfloatingip-action

  the "addFloatingIp" parameter in the request is a string. However,
  after some attempts we figured out the documentation is not correct.
  Turns out this parameter is an object, not a String as described. A
  working example to the request would look something like this:

  body = {
  'addFloatingIp': {
  'address': '172.24.4.5',
  'fixed_address': '10.0.0.10'
  }
  }

  Please fix this parameter on the docs, and also add a working example.
  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1636185/+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 1636180] Re: Error in docs for creating new Floating IP

2016-11-01 Thread Anne Gentle
Source files are in openstack/neutron-lib/api-ref I believe, so moving
but to track with neutron.

** Also affects: neutron
   Importance: Undecided
   Status: New

** No longer affects: openstack-api-site

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

Title:
  Error in docs for creating new Floating IP

Status in neutron:
  New

Bug description:
  According to the docs on this link:

  http://developer.openstack.org/api-
  ref/networking/v2/index.html?expanded=create-floating-ip-detail
  #floating-ips-floatingips

  we should pass an object such as this for creating a new floating IP:

  {
  "floatingip": {
  "floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57"
  }
  }

  But using this object throw us an error. Instead we need to use a much
  simpler object, without the "floatingip" key. It would result in
  something like this:

  body = {"floating_network_id": public_network.id}

  Please fix the API docs to spare anybody else's time.
  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1636180/+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 1638339] [NEW] mitaka docs build breaks on vine.five

2016-11-01 Thread Eric Fried
Public bug reported:

In attempting to track down build failures in an out-of-tree project, I
submitted a change set to try out the nova gate in mitaka.  It failed
the docs build on the vine.five switch in kombu.

The change set is here:
https://review.openstack.org/#/c/392200/

The failure log is here:
http://logs.openstack.org/00/392200/1/check/gate-nova-docs-ubuntu-trusty/55fb272/console.html#_2016-11-01_15_22_32_787002

(Does the docs build not honor the upper constraints set in the generic
[testenv]?)

** 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/1638339

Title:
  mitaka docs build breaks on vine.five

Status in OpenStack Compute (nova):
  New

Bug description:
  In attempting to track down build failures in an out-of-tree project,
  I submitted a change set to try out the nova gate in mitaka.  It
  failed the docs build on the vine.five switch in kombu.

  The change set is here:
  https://review.openstack.org/#/c/392200/

  The failure log is here:
  
http://logs.openstack.org/00/392200/1/check/gate-nova-docs-ubuntu-trusty/55fb272/console.html#_2016-11-01_15_22_32_787002

  (Does the docs build not honor the upper constraints set in the
  generic [testenv]?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1638339/+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 1611171] Re: re-runs self via sudo

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/371930
Committed: 
https://git.openstack.org/cgit/openstack/ec2-api/commit/?id=f8dbd1cc45a1ceeedebf80607ef72eaaaba174a9
Submitter: Jenkins
Branch:master

commit f8dbd1cc45a1ceeedebf80607ef72eaaaba174a9
Author: Iswarya_Vakati 
Date:   Sat Sep 17 18:28:28 2016 +0530

Don't attempt to escalate ec2-api-manage privileges

Remove code which allowed ec2-api-manage to attempt to escalate
privileges so that configuration files can be read by users who
normally wouldn't have access, but do have sudo access.

Change-Id: I1ab7052fc117f064054e3127517da77598b6d27b
Closes-Bug:#1611171


** Changed in: ec2-api
   Status: In Progress => Fix Released

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

Title:
  re-runs self via sudo

Status in Cinder:
  Fix Released
Status in Designate:
  In Progress
Status in ec2-api:
  Fix Released
Status in gce-api:
  Fix Released
Status in Manila:
  In Progress
Status in masakari:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) newton series:
  Fix Committed
Status in OpenStack Security Advisory:
  Won't Fix
Status in Rally:
  Fix Released

Bug description:
  Hello, I'm looking through Designate source code to determine if is
  appropriate to include in Ubuntu Main. This isn't a full security
  audit.

  This looks like trouble:

  ./designate/cmd/manage.py

  def main():
  CONF.register_cli_opt(category_opt)

  try:
  utils.read_config('designate', sys.argv)
  logging.setup(CONF, 'designate')
  except cfg.ConfigFilesNotFoundError:
  cfgfile = CONF.config_file[-1] if CONF.config_file else None
  if cfgfile and not os.access(cfgfile, os.R_OK):
  st = os.stat(cfgfile)
  print(_("Could not read %s. Re-running with sudo") % cfgfile)
  try:
  os.execvp('sudo', ['sudo', '-u', '#%s' % st.st_uid] + 
sys.argv)
  except Exception:
  print(_('sudo failed, continuing as if nothing happened'))

  print(_('Please re-run designate-manage as root.'))
  sys.exit(2)

  
  This is an interesting decision -- if the configuration file is _not_ 
readable by the user in question, give the executing user complete privileges 
of the user that owns the unreadable file.

  I'm not a fan of hiding privilege escalation / modifications in
  programs -- if a user had recently used sudo and thus had the
  authentication token already stored for their terminal, this 'hidden'
  use of sudo may be unexpected and unwelcome, especially since it
  appears that argv from the first call leaks through to the sudo call.

  Is this intentional OpenStack style? Or unexpected for you guys too?

  (Feel free to make this public at your convenience.)

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1611171/+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 1625209] Re: ipv6 options are being checked for ipv4 subnet

2016-11-01 Thread Neil Jerram
If I understand correctly, this is not an independent bug.  Rather, it
only arises when changes are made in networking-calico to address
another bug (1541490).  And the only proposed change for _this_ bug is
now also in networking-calico.

Therefore it doesn't make sense for this bug to have an independent
existence from 1541490, or for any changes for this bug to be separated
from proposed changes from 1541490.  I will close this bug for
networking-calico, and ask that you simply combine all of the
networking-calico changes that you think are needed for 1541490.

** Changed in: networking-calico
   Status: In Progress => 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/1625209

Title:
  ipv6 options are being checked for ipv4 subnet

Status in networking-calico:
  Invalid
Status in neutron:
  Invalid

Bug description:
  When DHCP agent tries to set fixed_ips parameter for DHCP port (see 
https://bugs.launchpad.net/networking-calico/+bug/1541490) Neutron checks 
ipv6_address_mode and ipv6_ra_mode options of subnet that corresponds to the 
given fixed IP even for IPv4 subnet. And this fails as IPv4 subnet does not 
have such options (see traceback http://paste.openstack.org/show/580996/). And, 
of course, you cannot set such flags for IPv4 subnet.
  I'd expect that such check is performed for IPv6 subnets only.

  Probably, this situation is possible not only while using non-native
  DHCP agent.

  Neutron version: Newton (7f6b5b5d8953159740f74b0a4a5280527f6baa69).
  Environment: Calico (https://github.com/openstack/networking-calico) over 
Neutron.
  Point of failure: 
https://github.com/openstack/neutron/blob/7f6b5b5d8953159740f74b0a4a5280527f6baa69/neutron/agent/linux/dhcp.py#L1342
  Traceback: http://paste.openstack.org/show/580996/
  Failure rate: always.

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-calico/+bug/1625209/+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 1402915] Re: Error: Unable to retrieve attachment information

2016-11-01 Thread Rob Cresswell
** Changed in: horizon
 Assignee: Trung Trinh (trung-t-trinh) => (unassigned)

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1402915

Title:
  Error: Unable to retrieve attachment information

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Version: stable/juno

  Bug description:
  In the view of "Volumes", provided that some volume whose status is "in-use" 
or it is being attached to a VM. If the associated VM is deleted, this will 
trigger the detaching of the volume. If the volume detaching process is failed 
by whatever reason, then the volume becomes attached to an already-deleted VM. 
  If now, we try retrieving the volume info with Horizon dashboard then we will 
get the error of "Unable to retrieve attachment information".

  Proposal:
  Such an error has to be disabled and the info of the field "Attached To" 
should be set to None or left blank as if the volume were not attached to the 
VM.  Furthermore, the field "Status" should be set back to blank

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1402915/+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 1590608] Re: Services should use http_proxy_to_wsgi middleware

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/387077
Committed: 
https://git.openstack.org/cgit/openstack/sahara/commit/?id=c0f43c2c5f6bd21d258063cb0559daf90c960412
Submitter: Jenkins
Branch:master

commit c0f43c2c5f6bd21d258063cb0559daf90c960412
Author: Jeremy Liu 
Date:   Sun Oct 16 23:23:54 2016 +0800

Use http_proxy_to_wsgi middleware

This sets up the HTTPProxyToWSGI middleware in front of Sahara.
The purpose of this middleware is to set up the request URL
correctly in case there is a proxy (For instance, a loadbalancer
such as HAProxy) in front of Sahara.

The HTTPProxyToWSGI is off by default and needs to be enabled
via a configuration value.

Change-Id: Ica7e8671e3880c0db90d382bec89b0994f75b36d
Closes-bug: #1590608


** Changed in: sahara
   Status: In Progress => Fix Released

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

Title:
  Services should use http_proxy_to_wsgi middleware

Status in Aodh:
  Fix Released
Status in Barbican:
  Fix Released
Status in Ceilometer:
  Fix Released
Status in Cinder:
  Fix Released
Status in cloudkitty:
  In Progress
Status in congress:
  New
Status in Freezer:
  Fix Released
Status in Glance:
  Fix Released
Status in Gnocchi:
  Fix Committed
Status in heat:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in Magnum:
  In Progress
Status in neutron:
  Fix Released
Status in Panko:
  Fix Released
Status in Sahara:
  Fix Released
Status in OpenStack Search (Searchlight):
  In Progress
Status in senlin:
  In Progress
Status in OpenStack DBaaS (Trove):
  In Progress

Bug description:
  It's a common problem when putting a service behind a load balancer to
  need to forward the Protocol and hosts of the original request so that
  the receiving service can construct URLs to the loadbalancer and not
  the private worker node.

  Most services have implemented some form of secure_proxy_ssl_header =
  HTTP_X_FORWARDED_PROTO handling however exactly how this is done is
  dependent on the service.

  oslo.middleware provides the http_proxy_to_wsgi middleware that
  handles these headers and the newer RFC7239 forwarding header and
  completely hides the problem from the service.

  This middleware should be adopted by all services in preference to
  their own HTTP_X_FORWARDED_PROTO handling.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aodh/+bug/1590608/+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 1511109] Re: Python Tests are failing on Horizon because of incomplete mocking

2016-11-01 Thread Rob Cresswell
** Changed in: horizon/liberty
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1511109

Title:
  Python Tests are failing on Horizon because of incomplete mocking

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) liberty series:
  Fix Released

Bug description:
  openstack_dashboard.dashboards.project.instances.tests.InstanceTests
  are failing as the calls to flavor_list are not mocked on Nova.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1511109/+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 1451681] Re: [launch instance] new launch instance doesn't honor webroot setting

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1451681

Title:
  [launch instance] new launch instance doesn't honor webroot setting

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I moved my dashboard to /dashboard (webroot setting in local_settings)

  With new launch instance: hitting "launch instance", screen stays white,
  firebug reports:
  "NetworkError: 404 Not Found - http:///static/angular/wizard/wizard.html;

  Note there is "/dashboard" in front of "/static" missing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1451681/+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 1465440] Re: Firewall attribute "Shared" is set to None by default instead of 'False'

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

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

Title:
  Firewall attribute "Shared" is set to None by default instead of
  'False'

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in neutron:
  Won't Fix
Status in python-neutronclient:
  Fix Released

Bug description:
  In the current implementation, when a firewall is created, the default
  value of the attribute 'Shared' is set to 'None' instead of 'False'.
  When Firewall attributes are seen from Horizon, the display value is
  shown as 'Maybe' instead of 'No' due to value being 'None'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1465440/+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 1469589] Re: network_topology page not working

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1469589

Title:
  network_topology page not working

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Latest branch of horizon, when viewing project/network_topology/,
  error occurs:

  2015-06-29 03:44:23.857338 Internal Server Error: /project/network_topology/
  2015-06-29 03:44:23.857371 Traceback (most recent call last):
  2015-06-29 03:44:23.857377   File 
"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
112, in get_response
  2015-06-29 03:44:23.857382 response = wrapped_callback(request, 
*callback_args, **callback_kwargs)
  2015-06-29 03:44:23.857387   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", 
line 36, in dec
  2015-06-29 03:44:23.857393 return view_func(request, *args, **kwargs)
  2015-06-29 03:44:23.857398   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", 
line 52, in dec
  2015-06-29 03:44:23.857402 return view_func(request, *args, **kwargs)
  2015-06-29 03:44:23.857407   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", 
line 36, in dec
  2015-06-29 03:44:23.857412 return view_func(request, *args, **kwargs)
  2015-06-29 03:44:23.857416   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", 
line 84, in dec
  2015-06-29 03:44:23.857421 return view_func(request, *args, **kwargs)
  2015-06-29 03:44:23.857426   File 
"/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, 
in view
  2015-06-29 03:44:23.857430 return self.dispatch(request, *args, **kwargs)
  2015-06-29 03:44:23.857435   File 
"/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, 
in dispatch
  2015-06-29 03:44:23.857440 return handler(request, *args, **kwargs)
  2015-06-29 03:44:23.857444   File 
"/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 
154, in get
  2015-06-29 03:44:23.857449 context = self.get_context_data(**kwargs)
  2015-06-29 03:44:23.857454   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py",
 line 123, in get_context_data
  2015-06-29 03:44:23.857459 context['instance_quota_exceeded'] = 
self._quota_exceeded('instances')
  2015-06-29 03:44:23.857464   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py",
 line 113, in _quota_exceeded
  2015-06-29 03:44:23.857469 usages = 
quotas.tenant_quota_usages(self.request)
  2015-06-29 03:44:23.857474   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", 
line 90, in wrapped
  2015-06-29 03:44:23.857478 value = cache[key] = func(*args, **kwargs)
  2015-06-29 03:44:23.857483   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
 line 362, in tenant_quota_usages
  2015-06-29 03:44:23.857501 _get_tenant_volume_usages(request, usages, 
disabled_quotas, tenant_id)
  2015-06-29 03:44:23.857506   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
 line 333, in _get_tenant_volume_usages
  2015-06-29 03:44:23.857511 snapshots = 
cinder.volume_snapshot_list(request, opts)
  2015-06-29 03:44:23.857516   File 
"/data/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py",
 line 311, in volume_snapshot_list
  2015-06-29 03:44:23.857520 search_opts=search_opts)]
  2015-06-29 03:44:23.857525   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/v2/volume_snapshots.py", 
line 132, in list
  2015-06-29 03:44:23.857530 "snapshots")
  2015-06-29 03:44:23.857534   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/base.py", line 65, in _list
  2015-06-29 03:44:23.857539 resp, body = self.api.client.get(url)
  2015-06-29 03:44:23.857543   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 326, in 
get
  2015-06-29 03:44:23.857548 return self._cs_request(url, 'GET', **kwargs)
  2015-06-29 03:44:23.857553   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 289, in 
_cs_request
  2015-06-29 03:44:23.857557 **kwargs)
  2015-06-29 03:44:23.857562   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 272, in 
request
  2015-06-29 03:44:23.857566 raise exceptions.from_response(resp, body)
  2015-06-29 03:44:23.857571 ClientException: The server has either erred or is 
incapable of performing the requested operation. (HTTP 500) (Request-ID: 
req-9b76a8d0-a4e4-422e-bbf6-07cdfaf1062d)

To manage notifications about this bug go to:

[Yahoo-eng-team] [Bug 1444421] Re: Launch instance fails with nova network

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/121

Title:
  Launch instance fails with nova network

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Current Launch Instance (not angular launch instance)

  git checkout from kilo rc1:

  I have deployed as system with nova network instead of neutron.

  While trying to launch an instance, I'm getting:
  Internal Server Error: /project/instances/launch
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 
164, in get_response
  response = response.render()
    File "/usr/lib/python2.7/site-packages/django/template/response.py", line 
158, in render
  self.content = self.rendered_content
    File "/usr/lib/python2.7/site-packages/django/template/response.py", line 
135, in rendered_content
  content = template.render(context, self._request)
    File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", 
line 74, in render
  return self.template.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, 
in render
  return self._render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, 
in _render
  return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, 
in render
  bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, 
in render_node
  return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", 
line 576, in render
  return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, 
in render
  bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, 
in render_node
  return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", 
line 56, in render
  result = self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, 
in render
  bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, 
in render_node
  return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", 
line 217, in render
  nodelist.append(node.render(context))
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", 
line 322, in render
  match = condition.eval(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", 
line 933, in eval
  return self.value.resolve(context, ignore_failures=True)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, 
in resolve
  obj = self.var.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, 
in resolve
  value = self._resolve_lookup(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 847, 
in _resolve_lookup
  current = current()
    File "/home/mrunge/work/horizon/horizon/workflows/base.py", line 439, in 
has_required_fields
  return any(field.required for field in self.action.fields.values())
    File "/home/mrunge/work/horizon/horizon/workflows/base.py", line 368, in 
action
  context)
    File 
"/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py",
 line 707, in __init__
  super(SetNetworkAction, self).__init__(request, *args, **kwargs)
    File "/home/mrunge/work/horizon/horizon/workflows/base.py", line 138, in 
__init__
  self._populate_choices(request, context)
    File "/home/mrunge/work/horizon/horizon/workflows/base.py", line 151, in 
_populate_choices
  bound_field.choices = meth(request, context)
    File 
"/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py",
 line 721, in populate_network_choices
  return instance_utils.network_field_data(request)
    File 
"/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/instances/utils.py",
 line 97, in network_field_data
  if not networks:
  UnboundLocalError: local variable 'networks' referenced before assignment

  Fun fact is, this only occurs, when using admin credentials. with
  user, this doesn't happen.

  The error message shown in horizon is: Error: Invalid service catalog
  service: network

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

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

[Yahoo-eng-team] [Bug 1475190] Re: Network Profile is not supported in Kilo

2016-11-01 Thread Rob Cresswell
** Changed in: horizon/kilo
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1475190

Title:
  Network Profile is not supported in Kilo

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Dashboard (Horizon) kilo series:
  Fix Released

Bug description:
  Cisco N1kv ML2 driver does not support network profiles extension in
  kilo. The network profile support in horizon needs to be removed for
  stable/kilo.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1475190/+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 1476439] Re: update_metadata for flavors and images shows blank. static basePath not set correctly.

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1476439

Title:
  update_metadata for flavors and images  shows blank.  static basePath
  not set correctly.

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Currently using OpenStack Kilo on CentOS 7. Issue is with:

  openstack-dashboard-2015.1.0-7.el7.noarch
  /usr/share/openstack-dashboard/static/angular/widget.module.js

  When using the update_metadata feature in horizon in the flavors and
  images section, the meta data table is not displayed. Have also seen
  this cause problems when using heat.

  The basePath in the javascript is not being set correctly and
  resulting in a redirect loop:

  [Tue Jul 21 00:14:22.097739 2015] [core:error] [pid 14453] (36)File
  name too long: [client ] AH00036: access to
  
/dashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboardauth/login/
  failed (filesystem path
  
'/var/www/html/dashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboarddashboardauth')

  I was able to fix by modifying the widget.module.js file

  $ diff -u /usr/share/openstack-dashboard/static/angular/widget.module.js.orig 
/usr/share/openstack-dashboard/static/angular/widget.module.js
  --- /usr/share/openstack-dashboard/static/angular/widget.module.js.orig   
2015-07-21 00:55:07.641502063 +
  +++ /usr/share/openstack-dashboard/static/angular/widget.module.js  
2015-07-21 00:41:37.476953146 +
  @@ -17,6 +17,6 @@
   'hz.widget.metadata-display',
   'hz.framework.validators'
 ])
  -.constant('basePath', '/static/angular/');
  +.constant('basePath', '/dashboard/static/angular/');
   
   })();

  Ideally this file should not need to be modified and should be
  generated using WEBROOT in local_settings, alternatively documentation
  should be updated if this file must be modified by hand.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1476439/+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 1480563] Re: weird sort for hypervisor_hostname

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1480563

Title:
  weird sort for hypervisor_hostname

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  weird sort for hypervisor_hostname

  For example, there are 4 hypervisors and this is the usually ordered
  list:

east-01, east-02, west-01, west-02

  However when we do sort by hypervisor_hostname in the hypervisors table
  on the admin view, this is a possible result:

east-01, west-01, east-02, west-02

  This is caused by the fact that a javascript sort function (naturalSort)
  sees only a number in a text and ignores its prefix for ordering.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1480563/+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 1505976] Re: containers loading image location hardcoded

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1505976

Title:
  containers loading image location hardcoded

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/containers/tables.py#L36

  loading gif location hardcoded, and does not respect webroot setting

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1505976/+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 1513179] Re: create volume workflow does not compute quota usage correctly

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/kilo

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1513179

Title:
  create volume workflow does not compute quota usage correctly

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The cinder quota on gigabytes is the sum of both volumes and
  snapshots. This is not correctly reflected in the create volume
  dialog, which allows the user to attempt to create volumes when there
  is not enough quota available, which results in a useless error
  message.

  To recreate the problem:
  1) on Project->Compute->Volumes create a 1G empty volume
  2) on the same panel create a snapshot of the new volume
  3) on Identity->Projects->[your project] choose Modify Quota and set the 
quota for "Total Size of Volumes and Snapshots (GB) " to 3G.
  4) Note that the quota usage (2 of 3) is correctly reflected on 
Project->Compute-Overview
  5) on Project->Compute->Volumes click Create Volume
  *Note the the quota is not accurately reflected
  6) Attempt to create a new volume of size 2G.
  *Note the obscure failure message "Error: Unable to create volume."

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1513179/+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 1534555] Re: [Django 1.9] django.forms.util renamed with an s

2016-11-01 Thread Rob Cresswell
** No longer affects: horizon/liberty

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1534555

Title:
  [Django 1.9] django.forms.util renamed with an s

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  The class django.forms.util was renamed django.forms.utils (note the
  added s) in Django 1.9. Horizon must follow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1534555/+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 1636878] Re: scrolling and overflow of fip assignment or left hand nav is broken

2016-11-01 Thread Rob Cresswell
*** This bug is a duplicate of bug 1628274 ***
https://bugs.launchpad.net/bugs/1628274

Duplicate of https://bugs.launchpad.net/horizon/+bug/1628274 and
https://bugs.launchpad.net/horizon/+bug/1603496

Will track those instead as they already have assignees and patches in
the works.

** This bug has been marked a duplicate of bug 1628274
   No vertical scroll bar when panel list extends past window bottom

** Changed in: horizon
   Status: Confirmed => Invalid

** Changed in: horizon
Milestone: ocata-1 => None

** Changed in: horizon
 Assignee: Rob Cresswell (robcresswell) => (unassigned)

** Tags removed: low-hanging-fruit newton-backport-potential

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1636878

Title:
  scrolling and overflow of fip assignment or left hand nav is broken

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  When adding a fip to an instance, the drop down select / combo boxes
  overflow in wrong /weird ways.

  Also, if your left hand nav is very long, the scrolling does not work
  here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1636878/+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 1638273] [NEW] find_child_pids crashes under non-english locals

2016-11-01 Thread John Schwarz
Public bug reported:

Traceback available at [1].

The function execute() returns _("Exit code: %(returncode)d; ...") [2].
Under non-English locales (we checked for Japanese, but surely this will
also occur in others, the check 'Exit code: 1' in str(e)  [3] will fail
since 'Exit code: 1' is not encoded the same.

This ultimately prevents stuff like booting a new VM.

[1]: http://pastebin.com/x66aqctN
[2]: 
https://github.com/openstack/neutron/blob/15d65607a47810f7d155d43902d358cb9f953a7a/neutron/agent/linux/utils.py#L127
[3]: 
https://github.com/openstack/neutron/blob/15d65607a47810f7d155d43902d358cb9f953a7a/neutron/agent/linux/utils.py#L176

** Affects: neutron
 Importance: Critical
 Assignee: John Schwarz (jschwarz)
 Status: Confirmed


** Tags: mitaka-backport-potential newton-backport-potential

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

Title:
  find_child_pids crashes under non-english locals

Status in neutron:
  Confirmed

Bug description:
  Traceback available at [1].

  The function execute() returns _("Exit code: %(returncode)d; ...")
  [2]. Under non-English locales (we checked for Japanese, but surely
  this will also occur in others, the check 'Exit code: 1' in str(e)
  [3] will fail since 'Exit code: 1' is not encoded the same.

  This ultimately prevents stuff like booting a new VM.

  [1]: http://pastebin.com/x66aqctN
  [2]: 
https://github.com/openstack/neutron/blob/15d65607a47810f7d155d43902d358cb9f953a7a/neutron/agent/linux/utils.py#L127
  [3]: 
https://github.com/openstack/neutron/blob/15d65607a47810f7d155d43902d358cb9f953a7a/neutron/agent/linux/utils.py#L176

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1638273/+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 1472059] Re: Using "keystone-manage domain_config_upload --all" with an empty /etc/keystone/domains directory results in no feedback

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/214287
Committed: 
https://git.openstack.org/cgit/openstack/keystone/commit/?id=1c38db61ec116eea552fe88afd48eeac32574ad4
Submitter: Jenkins
Branch:master

commit 1c38db61ec116eea552fe88afd48eeac32574ad4
Author: David Stanek 
Date:   Tue Aug 18 16:56:27 2015 +

Adds warning when no domain configs were uploaded

The 'keystone-manage domain_config_upload --all' previously didn't tell
the admin that there wasn't any files to upload. This means it was
possible for them to have put their configs in the wrong directory and
not know it.

Change-Id: Ib9ace1cc9654d4a32c9110eb5452c895605caf95
Closes-bug: #1472059


** Changed in: keystone
   Status: In Progress => Fix Released

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

Title:
  Using "keystone-manage domain_config_upload --all" with an empty
  /etc/keystone/domains directory results in no feedback

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  When the /etc/keystone/domains directory is empty, execute "keystone-
  manage domain_config_upload --all"  without no information
  notification .Maybe it can show no file can be loaded.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1472059/+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 1585510] Re: [RFE] openvswitch-agent support rootwrap daemon when hypervisor is XenServer

2016-11-01 Thread Ihar Hrachyshka
We may get back to the bug in neutron scope if and when the solution
implemented in oslo scope will require some small integration bits in
neutron, like we have for neutron-rootwrap wrapper in setup.cfg.

** Changed in: neutron
   Status: Incomplete => Opinion

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

Title:
  [RFE] openvswitch-agent support rootwrap daemon when hypervisor is
  XenServer

Status in neutron:
  Opinion
Status in oslo.rootwrap:
  New

Bug description:
  As titled, when XenServer is hypervisor we want to implement rootwrap
  daemon mode in neutron-openvswitch-agent which runs in compute node.

  neutron-openvswitch-agent which runs in compute node(DomU) cannot
  support rootwrap daemon mode. This is because XenServer has the
  seperation of Dom0(privileged domain) and DomU(user domain), br-int
  bridge of neutron-openvswitch-agent(in compute node) resides in Dom0,
  so all the ovs-vsctl/ovs-ofctl/iptables/ipset commands executed by
  neutron-openvswitch-agent(in compute node) need to be executed in Dom0
  not DomU which is different with other hypervisors.

  https://github.com/openstack/neutron/blob/master/bin/neutron-rootwrap-
  xen-dom0 is current implementation but cannot support rootwrap daemon.

  We noticed rootwrap produces significant performance overhead and We
  want to implement the rootwrap daemon mode when XenServer is
  hypervisor to improve the performance.

  Also, we discoverde that calls to netwrap (and creation of lots of
  sessions) are causing huge logging in dom0. Logrotate can handle those
  logs, but it will make diagnosis of issues very difficult indeed due
  to the very regular rotations.

  Also, it seems that perhaps the excessive logging is causing the host
  to be **very** slow downloading an image from glance due to contention
  on the disk (looking at iostat, %iowait is up over 60% the majority of
  the time, sometimes up to 90%)

  So, it's not stable and strong enough for a production OpenStack
  environment.

  Proposal: subclass and override some class/functions from
  oslo.rootwrap to achive the goal. Actually I have did the POC which
  can work well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1585510/+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 1585510] Re: [RFE] openvswitch-agent support rootwrap daemon when hypervisor is XenServer

2016-11-01 Thread Ihar Hrachyshka
As I stated in the PoC patch, I don't believe neutron is the right place
to maintain the code. Instead, oslo.rootwrap should get support for dom0
hypervisors.

** Also affects: oslo.rootwrap
   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/1585510

Title:
  [RFE] openvswitch-agent support rootwrap daemon when hypervisor is
  XenServer

Status in neutron:
  Opinion
Status in oslo.rootwrap:
  New

Bug description:
  As titled, when XenServer is hypervisor we want to implement rootwrap
  daemon mode in neutron-openvswitch-agent which runs in compute node.

  neutron-openvswitch-agent which runs in compute node(DomU) cannot
  support rootwrap daemon mode. This is because XenServer has the
  seperation of Dom0(privileged domain) and DomU(user domain), br-int
  bridge of neutron-openvswitch-agent(in compute node) resides in Dom0,
  so all the ovs-vsctl/ovs-ofctl/iptables/ipset commands executed by
  neutron-openvswitch-agent(in compute node) need to be executed in Dom0
  not DomU which is different with other hypervisors.

  https://github.com/openstack/neutron/blob/master/bin/neutron-rootwrap-
  xen-dom0 is current implementation but cannot support rootwrap daemon.

  We noticed rootwrap produces significant performance overhead and We
  want to implement the rootwrap daemon mode when XenServer is
  hypervisor to improve the performance.

  Also, we discoverde that calls to netwrap (and creation of lots of
  sessions) are causing huge logging in dom0. Logrotate can handle those
  logs, but it will make diagnosis of issues very difficult indeed due
  to the very regular rotations.

  Also, it seems that perhaps the excessive logging is causing the host
  to be **very** slow downloading an image from glance due to contention
  on the disk (looking at iostat, %iowait is up over 60% the majority of
  the time, sometimes up to 90%)

  So, it's not stable and strong enough for a production OpenStack
  environment.

  Proposal: subclass and override some class/functions from
  oslo.rootwrap to achive the goal. Actually I have did the POC which
  can work well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1585510/+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 1638130] Re: SLaaC or DHCPv6 stateless doesn't work on isolated Neutron networks

2016-11-01 Thread John Davidge
To get router advertisements, create a neutron router and add an
interface to your subnet.

** 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/1638130

Title:
  SLaaC or DHCPv6 stateless doesn't work on isolated Neutron networks

Status in neutron:
  Invalid

Bug description:
  On an isolated IPv6 network no router advertisements are sent, so the
  instances are unable to discover what prefix to use. To enabled
  instances to discover which prefixes are on-link router advertisements
  with a router lifetime of zero should be sent (from the DHCP
  namespace) https://tools.ietf.org/html/rfc4861#page-43. Dnsmasq seems
  to support this via --ra-param option:

  --ra-param=,[high|low],[[],]
  Set non-default values for router advertisements sent via an interface. The 
priority field for the router may be altered from the default of medium with eg 
--ra-param=eth0,high. The interval between router advertisements may be set (in 
seconds) with --ra-param=eth0,60. The lifetime of the route may be changed or 
set to zero, which allows a router to advertise prefixes but not a route via 
itself. --ra-parm=eth0,0,0 (A value of zero for the interval means the default 
value.) All three parameters may be set at once. --ra-param=low,60,1200 The 
interface field may include a wildcard.

  Alternatively radvd could be used within the DHCP namespace.

  
  Steps to reproduce:

  $ openstack network create isolated-ipv6
  +---+--+
  | Field | Value|
  +---+--+
  | admin_state_up| UP   |
  | availability_zone_hints   |  |
  | availability_zones|  |
  | created_at| 2016-10-31T20:14:13Z |
  | description   |  |
  | headers   |  |
  | id| 7044aa9b-937f-4f7d-9073-00512f88a066 |
  | ipv4_address_scope| None |
  | ipv6_address_scope| None |
  | mtu   | 1450 |
  | name  | isolated-ipv6|
  | port_security_enabled | True |
  | project_id| 6d80770322b64b8ba57038788004e93e |
  | project_id| 6d80770322b64b8ba57038788004e93e |
  | provider:network_type | vxlan|
  | provider:physical_network | None |
  | provider:segmentation_id  | 11   |
  | revision_number   | 3|
  | router:external   | Internal |
  | shared| False|
  | status| ACTIVE   |
  | subnets   |  |
  | tags  | []   |
  | updated_at| 2016-10-31T20:14:13Z |
  +---+--+
  $ openstack subnet create --ip-version 6 --ipv6-ra-mode slaac 
--ipv6-address-mode slaac --network 7044aa9b-937f-4f7d-9073-00512f88a066 
--subnet-range fddd:fd72:8298::/64 isolated-ipv6-subnet
  +---++
  | Field | Value  |
  +---++
  | allocation_pools  | fddd:fd72:8298::2-fddd:fd72:8298:0:::: |
  | cidr  | fddd:fd72:8298::/64|
  | created_at| 2016-10-31T20:17:44Z   |
  | description   ||
  | dns_nameservers   ||
  | enable_dhcp   | True   |
  | gateway_ip| fddd:fd72:8298::1  |
  | headers   ||
  | host_routes   ||
  | id| 96bf9b9f-736b-46c3-86f0-029c6d5f6e92   |
  | ip_version| 6  |
  | ipv6_address_mode | slaac  |
  | ipv6_ra_mode 

[Yahoo-eng-team] [Bug 1636607] Re: Authenticating with user 'admin' from the UI fails - Error in keystone.log

2016-11-01 Thread Rob Cresswell
What cache do you have set up? Specifically the value for `CACHES` in
openstack_dashboard/local/local_settings.py

** Also affects: keystone
   Importance: Undecided
   Status: New

** Changed in: horizon
   Status: New => Incomplete

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

Title:
  Authenticating with user 'admin' from the UI fails  - Error in
  keystone.log

Status in OpenStack Dashboard (Horizon):
  Incomplete
Status in OpenStack Identity (keystone):
  New

Bug description:
  I am setting up OpenStack Mitaka on Ubuntu 14.04 server by following :
  http://docs.openstack.org/mitaka/install-guide-ubuntu/

  Once I install the dashboard, when I try to login using the 'admin'
  account, it gives me the following error on the UI 'An error occurred
  authenticating. Please try again later.'

  On further investigation, I see the following error in
  /var/log/apache2/keystone.log

  If you notice the last line, it is referring to 'build_auth_contet' in
  keystone-paste.ini which might be a typo for build_auth_context

  

  2016-10-25 12:11:24.768822 2016-10-25 12:11:24.768 30696 WARNING 
keystone.assignment.core [-] Deprecated: Use of the identity driver config to 
automatically configure the same assignment driver has been deprecated, in the 
"O" release, the assignment driver will need to be expicitly configured if 
different than the default (SQL).
  2016-10-25 12:11:24.887918 mod_wsgi (pid=30696): Target WSGI script 
'/usr/bin/keystone-wsgi-public' cannot be loaded as Python module.
  2016-10-25 12:11:24.887945 mod_wsgi (pid=30696): Exception occurred 
processing WSGI script '/usr/bin/keystone-wsgi-public'.
  2016-10-25 12:11:24.887979 Traceback (most recent call last):
  2016-10-25 12:11:24.887995   File "/usr/bin/keystone-wsgi-public", line 36, 
in 
  2016-10-25 12:11:24.888020 application = initialize_public_application()
  2016-10-25 12:11:24.888033   File 
"/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 62, in 
initialize_public_application
  2016-10-25 12:11:24.888062 return initialize_application('main')
  2016-10-25 12:11:24.888071   File 
"/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 53, in 
initialize_application
  2016-10-25 12:11:24.888083 startup_application_fn=loadapp)
  2016-10-25 12:11:24.888092   File 
"/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 51, in 
setup_backends
  2016-10-25 12:11:24.888118 res = startup_application_fn()
  2016-10-25 12:11:24.888126   File 
"/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 50, in loadapp
  2016-10-25 12:11:24.888139 'config:%s' % config.find_paste_config(), name)
  2016-10-25 12:11:24.888147   File 
"/usr/lib/python2.7/dist-packages/keystone/version/service.py", line 53, in 
loadapp
  2016-10-25 12:11:24.888252 controllers.latest_app = deploy.loadapp(conf, 
name=name)
  2016-10-25 12:11:24.888267   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in 
loadapp
  2016-10-25 12:11:24.888448 return loadobj(APP, uri, name=name, **kw)
  2016-10-25 12:11:24.888461   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in 
loadobj
  2016-10-25 12:11:24.888475 return context.create()
  2016-10-25 12:11:24.888484   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2016-10-25 12:11:24.888498 return self.object_type.invoke(self)
  2016-10-25 12:11:24.888508   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
  2016-10-25 12:11:24.888534 **context.local_conf)
  2016-10-25 12:11:24.888544   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
  2016-10-25 12:11:24.888593 val = callable(*args, **kw)
  2016-10-25 12:11:24.888605   File 
"/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
  2016-10-25 12:11:24.888685 app = loader.get_app(app_name, 
global_conf=global_conf)
  2016-10-25 12:11:24.888710   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in 
get_app
  2016-10-25 12:11:24.888726 name=name, global_conf=global_conf).create()
  2016-10-25 12:11:24.888738   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 362, in 
app_context
  2016-10-25 12:11:24.888765 APP, name=name, global_conf=global_conf)
  2016-10-25 12:11:24.888774   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in 
get_context
  2016-10-25 12:11:24.888788 global_additions=global_additions)
  2016-10-25 12:11:24.888797   File 
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in 
_pipeline_app_context
  2016-10-25 12:11:24.10 for name in pipeline[:-1]]
  

[Yahoo-eng-team] [Bug 1638258] Re: OpenStack client doesn't receive same error messages as Neutron client

2016-11-01 Thread John Davidge
** Project changed: neutron => python-openstackclient

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

Title:
  OpenStack client doesn't receive same error messages as Neutron client

Status in python-openstackclient:
  New

Bug description:
  The output of the neutron OSC is not including error messages like the
  neutron client does for example:

  openstack network create ironic-flat --share --provider-network-
  type flat --provider-physical-network physnet-ironic -f value -c id

  Results in:

  HttpException: Bad Request

  However:

  neutron net-create ironic-flat --shared --provider:network_type
  flat --provider:physical_network physnet-ironic

  Results in:

  Invalid input for operation: physical_network 'physnet-ironic'
  unknown for flat provider network.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-openstackclient/+bug/1638258/+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 1626778] Re: [api] document /auth/tokens/OS-PKI/revoked

2016-11-01 Thread Samuel de Medeiros Queiroz
Changing to fix release as the v3 docs are merged and
https://review.openstack.org/#/c/390913 is gating

** Changed in: keystone
   Status: In Progress => Fix Released

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

Title:
  [api] document /auth/tokens/OS-PKI/revoked

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  The /auth/tokens/OS-PKI/revoked API is undocumented:
  
https://github.com/openstack/keystone/blob/8a56c161ee29e34e70c6334b048881e8fbbd7514/keystone/auth/routers.py#L36

  Likewise, for v2, the /tokens/revoked API is undocumented too:
  
https://github.com/openstack/keystone/blob/8a56c161ee29e34e70c6334b048881e8fbbd7514/keystone/token/routers.py#L25

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1626778/+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 1636671] Re: log.error use _LE of i18n

2016-11-01 Thread Rob Cresswell
My understanding is that log messages should never be translated, so
they can be googled. Otherwise it is problematic to search for similar
answers.

** Changed in: horizon
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1636671

Title:
  log.error use _LE of i18n

Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  The code should use the right marker function, to ensure that strings
  the user sees will be translated and to help the translation team
  manage their work load.

  eg: log.error should use _LE.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1636671/+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 1535918] Re: instance.host not updated on evacuation

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/371048
Committed: 
https://git.openstack.org/cgit/openstack/nova/commit/?id=a5b920a197c70d2ae08a1e1335d979857f923b4f
Submitter: Jenkins
Branch:master

commit a5b920a197c70d2ae08a1e1335d979857f923b4f
Author: Artom Lifshitz 
Date:   Wed Oct 5 14:37:03 2016 -0400

Send events to all relevant hosts if migrating

Previously, external events were sent to the instance object's host
field. This patch fixes the external event dispatching to check for
migration. If an instance is being migrated, the source and
destination compute are added to the set of hosts to which the event
is sent.

Change-Id: If00736ab36df4a5a3be4f02b0a550e4bcae77b1b
Closes-bug: 1535918
Closes-bug: 1624052


** Changed in: nova
   Status: In Progress => Fix Released

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

Title:
  instance.host not updated on evacuation

Status in OpenStack Compute (nova):
  Fix Released
Status in nova-powervm:
  Fix Released

Bug description:
  I'm working on the nova-powervm driver for Mitaka and trying to add
  support for evacuation.

  The problem I'm hitting is that instance.host is not updated when the
  compute driver is called to spawn the instance on the destination
  host.  It is still set to the source host.  It's not until after the
  spawn completes that the compute manager updates instance.host to
  reflect the destination host.

  The nova-powervm driver uses instance events callback mechanism during
  plug VIF to determine when Neutron has finished provisioning the
  network.  The instance events code sends the event to instance.host
  and hence is sending the event to the source host (which is down).
  This causes the spawn to fail and also causes weirdness when the
  source host gets the events when it's powered back up.

  To temporarily work around the problem, I hacked in setting
  instance.host = CONF.host; instance.save() in the compute driver but
  that's not a good solution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1535918/+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 1624052] Re: Evacuation fails with VirtualInterfaceCreateException

2016-11-01 Thread OpenStack Infra
*** This bug is a duplicate of bug 1535918 ***
https://bugs.launchpad.net/bugs/1535918

Reviewed:  https://review.openstack.org/371048
Committed: 
https://git.openstack.org/cgit/openstack/nova/commit/?id=a5b920a197c70d2ae08a1e1335d979857f923b4f
Submitter: Jenkins
Branch:master

commit a5b920a197c70d2ae08a1e1335d979857f923b4f
Author: Artom Lifshitz 
Date:   Wed Oct 5 14:37:03 2016 -0400

Send events to all relevant hosts if migrating

Previously, external events were sent to the instance object's host
field. This patch fixes the external event dispatching to check for
migration. If an instance is being migrated, the source and
destination compute are added to the set of hosts to which the event
is sent.

Change-Id: If00736ab36df4a5a3be4f02b0a550e4bcae77b1b
Closes-bug: 1535918
Closes-bug: 1624052


** Changed in: nova
   Status: In Progress => Fix Released

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

Title:
  Evacuation fails with VirtualInterfaceCreateException

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description:

  With Neutron, evacuating an instance results in a
  VirtualInterfaceCreateException and the evacuation fails.

  Steps to reproduce:

  1. Boot a VM with a Neutron NIC.
  2. Cause the underlying host to be down, for example by stopping the compute 
service.
  3. Evacuate the VM.
  4. The evacuation will fail because the destination compute host waits for a 
network-vif-plugged event from Neutron, which it never received because Nova 
sends the event to the source compute.

  Environment: Neutron, KVM

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1624052/+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 1638239] [NEW] manage.py compilemessages fails

2016-11-01 Thread Rob Cresswell
Public bug reported:

Some of the manage.py commands fail with the following error:

CommandError: This script should be run from the Django Git checkout or
your project or app tree, or with the settings module specified.

This is due to LOCALE_PATHS missing from our settings.

** Affects: horizon
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1638239

Title:
  manage.py compilemessages fails

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Some of the manage.py commands fail with the following error:

  CommandError: This script should be run from the Django Git checkout
  or your project or app tree, or with the settings module specified.

  This is due to LOCALE_PATHS missing from our settings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1638239/+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 1638240] [NEW] manage.py compilemessages fails

2016-11-01 Thread Rob Cresswell
Public bug reported:

Some of the manage.py commands fail with the following error:

CommandError: This script should be run from the Django Git checkout or
your project or app tree, or with the settings module specified.

This is due to LOCALE_PATHS missing from our settings.

** Affects: horizon
 Importance: High
 Assignee: Rob Cresswell (robcresswell)
 Status: New


** Tags: newton-backport-potential

** Changed in: horizon
   Importance: Undecided => High

** Changed in: horizon
Milestone: None => ocata-1

** Changed in: horizon
 Assignee: (unassigned) => Rob Cresswell (robcresswell)

** Tags added: newton-backport-potential

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1638240

Title:
  manage.py compilemessages fails

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Some of the manage.py commands fail with the following error:

  CommandError: This script should be run from the Django Git checkout
  or your project or app tree, or with the settings module specified.

  This is due to LOCALE_PATHS missing from our settings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1638240/+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 1637449] Re: Ironic: Invalid hypervisor stats info while instance running

2016-11-01 Thread Dmitry Tantsur
Thanks for reporting it, I think I've seen this problem myself. However,
it's not related to the Ironic service, so I'm closing the Ironic part
of this bug.

** Changed in: ironic
   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/1637449

Title:
  Ironic: Invalid hypervisor stats info while instance running

Status in Ironic:
  Invalid
Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Description
  ===

  hypervisor-stats of nova showing wrong information of ironic node
  resource.

  Steps to reproduce
  ==
  Environment was setup following 
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack

  After delpoy 3 ironic-nodes, each has 1 cpu, 1024mb mem, 1gb disk, 2 
instances running: 
  #nova hypervisor-stats
  +--+---+
  | Property | Value |
  +--+---+
  | count| 3 |
  | current_workload | 1 |
  | disk_available_least | -10   |
  | free_disk_gb | 10|
  | free_ram_mb  | 1024  |
  | local_gb | 10|
  | local_gb_used| 20|
  | memory_mb| 1024  |
  | memory_mb_used   | 2048  |
  | running_vms  | 2 |
  | vcpus| 1 |
  | vcpus_used   | 2 |
  +--+---+

  Expected result
  ===

  vcpus should be 3.
  memory_mb should be 3072.
  local_gb should be 30.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1637449/+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 1321774] Re: Wrong error when creating different instances with the same hostname into the same DNS domain

2016-11-01 Thread Rathan Naik
** Changed in: nova
   Status: Expired => In Progress

** Changed in: nova
 Assignee: (unassigned) => Rathan Naik (rathan4all)

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

Title:
  Wrong error when creating different instances with the same hostname
  into the same DNS domain

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  The bug related to creating different instances with the same hostname
  into the same DNS domain was reported on launchpad
  (https://bugs.launchpad.net/nova/+bug/1283538) and is being solved
  with its review (https://review.openstack.org/#/c/94252/).

  However, the error is thrown when the instance is being built and it
  says "Error: No valid host was found.". It should say something like
  "Error: An instance already exists with the hostname ".

  Internally, an error with message "The DNS entry %(name)s already
  exists in domain %(domain)s." is being thrown, but it is not shown to
  the caller interface, such as Horizon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1321774/+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 1638200] [NEW] Failed to boot vm with pci_alias's name including space in nova.conf

2016-11-01 Thread zhaolihui
Public bug reported:

Description
===
Failed to boot vm with pci_alias's name including space in nova.conf.


Steps to reproduce
==
1.modify the key pci_alias, pci_passthrough_whitelist and 
scheduler_default_filters in /etc/nova/nova.conf
pci_alias = {"name": "Cirrus Logic", "product_id": "0ff2", "vendor_id": "10de"}
pci_passthrough_whitelist = [{"product_id": "0ff2", "vendor_id": "10de"}]
scheduler_default_filters = ...,PciPassthroughFilter

2.restart nova-api, nova-scheduler, nova-conductor, nova-compute
serivces

3.update a flavor's metadata with command
nova flavor-key  m1.tiny set "pci_passthrough:alias"="Cirrus Logic:1"

4.create instance with command
nova boot --flavor m1.tiny --image cirror --nic net-id=x vm_name


Expected result
===
There will be a vm with gpu passthrough.


Actual result
=
Failed to boot vm.
Error occurs in nova-api.log


Environment
===
1. Devstack with newton version


Logs
==
2016-11-01 12:13:27.523 ^[[01;31mERROR nova.api.openstack.extensions 
[^[[01;36mreq-82f58a79-76b9-49e7-a8e9-44e8b43eaea4 ^[[00;36madmin 
admin^[[01;31m] ^[[01;35m^[[01;31mUnexpected exception in API method^[[00m
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/extensions.py", line 
478, in wrapped
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mreturn f(*args, **kwargs)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/validation/__init__.py", line 
73, in wrapper
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mreturn func(*args, **kwargs)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/validation/__init__.py", line 
73, in wrapper
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mreturn func(*args, **kwargs)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/validation/__init__.py", line 
73, in wrapper
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mreturn func(*args, **kwargs)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/compute/servers.py", 
line 629, in create
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m**create_kwargs)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/hooks.py", line 154, in inner
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mrv = f(*args, **kwargs)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/compute/api.py", line 1563, in 
create
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mcheck_server_group_quota=check_server_group_quota)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/compute/api.py", line 1146, in 
_create_instance
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mreservation_id, max_count)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/compute/api.py", line 871, in 
_validate_and_build_base_options
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00minstance_type)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/pci/request.py", line 177, in 
get_pci_requests_from_flavor
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mflavor['extra_specs']['pci_passthrough:alias'])
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m  File "/opt/stack/nova/nova/pci/request.py", line 129, in 
_translate_alias_to_requests
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mraise exception.PciRequestAliasNotDefined(alias=name)
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00mPciRequestAliasNotDefined: PCI alias CirrusLogic is not defined
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.openstack.extensions 
^[[01;35m^[[00m
2016-11-01 12:13:27.527 ^[[00;36mINFO nova.api.openstack.wsgi 
[^[[01;36mreq-82f58a79-76b9-49e7-a8e9-44e8b43eaea4 ^[[00;36madmin 
admin^[[00;36m] ^[[01;35m^[[00;36mHTTP exception thrown: Unexpected API Error. 
Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API 
log 

[Yahoo-eng-team] [Bug 1608980] Re: Remove MANIFEST.in as it is not explicitly needed by PBR

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/386351
Committed: 
https://git.openstack.org/cgit/openstack/karbor/commit/?id=bf4d82f0429189ae26422db861f47058fa82c247
Submitter: Jenkins
Branch:master

commit bf4d82f0429189ae26422db861f47058fa82c247
Author: Iswarya_Vakati 
Date:   Fri Oct 14 10:43:55 2016 +0530

Drop MANIFEST.in - it's not needed by pbr

Karbor already uses PBR:-
setuptools.setup(
setup_requires=['pbr>=1.8'],
pbr=True)

This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.

Change-Id: Ia1e0f3411c8be2eead9e760bb839b7902eee43bd
Closes-Bug:#1608980


** Changed in: karbor
   Status: In Progress => Fix Released

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

Title:
  Remove MANIFEST.in as it is not explicitly needed by PBR

Status in craton:
  Fix Released
Status in DragonFlow:
  Fix Released
Status in ec2-api:
  In Progress
Status in gce-api:
  Fix Released
Status in Karbor:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in Kosmos:
  Fix Released
Status in Magnum:
  Fix Released
Status in masakari:
  Fix Released
Status in neutron:
  Fix Released
Status in Neutron LBaaS Dashboard:
  Confirmed
Status in octavia:
  Fix Released
Status in python-searchlightclient:
  In Progress
Status in OpenStack Search (Searchlight):
  In Progress
Status in Solum:
  Fix Released
Status in Swift Authentication:
  In Progress
Status in OpenStack Object Storage (swift):
  In Progress
Status in Tricircle:
  Fix Released
Status in OpenStack DBaaS (Trove):
  Fix Released
Status in watcher:
  Fix Released
Status in Zun:
  Fix Released

Bug description:
  PBR do not explicitly require MANIFEST.in, so it can be removed.

  
  Snippet from: http://docs.openstack.org/infra/manual/developers.html

  Manifest

  Just like AUTHORS and ChangeLog, why keep a list of files you wish to
  include when you can find many of these in git. MANIFEST.in generation
  ensures almost all files stored in git, with the exception of
  .gitignore, .gitreview and .pyc files, are automatically included in
  your distribution. In addition, the generated AUTHORS and ChangeLog
  files are also included. In many cases, this removes the need for an
  explicit ‘MANIFEST.in’ file

To manage notifications about this bug go to:
https://bugs.launchpad.net/craton/+bug/1608980/+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 1635162] Re: log.error use _ of i18n

2016-11-01 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/389070
Committed: 
https://git.openstack.org/cgit/openstack/keystone/commit/?id=2870deb9338df8739f57427b2c9a7c02226fd0bb
Submitter: Jenkins
Branch:master

commit 2870deb9338df8739f57427b2c9a7c02226fd0bb
Author: jolie 
Date:   Thu Oct 20 16:46:30 2016 +0800

log.error use _ of i18n

log.error msg should be translated with _ of i18n

Change-Id: I2fb8249c0f5c0460f3f3f61a2dde516e775667da
Closes-Bug:#1635162


** Changed in: keystone
   Status: In Progress => Fix Released

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

Title:
  log.error use _ of i18n

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  log.error should be translated with _ of i18n

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1635162/+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 1638193] [NEW] Cannot specify endpoint type when managing glance cache

2016-11-01 Thread Kairat Kushaev
Public bug reported:

When we pass internalURL for glance-cache-manage by exporting environment 
variable "GLANCE_ENDPOINT_TYPE=internalURL",
it doesn't get the endpoint for internalURL from glance, rather it gets public 
endpoint.

The code snippet from the below link:

https://github.com/openstack/glance/blob/stable/mitaka/glance/common/auth.py#L215-L217

Here while retrieving endpoint for glance service, there is no
feasibility to pass endpoint_type, so it fetches by default
endpoint_type which is publicURL. In most cases cache manage and other
APIs communicates with internalURL/adminURL only and should not
communicate to publicURL. So it is required to allow users to specify
which endpoint to choose.

** Affects: glance
 Importance: Undecided
 Assignee: Kairat Kushaev (kkushaev)
 Status: New

** Changed in: glance
 Assignee: (unassigned) => Kairat Kushaev (kkushaev)

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

Title:
  Cannot specify endpoint type when managing glance cache

Status in Glance:
  New

Bug description:
  When we pass internalURL for glance-cache-manage by exporting environment 
variable "GLANCE_ENDPOINT_TYPE=internalURL",
  it doesn't get the endpoint for internalURL from glance, rather it gets 
public endpoint.

  The code snippet from the below link:

  
https://github.com/openstack/glance/blob/stable/mitaka/glance/common/auth.py#L215-L217

  Here while retrieving endpoint for glance service, there is no
  feasibility to pass endpoint_type, so it fetches by default
  endpoint_type which is publicURL. In most cases cache manage and other
  APIs communicates with internalURL/adminURL only and should not
  communicate to publicURL. So it is required to allow users to specify
  which endpoint to choose.

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