[Yahoo-eng-team] [Bug 1484723] Re: Form errors does not propogate to the user

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1484723

Title:
  Form errors does not propogate to the user

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The error message from form error is not being displayed as part of
  exception.handle(request, e.message) in horizon forms.py code.

  Instead a generic message "Danger: There was an error submitting the
  form ." is being displayed.

  Discussed this behavior with "lhcheng" in IRC, who confirmed that he
  saw the same behavior as well and thinks that this could be a
  regression.

  Expected behavior: should be that the modal window remain open with
  the error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1484723/+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 1492070] Re: Bootswatch should not load external URLs

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492070

Title:
  Bootswatch should not load external URLs

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Bootswatch 3.3.5.2 is trying to load external assets from
  googleapis.com

  Bootswatch 3.3.5.3 makes this variable configurable, so we should
  update and take advantage of this configuration.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492070/+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 1491117] Re: Error when logging back in after timeout

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1491117

Title:
  Error when logging back in after timeout

Status in django-openstack-auth:
  In Progress
Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Internal Server Error: /auth/login/
  Traceback (most recent call last):
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py",
 line 132, in get_response
  response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/views/decorators/debug.py",
 line 76, in sensitive_post_parameters_wrapper
  return view(request, *args, **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/utils/decorators.py",
 line 110, in _wrapped_view
  response = view_func(request, *args, **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/views/decorators/cache.py",
 line 57, in _wrapped_view_func
  response = view_func(request, *args, **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/openstack_auth/views.py",
 line 112, in login
  **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/views/decorators/debug.py",
 line 76, in sensitive_post_parameters_wrapper
  return view(request, *args, **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/utils/decorators.py",
 line 110, in _wrapped_view
  response = view_func(request, *args, **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/views/decorators/cache.py",
 line 57, in _wrapped_view_func
  response = view_func(request, *args, **kwargs)
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/contrib/auth/views.py",
 line 51, in login
  auth_login(request, form.get_user())
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/contrib/auth/__init__.py",
 line 102, in login
  if _get_user_session_key(request) != user.pk or (
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/contrib/auth/__init__.py",
 line 59, in _get_user_session_key
  return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
    File 
"/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/django/db/models/fields/__init__.py",
 line 969, in to_python
  params={'value': value},
  ValidationError: [u"'63bb5e0a7a3c42049236df7438246e57' value must be an 
integer."]

  Django: 1.8.4
  D-O-A: 1.4.0

  My initial thoughts are: the move to Django 1.8 has introduced some
  different behaviour OR https://review.openstack.org/#/c/142481/ has
  caused shenanigans.

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1491117/+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 1474283] Re: Boot instance from volume snapshot fail

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1474283

Title:
  Boot instance from volume snapshot fail

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  How to reproduce:
  1.  create new volume and volume source is image
  2.  Snapshot volume which was created at step1
  3.  Launch as instance from snapshot volume which was created at step2
  Then horizon will display "Block Device Mapping is Invalid: failed to get 
volume"

  Because horizon will send volume source type instead of snapshot source type 
to nova. 
  Therefore nova api will try to fetch volume tough volume id instead of 
snapshot. 
  Nova create server request's data was incorrect at following link and line.
  
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#L874

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1474283/+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 1492089] Re: Add rule cancel action redirect to wrong url

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492089

Title:
  Add rule cancel action redirect to wrong url

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The cancel button in "Add Rule" dialog of security groups page redirect to 
wrong url.  When right click the cancel button and open a new page,  this will 
cast error.
  See the attachment for more detail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492089/+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 1491309] Re: Unhandled exception in quota code leads to missing buttons

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1491309

Title:
  Unhandled exception in quota code leads to missing buttons

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  2015-09-02 09:22:20.600587 Error while checking action permissions.
  2015-09-02 09:22:20.600607 Traceback (most recent call last):
  2015-09-02 09:22:20.600610   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", 
line 1270, in _filter_action
  2015-09-02 09:22:20.600624 return action._allowed(request, datum) and 
row_matched
  2015-09-02 09:22:20.600626   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py", 
line 135, in _allowed
  2015-09-02 09:22:20.600628 self.allowed(request, datum))
  2015-09-02 09:22:20.600642   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/networks/tables.py",
 line 94, in allowed
  2015-09-02 09:22:20.600645 usages = quotas.tenant_quota_usages(request)
  2015-09-02 09:22:20.600647   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", 
line 90, in wrapped
  2015-09-02 09:22:20.600649 value = cache[key] = func(*args, **kwargs)
  2015-09-02 09:22:20.600651   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
 line 356, in tenant_quota_usages
  2015-09-02 09:22:20.600654 tenant_id=tenant_id):
  2015-09-02 09:22:20.600656   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
 line 166, in get_tenant_quota_data
  2015-09-02 09:22:20.600659 tenant_id=tenant_id)
  2015-09-02 09:22:20.600661   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
 line 148, in _get_quota_data
  2015-09-02 09:22:20.600663 quotasets.append(getattr(cinder, 
method_name)(request, tenant_id))
  2015-09-02 09:22:20.600666   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py",
 line 418, in tenant_quota_get
  2015-09-02 09:22:20.600669 return 
base.QuotaSet(c_client.quotas.get(tenant_id))
  2015-09-02 09:22:20.600671   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/v2/quotas.py", line 37, in 
get
  2015-09-02 09:22:20.600673 "quota_set")
  2015-09-02 09:22:20.600675   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/base.py", line 173, in _get
  2015-09-02 09:22:20.600677 resp, body = self.api.client.get(url)
  2015-09-02 09:22:20.600679   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 305, in 
get
  2015-09-02 09:22:20.600681 return self._cs_request(url, 'GET', **kwargs)
  2015-09-02 09:22:20.600683   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 268, in 
_cs_request
  2015-09-02 09:22:20.600685 **kwargs)
  2015-09-02 09:22:20.600687   File 
"/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 251, in 
request
  2015-09-02 09:22:20.600690 raise exceptions.from_response(resp, body)
  2015-09-02 09:22:20.600692 ClientException: The server has either erred or is 
incapable of performing the requested operation. (HTTP 500) (Request-ID: 
req-85e49670-ce04-4fcb-9d3c-3282c2889723)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1491309/+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 1490403] Re: Gate failing on test_routerrule_detail

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1490403

Title:
  Gate failing on test_routerrule_detail

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The gate/jenkins checks is currently bombing out on this error:

  ERROR: test_routerrule_detail 
(openstack_dashboard.dashboards.project.routers.tests.RouterRuleTests)
  --
  Traceback (most recent call last):
File "/home/ubuntu/horizon/openstack_dashboard/test/helpers.py", line 111, 
in instance_stub_out
  return fn(self, *args, **kwargs)
File 
"/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/tests.py", 
line 711, in test_routerrule_detail
  res = self._get_detail(router)
File "/home/ubuntu/horizon/openstack_dashboard/test/helpers.py", line 111, 
in instance_stub_out
  return fn(self, *args, **kwargs)
File 
"/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/tests.py", 
line 49, in _get_detail
  args=[router.id]))
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py",
 line 470, in get
  **extra)
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py",
 line 286, in get
  return self.generic('GET', path, secure=secure, **r)
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py",
 line 358, in generic
  return self.request(**r)
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py",
 line 440, in request
  six.reraise(*exc_info)
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py",
 line 111, in get_response
  response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ubuntu/horizon/horizon/decorators.py", line 36, in dec
  return view_func(request, *args, **kwargs)
File "/home/ubuntu/horizon/horizon/decorators.py", line 52, in dec
  return view_func(request, *args, **kwargs)
File "/home/ubuntu/horizon/horizon/decorators.py", line 36, in dec
  return view_func(request, *args, **kwargs)
File "/home/ubuntu/horizon/horizon/decorators.py", line 84, in dec
  return view_func(request, *args, **kwargs)
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py",
 line 69, in view
  return self.dispatch(request, *args, **kwargs)
File 
"/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py",
 line 87, in dispatch
  return handler(request, *args, **kwargs)
File "/home/ubuntu/horizon/horizon/tabs/views.py", line 146, in get
  context = self.get_context_data(**kwargs)
File 
"/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/views.py", 
line 140, in get_context_data
  context = super(DetailView, self).get_context_data(**kwargs)
File "/home/ubuntu/horizon/horizon/tables/views.py", line 107, in 
get_context_data
  context = super(MultiTableMixin, self).get_context_data(**kwargs)
File "/home/ubuntu/horizon/horizon/tabs/views.py", line 56, in 
get_context_data
  exceptions.handle(self.request)
File "/home/ubuntu/horizon/horizon/exceptions.py", line 359, in handle
  six.reraise(exc_type, exc_value, exc_traceback)
File "/home/ubuntu/horizon/horizon/tabs/views.py", line 54, in 
get_context_data
  context["tab_group"].load_tab_data()
File "/home/ubuntu/horizon/horizon/tabs/base.py", line 128, in load_tab_data
  exceptions.handle(self.request)
File "/home/ubuntu/horizon/horizon/exceptions.py", line 359, in handle
  six.reraise(exc_type, exc_value, exc_traceback)
File "/home/ubuntu/horizon/horizon/tabs/base.py", line 125, in load_tab_data
  tab._data = tab.get_context_data(self.request)
File 
"/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/extensions/routerrules/tabs.py",
 line 82, in get_context_data
  data["rulesmatrix"] = self.get_routerrulesgrid_data(rules)
File 
"/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/extensions/routerrules/tabs.py",
 line 127, in get_routerrulesgrid_data
  source, target, rules))
File 
"/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/extensions/routerrules/tabs.py",
 line 159, in _get_subnet_connectivity
  if (int(dst.network) >= int(rd.broadcast) or
  TypeError: int() argument must be a string or a number, not 'NoneType'

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

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

[Yahoo-eng-team] [Bug 1482705] Re: When Nova quotas are disabled, one cannot choose flavor in Launch Instance NG

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1482705

Title:
  When Nova quotas are disabled, one cannot choose flavor in Launch
  Instance NG

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In some OpenStack setups Nova quotas are disabled (partly due to
  performance reasons, partly because of legacy issues) by using no-op
  driver for them. In this situation it's impossible to launch an
  instance with Angular-based workflow because the process is blocked at
  Flavor selection phase.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1482705/+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 1492065] Re: Create instance testcase -- "test_launch_form_keystone_exception" broken

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492065

Title:
  Create instance testcase -- "test_launch_form_keystone_exception"
  broken

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The test_launch_form_keystone_exception test method calls the handle
  method of the LaunchInstance class. Changes made to the handle method
  in [1] introduced a new neutron api call that was not being mocked
  out, causing an unexpected exception in the
  _cleanup_ports_on_failed_vm_launch function of the create_instance
  module, while running the test_launch_form_keystone_exception unit
  test

  [1] https://review.openstack.org/#/c/202347/

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492065/+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 1497986] Re: Horizon "django-admin make_web_conf --wsgi" generates a wgi which is not compatible with fails with Django-1.7 or greater

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  Horizon "django-admin make_web_conf --wsgi" generates a wgi which is
  not compatible with fails with Django-1.7 or greater

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Installing  horizon via "django-admin make_web_conf --wgi" as
  described here:

  http://docs.openstack.org/developer/horizon/topics/install.html#installation

  Leeds to trigger this bug:
  See https://bugs.launchpad.net/horizon/+bug/1382023

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1497986/+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 1496953] Re: Instance status values in CSV summary are not translated

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1496953

Title:
  Instance status values in CSV summary are not translated

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I prepared my environment using the pseudo translation tool to use
  German.

  When I navigate to the Admin->System->Overview and click on the
  "Download CSV Summary" button, the instance status/state values
  ("Active", "Stopped") in the generated csv file are not translated
  into the locale I'm using.  However when I navigate to the instance
  the Status values are translated.

  You can see in the attached screen shot the translated values from the
  instance page and the non-translated values from the csv file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1496953/+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 1497408] Re: Facets disappear when fullTextSearch facet is removed

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1497408

Title:
  Facets disappear when fullTextSearch facet is removed

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When searching using the hz-magic-search-bar, when the user selects a
  full text search and faceted searches removing the full text search
  removes all the facet searches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1497408/+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 1494532] Re: Magic Search filtering should provide default help content

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1494532

Title:
  Magic Search filtering should provide default help content

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  As suggested by Travis here:
  
https://review.openstack.org/#/c/217437/3/openstack_dashboard/static/app/core/images/table
  /images-table.controller.js

  Instead of defining

  ctrl.sourceFilterStrings = {  
cancel: gettext('Cancel'),  
prompt: gettext('Click here for filters.'), 
remove: gettext('Remove'),
text: gettext('In current results')
  }

  everywhere, we can just make it a default in hzMagicSearchBar
  directive.  If user doesn't pass in any filterStrings, we use the
  default instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494532/+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 1493581] Re: navigation checkmarks in safari display poorly

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493581

Title:
  navigation checkmarks in safari display poorly

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The check marks for selected project etc do not display well in safari
  / mac.  They essentially get placed on top of the project name, and it
  looks bad.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493581/+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 1497591] Re: Heat environments can't be passed to the heat stack create form

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  Heat environments can't be passed to the heat stack create form

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The App Catalog UI would like to pass Heat environment data through to
  the Heat stack create form and noticed environments can't be passed
  without a patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1497591/+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 1495968] Re: FWaaS unit tests typo

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495968

Title:
  FWaaS unit tests typo

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There is a typo in neutron_data in the second firewall data:

  fw2_dict = {...}
  TEST.api_firewalls.add(fw1_dict)
  ...
  TEST.firewalls.add(fw1)

  So actually fw2_dict is not used in the tests and that's why a case
  when there are no associated routers is not considered.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495968/+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 1491401] Re: awkward wording for shutdown an instance

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1491401

Title:
  awkward wording for shutdown an instance

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When selecting shitdown instance from instances table:

  You have selected "foo". Please confirm your selection. To power off a
  specific instance.

  That wording is awful.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1491401/+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 1480343] Re: Swap field in "Flavor create/update" dialog shouldn't be mandatory

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1480343

Title:
  Swap field in "Flavor create/update" dialog shouldn't be mandatory

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Such as in Nova CLI, during flavor create/update the Swap field should
  be optional, if Nova receive an empty value in Swap field set it to
  "0"

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1480343/+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 1480264] Re: Error message indents are different on login page

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1480264

Title:
  Error message indents are different on login page

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When 
  1) session is expired => user is redirected to login page where
  2) he provides incorrect credentials,
  3) he observes that indents are different for different error messages (see 
screenshot).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1480264/+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 1445233] Re: [data processing] Add a "swift" toggle to the configure tab on Spark job launch

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1445233

Title:
  [data processing] Add a "swift" toggle to the configure tab on Spark
  job launch

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The "edp.spark.adapt_for_swift" boolean configuration value may be set
  on the execution of a Spark job.  It causes Sahara to modify the
  hadoop configuration of a Spark job so that swift urls may be
  dereferenced through hdfs at runtime.

  It would be nice if users could simply check a box to set this config.
  Currently, a user must add this config on the configure tab by hand.

  The label on the box can be something like "Enable Swift paths".

  Default should probably be True.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1445233/+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 1492270] Re: SortedDict class is deprecated since Django 1.7 and will be removed in 1.9

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492270

Title:
  SortedDict class is deprecated since Django 1.7 and will be removed in
  1.9

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Thus django.utils.datastructures.SortedDict should be replaced with
  collections.OrderedDict.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492270/+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 1493984] Re: magic search css bug

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493984

Title:
  magic search css bug

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The fix in bug 1492422 set the wrong class so widgets using hz-magic-
  search-bar aren't getting the right css.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493984/+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 1492667] Re: Router set gateway has a error

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492667

Title:
  Router set gateway has a error

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Reproduce the bug:
  1, Create a router and it's name is router1;
  2, Edit router and set it's name is blank, and it will display it's ID as 
name;
  3;Click "Set Gateway" and open a form modal, select a "External Network",  
then click the "External Network" button, there will display  "this field is 
required" beside the "Router Name" field.
  But the set gateway api support router having no name. So when open the "Set 
Gateway" form modal,  there should display the router's name_or_id. 
  Please see the attachment for more detail

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492667/+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 1484025] Re: Hide 'Gateway IP' input when 'Disable Gateway' is checked

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1484025

Title:
  Hide 'Gateway IP' input when 'Disable Gateway' is checked

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When updating subnet, 'Gateway IP' input is not hidden if 'Disable
  Gateway' checkbox is checked as 'Create Network' wizard do.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1484025/+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 1494713] Re: "scss is misspelled as css" in these scss files

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1494713

Title:
  "scss is misspelled as css" in these scss files

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  1.)
  
https://github.com/openstack/horizon/blob/master/horizon/test/test_dashboards/cats/static/cats/scss/cats.scss#L1

  2.)
  
https://github.com/openstack/horizon/blob/master/horizon/test/test_dashboards/dogs/static/dogs/scss/dogs.scss#L1

  3.)
  
https://github.com/openstack/horizon/blob/master/horizon/conf/dash_template/static/dash_name/scss/dash_name.scss#L1

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494713/+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 1491948] Re: eslint fails due to missing newlines

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1491948

Title:
  eslint fails due to missing newlines

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Run eslint on horizon, a few of the legacy javascript files will fail
  due to missing newlines.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1491948/+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 1482354] Re: Setting "enable_quotas"=False disables Neutron in GUI

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  Setting "enable_quotas"=False disables Neutron in  GUI

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Excluding OPENSTACK_NEUTRON_NETWORK["enable_quotas"] or setting to False
  will result in Create Network, Create Subnet, Create Router buttons
  not showing up when logged in as the demo account. KeyError Exceptions are 
  thrown.

  These three side effects happen because the code in the views use the
  following construct
  
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/tables.py#L94

  usages = quotas.tenant_quota_usages(request)
  if usages['networks']['available'] <= 0:

  if enable_quotas is false, then quotas.tenant_quota_usages does not
  add the 'available' node to the usages dict and therefore a KeyError
  'available' is thrown. This ends up aborting the whole is_allowed
  method in horizon.BaseTable and therefore hiding the button.

  quotas.tenant_quota_usages will not add the available key for usage
  items which are disabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1482354/+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 1493354] Re: Some angular unit tests use a wrong way of checking if an element exists

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493354

Title:
  Some angular unit tests use a wrong way of checking if an element
  exists

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I've noticed a few occurrences of the following pattern in the Horizon
  unit tests for Angular directives:
  `expect(element.find(someSelector)).toBeDefined()`. That is going to
  always true, since element.find(someSelector) returns an Array-like
  object which _is_ defined. The correct pattern to use with such
  selectors is `expect(element.find(someSelector).length).toBe(1)`.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493354/+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 1490375] Re: Volume Type Extra Specs cancel action redirect wrong url

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1490375

Title:
  Volume Type Extra Specs cancel action redirect wrong url

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In the Volume Type Extra Specs page, In create and edit  Volume Type Extra 
Spec modal dialog  the cancel action redirect to wrong url,  when right click 
the cancel button, it will cast error. 
  In the QoS Spec page, there has the same error.
  Please see the attachment for more detail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1490375/+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 1496417] Re: Inline edit checkbox value does not match cell value

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1496417

Title:
  Inline edit checkbox value does not match cell value

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  This can be seen in the Projects table and the Metadata Definitions
  table.  If you click the pencil to edit any of the Yes/No boolean
  fields, the checkbox is always checked no matter the actual value of
  the cell.  The checked state of the checkbox should match the value of
  the cell.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1496417/+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 1370206] Re: Description text area should be fixed width

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1370206

Title:
  Description text area should be fixed width

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Dialogs that have a description field do not work consistently.  There are at 
least 3 different behaviors present:
  - Those whose description field is not resizable in either direction.
 Some examples:   
   Compute > Acesss & Security > Create Security Group
   Network > Load Balancers > Pools Tab > Add Pool
   Network > Firewalls > Firewalls Tab > Create Firewall
   Database > Backups > Create Backup

  - Those that when resized wide overflow under the fields to the right.
 Some examples:
   Compute > Volumes > Create Volume
   Data Processing > Job Binaries > Create Job Binary
   Data Processing > Image Registry > Register Image
   Compute > Images > Create Image

  - Those that when resized wide shove the fields to the right off of the 
dialog.  
 Some examples:
   Data Processing > Jobs > Create Job  
   Data Processing > Data Source > Create Data Source
   Identity > Projects > Create Project

  Description fields in horizon should work consistently.  They should
  be prevented from being resized horizontally but should be permitted
  to be resized vertically.

  See attached image.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1370206/+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 1492422] Re: hz-magic-search-bar doesn't use a class

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492422

Title:
  hz-magic-search-bar doesn't use a class

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The css for the magic search bar doesn't use a class but hard codes
  the element name. This means it can not be reused for the app-catalog-
  ui. We will have to fork the whole file into the app-catalog-ui, or
  just change the css file to use a class in horizon so we can share.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492422/+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 1479171] Re: Display the project name in user detail page corresponding to the "Project ID"

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1479171

Title:
  Display the project name in user detail page corresponding to the
  "Project ID"

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In the user detail page of the identity panel group, only display the
  "Project ID", now display the "Project Name" corresponding to the
  "Project ID".

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1479171/+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 1492281] Re: VPNaaS and FWaaS delete actions need refactoring

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  VPNaaS and FWaaS delete actions need refactoring

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  VPNaaS and FWaaS delete actions are implemented in an unusual way and
  have a lot of unnecessary code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492281/+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 1365359] Re: Ability to disable more than one domain at a time

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1365359

Title:
  Ability to disable more than one domain at a time

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  It would be nice to have functionality where you could select multiple
  domains and set them to be disabled at one time. This functionality
  would compliment the delete functionality where you can bulk delete
  domains.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1365359/+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 1496679] Re: Need to translate '-' for non-values in angular HTML

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1496679

Title:
  Need to translate '-' for non-values in angular HTML

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The empty value of '-' needs to be translated.
  This adds a filter that can accomplish this and updates existing angular html 
that used the || '-'

  
  To test:

  In local_settings.py

  LAUNCH_INSTANCE_NG_ENABLED = True

  update enabled/_1051_project_ng_images_panel.py
  update enabled/_3031_identity_users_panel.py

  set disabled=False

  Then:
  ./run_tests.sh --makemessages
  ./run_tests.sh --pseudo de
  ./run_tests.sh --compilemessages
  ./run_tests.sh --runserver 0.0.0.0:8005

  Go to: http://localhost:8005/settings/

  Change Language to Deutsch (de)

  Go to:
   http://localhost:8005/project/ngimages/
   http://localhost:8005/project/ngusers/

  Launch an instance.
  Go to security groups step.
  Expand details for a security group.

  All text on page should be fake localized where the english
  is surrounded by other characters.
  [~-~KanjiChars]

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1496679/+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 1495185] Re: should fix all the network/router/subnet/port name_or_id

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  should fix all the network/router/subnet/port name_or_id

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  should fix all the network/router/subnet/port display as name_or_id

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495185/+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 1495642] Re: Missing values from VPN Service details

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495642

Title:
  Missing values from VPN Service details

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  VPNaaS details page is missing a couple of values: 'external_v4_ip'
  and 'external_v6_ip'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495642/+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 1479018] Re: get_panel_group error with enabled panel tests

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  get_panel_group error with enabled panel tests

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When enabling panels in patches such as:
  - https://review.openstack.org/#/c/205296/ (which involves setting Disabled 
to False)

  The feature works perfectly fine when viewed.  However, an error comes
  up when the tests are run, in
  openstack_dashboard.test.test_plugins.panel_test.

  The call to get_panel_group fails:
  ERROR: test_remove_panel 
(openstack_dashboard.test.test_plugins.panel_tests.PanelPluginTests)
  --
  Traceback (most recent call last):
File 
"/home/mborland/horizon/openstack_dashboard/test/test_plugins/panel_tests.py", 
line 65, in test_remove_panel
  [p.__class__ for p in dashboard.get_panels()])
File "/home/mborland/horizon/horizon/base.py", line 451, in get_panels
  panel_groups = self.get_panel_groups()
File "/home/mborland/horizon/horizon/base.py", line 470, in get_panel_groups
  registered.pop(panel.__class__)
  KeyError: 

  
  When this happens, it seems the panel groups are not quite aligned with what 
is enabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1479018/+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 1490704] Re: ESLint glob pattern not matching all files for lint

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1490704

Title:
  ESLint glob pattern not matching all files for lint

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The file glob pattern in package.json

  */static openstack_dashboard/dashboards/*/static

  is not running eslint on the openstack_dashboard/static files.

  The files in that package have unaddressed warnings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1490704/+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 1492450] Re: Error when attaching volume to instance

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1492450

Title:
  Error when attaching volume to instance

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  After Nova patch https://review.openstack.org/#/c/219696 landed,
  Horizon users can no longer attach a volume to an instance.

  The Nova API requires a non blank "device" value, or null. Horizon is
  passing a blank string, which results in the following exception:

  Recoverable error: Invalid input for field/attribute device. Value: .
  u'' does not match '(^/dev/x{0,1}[a-z]{0,1}d{0,1})([a-z]+)[0-9]*$'
  (HTTP 400)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1492450/+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 1496080] Re: Text in Usage.CSV not translated

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1496080

Title:
  Text in Usage.CSV not translated

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I prepared my environment using the pseudo translation tool to use
  German.

  When I navigate to the Admin->System->Overview and click on the
  "Download CSV Summary" button, the generated csv file contains strings
  which are not translated into the locale I'm using.

  Doug Fish looked at the issue and found some resources aren't being
  added to the django pot file, likely because they are coming from csv
  versus html.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1496080/+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 1495634] Re: [sahara] Cluster creation fails

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495634

Title:
  [sahara] Cluster creation fails

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When attempting to create a cluster via Sahara under Data Processing, the 
cluster creation fails.
  In the log, the following can be seen:  Recoverable error: 'cluster_count'

  I suspect that the recent addition of cluster_count may not be in the
  currently used version of python-saharaclient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495634/+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 1497029] Re: newest horizon broken in compressed state

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1497029

Title:
  newest horizon broken in compressed state

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In the javascript console, I see the following if I have
  COMPRESS_ENABLED=True but not if its COMPRESS_ENABLED=False:

  TypeError: ({argument_template:"Name:Description:Mapping Type:http://docs.openstack.org/developer/sahara/userdoc/edp.html for 
definitions.\">Positional 
ArgumentNamed ParameterConfiguration ValueLocation:Value Type:StringNumberData SourceRequired?:Default Value:", job_interface:null, 
argument_ids:null, value_type:null, add_argument_button:null, 
value_type_default:null, current_value_type:(function (){return 
this.value_type.find("option:selected").html();}), 
mark_argument_element_as_wrong:(function (id){$("#"+id).addClass("error");}), 
get_next_argument_id:(functio
 n (){var 
max=-1;$(".argument-form").each(function(){max=Math.max(max,parseInt($(this).attr("id_attr")));});return
 max+1;}), set_argument_ids:(function (){var 
ids=[];$(".argument-form").each(function(){var 
id=parseInt($(this).attr("id_attr"));if(!isNaN(id)){ids.push(id);}});this.argument_ids.val(JSON.stringify(ids));}),
 add_argument_node:(function 
(id,name,description,mapping_type,location,value_type,required,default_value){var
 
tmp=this.argument_template.replace(/\$id/g,id).replace(/\$name/g,name).replace(/\$description/g,description).replace(/\$mapping_type/g,mapping_type).replace(/\$location/g,location).replace(/\$value_type/g,value_type).replace(/\$required/g,required).replace(/\$default_value/g,default_value);this.job_interface.find("div:last").after(tmp);this.job_interface.show();this.set_argument_ids();}),
 add_interface_argument:(function (){var 
value_type=this.current_value_type();if(value_type===this.value_type_default){return;}
  
this.add_argument_node(this.get_next_argument_id(),"","","args","",value_type,true,"");$(".count-field").change();}),
 delete_interface_argument:(function (el){$(el).closest("div").remove();var 
id=this.get_next_argument_id();if(id===0){this.job_interface.hide();}
  this.set_argument_ids();}), init_arguments:(function 
(){$("body").tooltip({selector:".help-icon"});this.job_interface=$("#job_interface_arguments");this.argument_ids=$("#argument_ids");this.value_type=$("#value_type");this.add_argument_button=$("#add_argument_button");this.value_type_default=this.current_value_type();this.value_type.change(function(){if(horizon.job_interface_arguments.current_value_type()===this.value_type_default){horizon.job_interface_arguments.add_argument_button.addClass("disabled");}else{horizon.job_interface_arguments.add_argument_button.removeClass("disabled");}});this.job_interface.hide();})})
 is not a function


  ...ay);}}};horizon.job_interface_arguments={argument_template:''+'https://bugs.launchpad.net/horizon/+bug/1497029/+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 1497142] Re: cinderclient traces in tests output

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1497142

Title:
  cinderclient traces in tests output

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  in current checkout (Sep 18th, 7 UTC)  there are cinderclient traces
  shown.

  
  ./run_tests.sh -N -P openstack_dashboard
  nosetests openstack_dashboard --nocapture --nologcapture 
--cover-package=openstack_dashboard --cover-inclusive --all-modules 
--exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1
  Creating test database for alias 'default'...
  
..S..DEBUG:oslo_policy.openstack.common.fileutils:Reloading
 cached file 
/home/mrunge/work/horizon/openstack_dashboard/conf/keystone_policy.json
  DEBUG:oslo_policy.policy:Reloaded policy file: 
/home/mrunge/work/horizon/openstack_dashboard/conf/keystone_policy.json
  DEBUG:oslo_policy.openstack.common.fileutils:Reloading cached file 
/home/mrunge/work/horizon/openstack_dashboard/conf/nova_policy.json
  DEBUG:oslo_policy.policy:Reloaded policy file: 
/home/mrunge/work/horizon/openstack_dashboard/conf/nova_policy.json
  
..DEBUG:cinderclient.client:Connection
 error: ('Connection aborted.', gaierror(-5, 'No address associated with 
hostname'))
  .DEBUG:cinderclient.client:Connection error: ('Connection aborted.', 
gaierror(-5, 'No address associated with hostname'))
  ...DEBUG:cinderclient.client:Connection error: ('Connection aborted.', 
gaierror(-5, 'No address associated with hostname'))
  
.DEBUG:oslo_policy.policy:Reloaded
 policy file: 
/home/mrunge/work/horizon/openstack_dashboard/conf/keystone_policy.json
  .DEBUG:oslo_policy.policy:Reloaded policy file: 
/home/mrunge/work/horizon/openstack_dashboard/conf/keystone_policy.json

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1497142/+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 1493854] Re: MANIFEST.in is outdated

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493854

Title:
  MANIFEST.in is outdated

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The MANIFEST.in file at the Horizon root is outdated, still referring
  to .less stylesheets.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493854/+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 1500012] [NEW] QoS driver for LinuxBridge Agent

2015-09-26 Thread Slawek Kaplonski
Public bug reported:

Currently QoS is supported by openvswitch agent (QosOVSAgentDriver) and by 
sr-iov agent (QosSRIOVAgentDriver) on compute hosts.
There should be also similar agent for support LinuxBridge agent. It can set bw 
limitations using "tc" which can be applied for ingress and egress traffic on 
different ports (interfaces) in linux bridge.

** Affects: neutron
 Importance: Undecided
 Status: New


** Tags: linuxbridge qos rfe

** Tags added: rfe

** Tags added: linuxbridge

** Tags added: qos

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

Title:
  QoS driver for LinuxBridge Agent

Status in neutron:
  New

Bug description:
  Currently QoS is supported by openvswitch agent (QosOVSAgentDriver) and by 
sr-iov agent (QosSRIOVAgentDriver) on compute hosts.
  There should be also similar agent for support LinuxBridge agent. It can set 
bw limitations using "tc" which can be applied for ingress and egress traffic 
on different ports (interfaces) in linux bridge.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1500012/+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 1488924] Re: Example Link of Resource type association is wrong

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  Example Link of Resource type association is wrong

Status in Glance:
  Fix Released

Bug description:
  In "https://github.com/openstack/glance/blob/master/doc/source
  /metadefs-concepts.rst" the link given for one example is
  "https://github.com/openstack/nova-specs/blob/master/specs/juno/virt-
  driver-vcpu-topology.rst". After clicking this error: page not found"

  Solution: The correct one is "https://github.com/openstack/nova-
  specs/blob/master/specs/juno/implemented/virt-driver-vcpu-
  topology.rst"

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1488924/+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 1497508] Re: functional tests fail due to ping timeout on servers start

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  functional tests fail due to ping timeout on servers start

Status in Glance:
  Fix Released

Bug description:
  Whenever I try running ‘tox -epy27’, the functional tests continuously
  fails due to ping timeout while trying to start the servers (glance-
  api, glance-registry etc.,) for running the tests.

  I am running the tests from a VM with 8GB of RAM and 2.7GHz Intel Core
  i7 Processor.

  And I could never make the functional tests to pass until I bump up
  the timeout value from the current value of 10 secs.

  Below is the snippet of exception stack trace captured from the
  console output.

  CONSOLE OUTPUT WITH ERROR STACKTRACE:

  venkatesh@vsbox:~/workspace/sf_oswork/repos/glance$ tox -epy27
  py27 develop-inst-noop: /media/sf_oswork/repos/glance
  py27 installed: 
aioeventlet==0.4,alembic==0.8.2,amqp==1.4.6,anyjson==0.3.3,appdirs==1.4.0,automaton==0.7.0,Babel==2.0,cachetools==1.1.1,castellan==0.2.1,cffi==1.2.1,contextlib2==0.4.0,coverage==3.7.1,cryptography==1.0.1,debtcollector==0.8.0,decorator==4.0.2,docutils==0.12,enum34==1.0.4,eventlet==0.17.4,extras==0.0.3,fasteners==0.13.0,fixtures==1.3.1,flake8==2.2.4,funcsigs==0.4,functools32==3.2.3.post2,futures==3.0.3,futurist==0.5.0,-e
 
git+...@github.com:openstack/glance.git@cef71f71ded895817eb245cd6aa5519293443d71#egg=glance-gerrit_master,glance-store==0.9.1,greenlet==0.4.9,hacking==0.10.2,httplib2==0.9.1,idna==2.0,ipaddress==1.0.14,iso8601==0.1.10,Jinja2==2.8,jsonschema==2.5.1,keystonemiddleware==2.2.0,kombu==3.0.26,linecache2==1.0.0,Mako==1.0.2,MarkupSafe==0.23,mccabe==0.2.1,mock==1.3.0,monotonic==0.3,mox3==0.10.0,msgpack-python==0.4.6,netaddr==0.7.18,netifaces==0.10.4,networkx==1.10,os-client-config==1.6.3,oslo.concurrency==2.6.0,oslo.config==2.4.0,oslo.context==0.6.0,oslo.db==2.5.0,oslo.i18n==2.6.0,oslo.log==1.11.0,oslo.messaging==2.5.0,oslo.middleware==2.8.0,oslo.policy==0.11.0,oslo.serialization==1.9.0,oslo.service==0.9.0,oslo.utils==2.5.0,oslosphinx==3.2.0,oslotest==1.11.0,osprofiler==0.3.0,Paste==2.0.2,PasteDeploy==1.5.2,pbr==1.7.0,pep8==1.5.7,prettytable==0.7.2,psutil==1.2.1,psycopg2==2.6.1,pyasn1==0.1.8,pycadf==1.1.0,pycparser==2.14,pycrypto==2.6.1,pyflakes==0.8.1,Pygments==2.0.2,PyMySQL==0.6.6,pyOpenSSL==0.15.1,pysendfile==2.0.1,python-editor==0.4,python-keystoneclient==1.7.0,python-mimeparse==0.1.4,python-subunit==1.1.0,pytz==2015.4,PyYAML==3.11,qpid-python==0.26,repoze.lru==0.6,requests==2.7.0,retrying==1.3.3,Routes==2.2,semantic-version==2.4.2,simplegeneric==0.8.1,six==1.9.0,Sphinx==1.2.3,SQLAlchemy==1.0.8,sqlalchemy-migrate==0.10.0,sqlparse==0.1.16,stevedore==1.8.0,taskflow==1.20.0,Tempita==0.5.2,testrepository==0.0.20,testresources==0.2.7,testscenarios==0.5.0,testtools==1.8.0,traceback2==1.4.0,trollius==2.0,unittest2==1.1.0,WebOb==1.4.1,wheel==0.24.0,wrapt==1.10.5,WSME==0.8.0,xattr==0.7.8
  py27 runtests: PYTHONHASHSEED='3954332983'
  py27 runtests: commands[0] | lockutils-wrapper python setup.py testr 
--slowest --testr-args=
  running testr
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./glance/tests  
  ==
  FAIL: 
glance.tests.functional.artifacts.test_artifacts.TestArtifacts.test_bad_update_property
  tags: worker-0
  --
  registry.log: {{{
  2015-09-19 11:00:31.913 2303 DEBUG glance.common.config [-] Loading 
glance-registry from /tmp/tmpWrfnCY/etc/registry-paste.ini load_paste_app 
glance/common/config.py:266
  2015-09-19 11:00:42.558 2317 DEBUG glance.common.config [-] Loading 
glance-registry from /tmp/tmpWrfnCY/etc/registry-paste.ini load_paste_app 
glance/common/config.py:266
  2015-09-19 11:00:53.144 2331 DEBUG glance.common.config [-] Loading 
glance-registry from /tmp/tmpWrfnCY/etc/registry-paste.ini load_paste_app 
glance/common/config.py:266
  }}}

  Traceback (most recent call last):
File "glance/tests/functional/artifacts/test_artifacts.py", line 92, in 
setUp
  self.start_servers(**self.__dict__.copy())
File "glance/tests/functional/artifacts/test_artifacts.py", line 181, in 
start_servers
  super(TestArtifacts, self).start_servers(**kwargs)
File "glance/tests/functional/__init__.py", line 789, in start_servers
  **kwargs)
File "glance/tests/functional/__init__.py", line 770, in start_with_retry
  self.assertTrue(launch_msg is None, launch_msg)
File 
"/media/sf_oswork/repos/glance/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py",
 line 702, in assertTrue
  raise 

[Yahoo-eng-team] [Bug 1496138] Re: logging a warning when someone accesses / seems unnecessary and wasteful

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  logging a warning when someone accesses / seems unnecessary and
  wasteful

Status in Glance:
  Fix Released
Status in Glance kilo series:
  New
Status in Glance liberty series:
  Fix Released

Bug description:
  Our load balancer health checks (and other folks too) just load the
  main glance URL and look for an http status of 300 to determine if
  glance is okay. Starting I think in Kilo, glance changed and now logs
  a warning. This is highly unnecessary and ends up generating gigs of
  useless logs which make diagnosing real issues more difficult.

  At the least this should be an INFO, but ideally there's no point in
  logging this at all.

  2015-08-04 17:42:43.058 24075 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:43.577 24071 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:45.083 24076 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:45.317 24064 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:47.092 24074 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1496138/+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 1496012] Re: Glance example configs needs refreshing

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Glance example configs needs refreshing

Status in Glance:
  Fix Released

Bug description:
  We need to generate new set of example configs for Glance Liberty
  release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1496012/+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 1475737] Re: requirements.txt includes unnecessary oslo.vmware

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  requirements.txt includes unnecessary oslo.vmware

Status in Glance:
  Fix Released

Bug description:
  olso_vmware is not referenced in glance python code, yet
  requirements.txt includes it. This should either be removed from
  requirements entirely, or moved to test-requirements.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1475737/+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 1480392] Re: Artifacts: filtering by range is not working as expected

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Artifacts: filtering by range is not working as expected

Status in Glance:
  Fix Released

Bug description:
  According to spec, the list artifacts API call should be able to list 
artifacts by the range of some of its property, if the property supports 
comparison, e.g
  /v3/artifacts/some_type/?property=gt:1=lt:10 
   should return all the artifacts having the value of "property" greater than 
1 and less than 10.
  However this does not work: greater than 1 part is ignored and only the last 
condition is applied.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1480392/+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 1482371] Re: [OSSA 2015-019] Image status can be changed by passing header 'x-image-meta-status' with PUT operation using v1 (CVE-2015-5251)

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  [OSSA 2015-019] Image status can be changed by passing header 'x
  -image-meta-status' with PUT operation using v1 (CVE-2015-5251)

Status in Glance:
  Fix Released
Status in OpenStack Security Advisory:
  Fix Released

Bug description:
  Using Glance v1, one is able to change the status of an image to any
  one of the valid statuses by passing the header 'x-image-meta-status'
  with PUT on /images/.  This bug provides a way for an image
  to transition states that are otherwise not possible in an image's
  lifecycle.

  See http://paste.openstack.org/show/pNL7kvIZUz7cWJQwX64d/ for a
  reproduction of this behavior on devstack.

  As shown in the above paste, though one is able to change the status
  of an active image to queued, uploading data after re-setting the
  status to queued fails with a 400[1].  Though the purpose of [1]
  appears to be slightly different, it's fortunately saving us from
  badly breaking the immutability guarantees of glance images.

  [1]
  
https://github.com/openstack/glance/blob/master/glance/api/v1/images.py#L760-L765

  NOTE: Marking this as a security vulnerability for now as users would
  be able to activate the deactivated images on their own. This probably
  affects deployments only where v1 is exposed publicly. However, it's
  probably worth discussing this from a security perspective as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1482371/+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 1476696] Re: cpu pinning flavor metadef

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  cpu pinning flavor metadef

Status in Glance:
  Fix Released

Bug description:
  Flavor namespace in glance metadefs should be extended with
  "hw:cpu_policy" or "hw_cpu_policy" property to be able to configure
  Nova::Flavor, Glance::Image, Cinder::Volume(image) using that property

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1476696/+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 1482586] Re: Dictionary creation could be rewritten as a dictionary literal

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  Dictionary creation could be rewritten as a dictionary literal

Status in Glance:
  Fix Released

Bug description:
  There are several places where dict is created and then initialized
  with keys later.

  for example.

  test_metadef_resourcetypes.py module,
  ResourceTypeController->index method.

  filters = {}
  filter['namespace'] = namespace

  could be rewritten as

  filters = {'namespace': namespace}

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1482586/+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 1488360] Re: CONF.task.task_time_to_live doesn't work

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  CONF.task.task_time_to_live doesn't work

Status in Glance:
  Fix Released

Bug description:
  Reproduce:

  1.set task_time_to_live to 1 in glance-api.conf:
  task_time_to_live = 1

  2. restart glance-api

  3. create a import task
  {
  "type":"import",
  "input":{
  
"import_from":"http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img;,
  "import_from_format":"",
  "image_properties":{
  "disk_format":"qcow2",
  "container_format":"bare",
  "name":"test-task"
  }
  }
  }

  4. wait for task success

  5. show the task:
   glance task-show  

  Expect :  updated_at and expires_at should have the difference of 1 hours.
  Actual  :  they have the difference of  48 hours, which is the default value 
of task_time_to_live.

  The reason is that taskflow created a task object , different from the
  one created by the glance api. And the task_time_to_live was set to
  default 48 when taskflow get it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1488360/+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 1496898] Re: prevent extraneous log messages and stdout prints

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  prevent extraneous log messages and stdout prints

Status in Glance:
  Fix Released

Bug description:
  When we run unit tests using './run_tests.sh glance.tests.unit', it
  prints quite a lot of unwanted log messages and stdout prints. This
  quite badly clutters the whole unit test result output making things
  difficult to see whats happening.

  Attaching a sample out put of the unit tests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1496898/+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 1488037] Re: Artifacts: HTTP 500 when uploading a blob file without specified size

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Artifacts: HTTP 500 when uploading a blob file without specified size

Status in Glance:
  Fix Released

Bug description:
  An attempt to upload a blob to an artifact without specifying the
  content length in a header causes HTTP 500 error in Glance API.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1488037/+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 1491350] Re: /versions endpoint returns 300 everytime

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  /versions endpoint returns 300 everytime

Status in Glance:
  Fix Released

Bug description:
  The /versions endpoint returns a 300 status code even when the user
  explicitly asks for the version list. This is confusing and not the
  desired behavior since there's just 1 choice for the `/versions`
  endpoint.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1491350/+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 1482588] Re: List creation could be rewritten as a list literal

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  List creation could be rewritten as a list literal

Status in Glance:
  Fix Released

Bug description:
  In sqlalchemy/artifacts.py --> _out method, list "deparr' is created
  as below.

  deparr = []
  deparr.append(_out(dep.dest, new_show_level))

  could be rewritten as

  deparr = [_out(dep.dest, new_show_level)]

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1482588/+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 1486118] Re: Incorrect response for GET /v3/artifacts/type

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Incorrect response for GET /v3/artifacts/type

Status in Glance:
  Fix Released

Bug description:
  The call "List Artifacts" (both "drafts" and active ones) should return a 
regular pagination data structure (the dict with "artifacts", "next" and "first 
section), so it may be paginated in a regular way.
  This does not happen: the list artifacts call returns just an array of 
artifacts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1486118/+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 1482583] Re: name attribute declared twice in ImmutableImageProxy class

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  name attribute declared twice in ImmutableImageProxy class

Status in Glance:
  Fix Released

Bug description:
  name attribute declared twice in ImmutableImageProxy class in
  glance/api/authorization.py module.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1482583/+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 1494895] Re: The sqlalchemy migrate script 042_ has bad file permissions

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  The sqlalchemy migrate script 042_ has bad file permissions

Status in Glance:
  Fix Released

Bug description:
  042_add_changes_to_reinstall_unique_metadef_constraints.py has file 
permissions of 755 (rwxrwxr-x).
  These should be changed to 644 (rw-r--r--).

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1494895/+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 1489902] Re: Artifacts: public artifact may be modified by any user

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Artifacts: public artifact may be modified by any user

Status in Glance:
  Fix Released

Bug description:
  Artifacts should be editable only by their owner and admins. However,
  is seems like it is not enforced, and if the user has an access to an
  artifact (e.g. if the artifact is public) she may modify it even
  without being an admin or artifact's owner.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1489902/+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 1462315] Re: glance member-create failed with HTTP 500 error

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  glance member-create failed with HTTP 500 error

Status in Glance:
  Fix Released

Bug description:
   At first, I run "glance member-create" and then "glance member-
  delete", they were successful. But when I run "glance member-create"
  again with the same parameters, it failed with HTTP 500 error.

  [root@vm9 /]# glance member-create  2d2421ca-d4bd-4c69-91cf-5d167d20073a 
95e0dd9ed89544428f1daa7071c6990f
  [root@vm9 /]# glance member-delete  2d2421ca-d4bd-4c69-91cf-5d167d20073a 
95e0dd9ed89544428f1daa7071c6990f
  [root@vm9 /]#  glance member-create  2d2421ca-d4bd-4c69-91cf-5d167d20073a 
95e0dd9ed89544428f1daa7071c6990f
  HTTPInternalServerError (HTTP 500)

  
   glance  registry.log :

   File "/usr/lib/python2.7/site-packages/glance/registry/api/v1/members.py", 
line 269, in update
  self.db_api.image_member_create(req.context, values)
File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line 
1020, in image_member_create
  _image_member_update(context, memb_ref, values, session=session)
File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line 
1051, in _image_member_update
  memb_ref.save(session=session)

  File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/models.py", line 
77, in save
  super(GlanceBase, self).save(session or db_api.get_session())
File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/models.py", line 
48, in save
  session.flush()
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 
1919, in flush
  self._flush(objects)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 
2037, in _flush
  transaction.rollback(_capture_exception=True)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/langhelpers.py", 
line 60, in __exit__
  compat.reraise(exc_type, exc_value, exc_tb)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 
2001, in _flush
  flush_context.execute()
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", 
line 372, in execute
  rec.execute(self)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", 
line 526, in execute
  uow
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", 
line 65, in save_obj
  mapper, table, insert)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", 
line 602, in _emit_insert_statements
  execute(statement, params)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 
729, in execute
  return meth(self, multiparams, params)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 
322, in _execute_on_connection
  return connection._execute_clauseelement(self, multiparams, params)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 
826, in _execute_clauseelement
  compiled_sql, distilled_params
File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 
958, in _execute_context
  context)
File 
"/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/compat/handle_error.py", 
line 261, in _handle_dbapi_exception
  e, statement, parameters, cursor, context)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 
1155, in _handle_dbapi_exception
  util.raise_from_cause(newraise, exc_info)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 
199, in raise_from_cause
  reraise(type(exception), exception, tb=exc_tb)
File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 
951, in _execute_context
  context)
File "/usr/lib/python2.7/site-packages/ibm_db_sa/ibm_db.py", line 106, in 
do_execute
  cursor.execute(statement, parameters)
File "/usr/lib64/python2.7/site-packages/ibm_db_dbi.py", line 1335, in 
execute
  self._execute_helper(parameters)
File "/usr/lib64/python2.7/site-packages/ibm_db_dbi.py", line 1247, in 
_execute_helper
  raise self.messages[len(self.messages) - 1]

  DBDuplicateEntry: (IntegrityError) ibm_db_dbi::IntegrityError:
  Statement Execute Failed: [IBM][CLI Driver][DB2/LINUXX8664] SQL0803N
  One or more values in the INSERT statement, UPDATE statement, or
  foreign key update caused by a DELETE statement are not valid because
  the primary key, unique constraint or unique index identified by "2"
  constrains table "GLANCE.IMAGE_MEMBERS" from having duplicate values
  for the index key.  SQLSTATE=23505 SQLCODE=-803 'INSERT INTO
  image_members (created_at, updated_at, deleted_at, deleted, image_id,
  "member", can_share, status) VALUES 

[Yahoo-eng-team] [Bug 1444767] Re: scrubber edge cases orphan objects and records

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  scrubber edge cases orphan objects and records

Status in Glance:
  Fix Released

Bug description:
  The scrubber can leave orphaned objects and db records in error / edge
  cases. This is because the order in which it updates the DB and object
  store. Recommended solution:

  For each image that has status pending_delete:
  For each image location that has status pending_delete:
  Delete the object in the object store
  If error other than object not found, continue
  Mark image location status as deleted
  If all image locations are deleted, mark image as deleted
  Else if no image locations are marked as pending_delete, change status to 
something else??? # I suppose it's possible an image_location would still be 
active or some other non-deleted status. I don't think we want to orphan the 
image_location by marking the image deleted in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1444767/+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 1479700] Re: Artifacts: filtering by dictionary key is not working

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Artifacts: filtering by dictionary key is not working

Status in Glance:
  Fix Released

Bug description:
  If we define an artifact type with a Dict property, it should be
  possible to list only those artifacts of this type which have a
  particular key present (i.e. set to any value). According to the
  initial spec it should be possible.

  However, the query /v3/artifacts/my_type/v1?property=key returns an
  HTTP 500

  Also, I expect to be able to filter artifacts by a particular key-value 
combination, e.g. with a request like 
  "/v3/artifacts/my_type/v1?property=key.value"
  This currently does not work as well, also resulting in HTTP 500

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1479700/+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 1480393] Re: Artifacts: filtering by version ignores operators other than equality

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  Artifacts: filtering by version ignores operators other than equality

Status in Glance:
  Fix Released

Bug description:
  When the artifacts list is being filtered by the version (i.e. list
  all the artifacts having the given name and specific range of the
  version), the API ignores all the comparison operators, i.e. gt:, ge:,
  le: and lt: prefixed are accepted with the version value, but are
  ignored and an equality check is executed instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1480393/+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 1439666] Re: Glance scrubber doesn't work when registry operates in trusted-auth mode

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

** Changed in: glance
Milestone: None => liberty-rc1

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

Title:
  Glance scrubber doesn't work when registry operates in trusted-auth
  mode

Status in Glance:
  Fix Released

Bug description:
  When glance regisry is deployed in trusted-auth mode, it doesn't
  authenticate[0] but populates the context based on the identity
  headers sent[1]. When the context is populated it is elevated to admin
  context, required for scrubber[2], based on the roles sent in identity
  headers[3].

  When Glance scrubber attempts to talk to registry, it needs to send
  the appropriate admin role to gain admin context especially when the
  registry is deployed in trusted-auth mode. Without this, scrubber will
  fail with 401 every time it runs.

  
[0]https://github.com/openstack/glance/blob/master/etc/glance-registry-paste.ini#L13
  
[1]https://github.com/openstack/glance/blob/bb59c33ffcc6e1cde23c93bb25d38846e84c2cb9/glance/api/middleware/context.py#L77
  
[2]https://github.com/openstack/glance/blob/bb59c33ffcc6e1cde23c93bb25d38846e84c2cb9/glance/scrubber.py#L326-L328
  
[3]https://github.com/openstack/glance/blob/bb59c33ffcc6e1cde23c93bb25d38846e84c2cb9/glance/api/middleware/context.py#L117

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1439666/+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 1468946] Re: glance metadef tables need unique constraints

2015-09-26 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed => Fix Released

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

Title:
  glance metadef tables need unique constraints

Status in Glance:
  Fix Released

Bug description:
  Sometime during Kilo, the unique constraints on
  metadef_namespaces (namespace)
  metadef_objects(namespace_id, name)
  metadef_properties(namespace_id, name)
  metadef_tags(namespace_id, name)
  metadef_resource_types(name)
  were removed.
  I believe this was done erroneously to make the migrate_repo/versions/scripts 
match the db/sqlalchemy/models_metadef.py definitions. Unfortunately, the 
schema scripts were correct with the unique constraints and what should have 
changed was the models_metadef.py.
  This bug, puts one more migrate script in place which will rename any 
duplicate records it finds to make them unique and then re-establishes the 
unique constraints. It also, fixes models_metadef.py and adds in tests to 
create duplicates which should result in an HTTPConflict.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1468946/+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 1283148] Re: add keypair config params for instance creation

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1283148

Title:
  add keypair config params for instance creation

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There is already an optional config setting for horizon around  an
  OPENSTACK_HYPERVISOR_FEATURES section which can contain
  can_set_password flag.  Would like to add another config setting to
  toggle if the keypair is required, which can default to the current
  behavior (keypair is not required).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1283148/+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 1436903] Re: integration tests failing blocking gate

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1436903

Title:
  integration tests failing blocking gate

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Sample output, seen in multiple jobs:

  2015-03-26 06:35:08.895 | 2015-03-26 06:35:08.886 | Running Horizon 
integration tests...
  2015-03-26 06:35:09.327 | 2015-03-26 06:35:09.318 | 
  2015-03-26 06:35:09.329 | 2015-03-26 06:35:09.320 | TestDashboardHelp
  2015-03-26 06:35:29.765 | 2015-03-26 06:35:29.756 | 
test_dashboard_help_redirection  OK   
 20.44
  2015-03-26 06:35:29.767 | 2015-03-26 06:35:29.758 | TestFlavors
  2015-03-26 06:38:45.903 | 2015-03-26 06:38:45.891 | test_flavor_create
   OK    196.13
  2015-03-26 06:38:45.904 | 2015-03-26 06:38:45.892 | TestImage
  2015-03-26 06:41:38.835 | 2015-03-26 06:41:38.818 | 
test_image_create_delete OK   
 172.93
  2015-03-26 06:41:38.837 | 2015-03-26 06:41:38.820 | TestKeypair
  2015-03-26 06:43:03.270 | 2015-03-26 06:43:03.250 | test_keypair  
   OK    84.43
  2015-03-26 06:43:03.272 | 2015-03-26 06:43:03.251 | TestLogin
  2015-03-26 06:43:11.166 | 2015-03-26 06:43:11.145 | test_login
   OK    7.89
  2015-03-26 06:43:11.167 | 2015-03-26 06:43:11.147 | TestPasswordChange
  2015-03-26 06:43:45.542 | 2015-03-26 06:43:45.520 | test_password_change  
   OK    34.37
  2015-03-26 06:44:19.145 | 2015-03-26 06:44:19.122 | 
test_show_message_after_logout   OK   
 33.60
  2015-03-26 06:44:19.146 | 2015-03-26 06:44:19.123 | TestSaharaImageRegistry
  2015-03-26 06:46:28.570 | 2015-03-26 06:46:28.544 | 
test_image_register_unregister   FAIL 
 129.42
  2015-03-26 06:46:28.572 | 2015-03-26 06:46:28.545 | TestSaharaJobBinary
  2015-03-26 06:49:55.463 | 2015-03-26 06:49:55.432 | 
test_sahara_create_delete_job_binary_internaldb  OK   
 206.89
  2015-03-26 06:49:55.465 | 2015-03-26 06:49:55.434 | TestUser
  2015-03-26 06:52:10.304 | 2015-03-26 06:52:10.273 | 
test_create_delete_user  OK   
 134.84
  2015-03-26 06:52:10.305 | 2015-03-26 06:52:10.274 | TestUserSettings
  2015-03-26 06:54:36.371 | 2015-03-26 06:54:36.342 | 
test_user_settings_changeOK   
 146.07
  2015-03-26 06:54:36.372 | 2015-03-26 06:54:36.344 | 
  2015-03-26 06:54:36.374 | 2015-03-26 06:54:36.346 | 
==
  2015-03-26 06:54:36.376 | 2015-03-26 06:54:36.347 | FAIL: 
openstack_dashboard.test.integration_tests.tests.test_sahara_image_registry.TestSaharaImageRegistry.test_image_register_unregister
  2015-03-26 06:54:36.378 | 2015-03-26 06:54:36.349 | 
--
  2015-03-26 06:54:36.410 | 2015-03-26 06:54:36.351 | _StringException: 
Traceback (most recent call last):
  2015-03-26 06:54:36.410 | 2015-03-26 06:54:36.352 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_sahara_image_registry.py",
 line 34, in test_image_register_unregister
  2015-03-26 06:54:36.410 | 2015-03-26 06:54:36.354 | "Image was not 
registered.")
  2015-03-26 06:54:36.410 | 2015-03-26 06:54:36.355 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py",
 line 678, in assertTrue
  2015-03-26 06:54:36.411 | 2015-03-26 06:54:36.357 | raise 
self.failureException(msg)
  2015-03-26 06:54:36.411 | 2015-03-26 06:54:36.359 | AssertionError: False is 
not true : Image was not registered.
  2015-03-26 06:54:36.411 | 2015-03-26 06:54:36.361 | 
  2015-03-26 06:54:36.411 | 2015-03-26 06:54:36.362 |  >> 
begin captured logging << 

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1436903/+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 1500051] [NEW] confirm modal js should interception the name string

2015-09-26 Thread zhu.rong
Public bug reported:

To reproduce:  Terminate a long name instance, the confirm modal have a
bad UI.

** Affects: horizon
 Importance: Undecided
 Assignee: zhu.rong (zhu-rong)
 Status: In Progress

** Attachment added: "snap3.png"
   https://bugs.launchpad.net/bugs/1500051/+attachment/4475526/+files/snap3.png

** Changed in: horizon
 Assignee: (unassigned) => zhu.rong (zhu-rong)

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

Title:
  confirm modal js should interception the name string

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  To reproduce:  Terminate a long name instance, the confirm modal have
  a bad UI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1500051/+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 1495105] Re: Admin user add DHCP agent failed when the network name is blank

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495105

Title:
  Admin user add DHCP agent failed when the network name is blank

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Reproduce the bug:
  1, Login as an "Admin" user, then go to the "Admin"=>"System"=>"Networks" 
page, then create a network and it's name is network1;
  2, Edit network and set it's name is blank, and it will display it's ID as 
name;
  3,Click the name link and go forward to the network's detail page ;
  4, Click "Add DHCP Agent" button and open a form modal, select a "New DHCP 
Agent", then click the submit button, there will display the error "this field 
is required" beside the "Network Name" field.

  But the add DHCp agent api support network having no name. So when
  open the "Add DHCP Agent" form modal, there should display the
  network's name_or_id.

   Related bug:https://bugs.launchpad.net/horizon/+bug/1492667

  Please see the attachment for more detail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495105/+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 1495815] Re: Hard to translate "Displaying %s of %s items" (cannot control the order of substitutions)

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495815

Title:
  Hard to translate "Displaying %s of %s items" (cannot control the
  order of substitutions)

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  horizon/locale/djangojs.pot has the following string.

  #: static/framework/util/filters/filters.js:177
  #, python-format
  msgid "Displaying %s of %s items"
  msgstr ""

  In some languages, there is a need to swap the order of the two %s.
  %s should be replaced by %(keyword)s (keyword substitution).

  The current horizon/static/framework/util/filters/filters.js is as
  follows:

  176 var total = ensureNonNegative(totalInput);
  177 var format = gettext('Displaying %s of %s items');
  178 return interpolate(format, [count, total]);

  L.177 should be:

   var format = gettext('Displaying %(count)s of %(total)s items');

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495815/+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 1493725] Re: Add Interface in router panel has a bug

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493725

Title:
  Add Interface in router panel has a bug

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Reproduce the bug:
  1, Create a router and it's name is router1;
  2, Edit router and set it's name is blank, and it will display it's ID as 
name;
  3,Click the name and go forward to the router's detail page and select the 
interfaces tab;
  4, Click "Add Interface" button and open a form modal, select a "Subnet", 
then click the "Add Interface" button, there will display the error "this field 
is required" beside the "Router Name" field.

  But the add interface api support router having no name. So when open
  the "Add Interface" form modal, there should display the router's
  name_or_id.

  This bug also exists in network topology page. Related
  bug:https://bugs.launchpad.net/horizon/+bug/1492667

  Please see the attachment for more detail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493725/+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 1494171] Re: Javascript error: Module 'horizon.auth' is not available!

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1494171

Title:
  Javascript error: Module 'horizon.auth' is not available!

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When trying Horizon from Liberty b3, I can login into Horizon, but
  then I get the below error all the time in the JS console of
  Iceweasel:

  Error: [$injector:modulerr] Failed to instantiate module horizon.app due to:
  [$injector:modulerr] Failed to instantiate module horizon.auth due to:
  [$injector:nomod] Module 'horizon.auth' is not available! You either 
misspelled the module name or forgot to load it. If registering a module ensure 
that you specify the dependencies as the second argument.
  http://errors.angularjs.org/1.3.17/$injector/nomod?p0=horizon.auth
  minErr/<@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:691:8
  module/<@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:796:1
  ensure@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:794:320
  module@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:796:1
  
loadModules/<@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:895:35
  forEach@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:697:391
  loadModules@http://sid.gplhost.com/static/dashboard/js/2d60d97176f3.js:894:63
  loadModules/<@http://sid.gplhost.com/static/dashboa

  Then I can't click on the top left or top right "admin" drop-down
  button. Note that the above console dump is complete, and I haven't
  truncated it myself, maybe Iceweasel does (I'm not sure who truncates
  it...).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494171/+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 1494216] Re: Policy check is missing for FWaaS rules table

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1494216

Title:
  Policy check is missing for FWaaS rules table

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There is firewall policy column in FWaaS rules table:

  firewall_policy_id = tables.Column(get_policy_name,
     link=get_policy_link,
     verbose_name=_("In Policy"))

  Method "get_policy_name" checks if there is a policy to display, but
  "get_policy_link" doesn't, so when we try to add a new firewall rule
  (which has no policy connection by default), horizon can't display
  FWaaS tables because of "'NoneType' object has no attribute 'id'".

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494216/+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 1494914] Re: PO file import keeps failing

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1494914

Title:
  PO file import keeps failing

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in openstack i18n:
  New

Bug description:
  https://review.openstack.org/#/c/220404/ has failed to complete
  devstack several times. Error looks like

  
http://logs.openstack.org/04/220404/8/check/gate-tempest-dsvm-full/0a3db1d/logs/devstacklog.txt.gz#_2015-09-11_06_40_46_475
  2015-09-11 06:40:46.439 | processing file django.po in 
/opt/stack/new/horizon/openstack_dashboard/locale/tr_TR/LC_MESSAGES
  2015-09-11 06:40:46.475 | CommandError: Execution of msgfmt failed: 
/opt/stack/new/horizon/openstack_dashboard/locale/tr_TR/LC_MESSAGES/django.po:371:
 'msgid' and 'msgstr' entries do not both end with '\n'
  2015-09-11 06:40:46.475 | 
/opt/stack/new/horizon/openstack_dashboard/locale/tr_TR/LC_MESSAGES/django.po:1169:
 'msgid' and 'msgstr' entries do not both end with '\n'
  2015-09-11 06:40:46.475 | 
/opt/stack/new/horizon/openstack_dashboard/locale/tr_TR/LC_MESSAGES/django.po:7491:
 'msgid' and 'msgstr' entries do not both end with '\n'
  2015-09-11 06:40:46.475 | msgfmt: found 3 fatal errors
  2015-09-11 06:40:46.533 | + exit_trap

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494914/+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 1495874] Re: py34 gate failing upstream

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495874

Title:
  py34 gate failing upstream

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  http://logs.openstack.org/04/220404/12/check/gate-horizon-
  python34/468e4c4/console.html

  The key part seems to be :

  2015-09-15 06:29:49.717 |   File 
"/home/jenkins/workspace/gate-horizon-python34/horizon/tables/base.py", line 
1078, in __new__
  2015-09-15 06:29:49.717 | columns = base.base_columns.items() + columns
  2015-09-15 06:29:49.718 | TypeError: unsupported operand type(s) for +: 
'ItemsView' and 'list'

  Introduced by:
  
https://github.com/openstack/horizon/commit/dee5c9d3f48b0a092ddf065f360518c2a6015861

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495874/+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 1493205] Re: Create Keypair failed on latest DevStack

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493205

Title:
  Create Keypair failed on latest DevStack

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in python-novaclient:
  Invalid

Bug description:
  Deploy latest stack.

  1. Login as admin, try to create new Keypair
  2. Observe that Create Keypair fails.

  Refer the screenshot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493205/+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 1493025] Re: Exception with log message overidden after being set in exception.handle

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493025

Title:
  Exception with log message overidden after being set in
  exception.handle

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  If a message is passed into exception.handle user_message is set then
  immediately replaced so the exception never makes it into the log
  message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493025/+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 1493426] Re: Angular quota pie charts are broken after applying bp horizon-theme-css-reorg

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493426

Title:
  Angular quota pie charts are broken after applying bp horizon-theme-
  css-reorg

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  They are broken due to fixed width and height properties being
  assigned to the .pie-chart class (which sits on top of div containing
  both chart title, chart itself and its legend). It should be assigned
  to .svg-pie-chart class and be applied only to chart itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493426/+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 1493576] Re: Incorrect usage of python-novaclient

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1493576

Title:
  Incorrect usage of python-novaclient

Status in Cinder:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in Manila:
  Fix Released
Status in Mistral:
  Fix Released

Bug description:
  All projects should use only `novaclient.client` as entry point. It designed 
with some version checks and backward compatibility.
  Direct import of versioned client object(i.e. novaclient.v2.client) is a way 
to "shoot yourself in the foot".

  Python-novaclient's doc: http://docs.openstack.org/developer/python-
  novaclient/api.html

  Affected projects:
   - Horizon - 
https://github.com/openstack/horizon/blob/69d6d50ef4a26e2629643ed35ebd661e82e10586/openstack_dashboard/api/nova.py#L31

   - Manila -
  
https://github.com/openstack/manila/blob/473b46f6edc511deaba88b48392b62bfbb979787/manila/compute/nova.py#L23

   - Cinder-
  
https://github.com/openstack/cinder/blob/de64f5ad716676b7180365798efc3ea69a4fef0e/cinder/compute/nova.py#L23

   - Mistral -
  
https://github.com/openstack/mistral/blob/f42b7f5f5e4bcbce8db7e7340b4cac12de3eec4d/mistral/actions/openstack/actions.py#L23

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1493576/+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 1494067] Re: launch instance with create volume fails

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1494067

Title:
  launch instance with create volume fails

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Attempting to launch an instance and create a volume fails for both
  possible values of delete on termination with an error similar to:

  Error: Invalid input for field/attribute delete_on_termination. Value:
  0. 0 is not of type 'boolean', 'string' (HTTP 400) (Request-ID: req-
  aee15975-0351-4477-9007-f8fd090bcc49)

  Further testing indicates that this was duplicated in the ng launch
  instance as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494067/+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 1478143] Re: project param on user_create now default_project

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1478143

Title:
  project param on user_create now default_project

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  with keystone v3 when creating a user, the argument 'project' is no
  longer honored as it's been replaced by 'default_project'. Without
  changing the name parameter, this error is encountered:

  create takes at most 1 positional argument (2 given)
  Internal Server Error: /identity/users/create/
  Traceback (most recent call last):
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py",
 line 111, in get_response
  response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/home/david-lyle/horizon/horizon/decorators.py", line 36, in dec
  return view_func(request, *args, **kwargs)
    File "/home/david-lyle/horizon/horizon/decorators.py", line 52, in dec
  return view_func(request, *args, **kwargs)
    File "/home/david-lyle/horizon/horizon/decorators.py", line 36, in dec
  return view_func(request, *args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py",
 line 69, in view
  return self.dispatch(request, *args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/utils/decorators.py",
 line 29, in _wrapper
  return bound_func(*args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/views/decorators/debug.py",
 line 76, in sensitive_post_parameters_wrapper
  return view(request, *args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/utils/decorators.py",
 line 25, in bound_func
  return func.__get__(self, type(self))(*args2, **kwargs2)
    File 
"/home/david-lyle/horizon/openstack_dashboard/dashboards/identity/users/views.py",
 line 138, in dispatch
  return super(CreateView, self).dispatch(*args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py",
 line 87, in dispatch
  return handler(request, *args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/edit.py",
 line 173, in post
  return self.form_valid(form)
    File "/home/david-lyle/horizon/horizon/forms/views.py", line 173, in 
form_valid
  exceptions.handle(self.request)
    File "/home/david-lyle/horizon/horizon/exceptions.py", line 361, in handle
  six.reraise(exc_type, exc_value, exc_traceback)
    File "/home/david-lyle/horizon/horizon/forms/views.py", line 170, in 
form_valid
  handled = form.handle(self.request, form.cleaned_data)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/django/views/decorators/debug.py",
 line 36, in sensitive_variables_wrapper
  return func(*func_args, **func_kwargs)
    File 
"/home/david-lyle/horizon/openstack_dashboard/dashboards/identity/users/forms.py",
 line 182, in handle
  exceptions.handle(request, _('Unable to create user.'))
    File "/home/david-lyle/horizon/horizon/exceptions.py", line 361, in handle
  six.reraise(exc_type, exc_value, exc_traceback)
    File 
"/home/david-lyle/horizon/openstack_dashboard/dashboards/identity/users/forms.py",
 line 157, in handle
  domain=domain.id)
    File "/home/david-lyle/horizon/openstack_dashboard/api/keystone.py", line 
324, in user_create
  domain=domain, description=description)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/utils.py",
 line 336, in inner
  return func(*args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/v3/users.py",
 line 75, in create
  log=not bool(password))
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py",
 line 151, in _create
  return self._post(url, body, response_key, return_raw, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/base.py",
 line 165, in _post
  resp, body = self.client.post(url, body=body, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/adapter.py",
 line 176, in post
  return self.request(url, 'POST', **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/adapter.py",
 line 206, in request
  resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
    File 
"/home/david-lyle/horizon/.venv/local/lib/python2.7/site-packages/keystoneclient/adapter.py",
 line 95, in request
  return self.session.request(url, method, **kwargs)
  

[Yahoo-eng-team] [Bug 1478717] Re: Collect dashboard app specific code in static/app/

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1478717

Title:
  Collect dashboard app specific code in static/app/

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The application openstack_dashboard has code that lives in two main
  locations:

  1) horizon/openstack_dashboard/dashboards/ - this is code that is
  specific to a particular dashboard

  2) horizon/openstack_dashboard/static/app/ - this is code specific to
  this application, but needed by two or more dashboards

  This bug  moves the Angular code that semanticaly belongs to the
  application together into the openstack_dashboard/static/app/
  location.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1478717/+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 1491321] Re: Address source selector visible even when no subnetpools available

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1491321

Title:
  Address source selector visible even when no subnetpools available

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  A off by one error causes the "Address source" selector to be visible
  even when there are no subnetpools available.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1491321/+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 1495188] Re: Load Balancer table Subnet row display the cidr not subnet name

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1495188

Title:
  Load Balancer table Subnet row display the cidr not subnet name

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Now the Load Balancer table Subnet row display the cidr, not the subnet name.
  here should display the subnet name

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1495188/+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 1487582] Re: Moving translation to HTML for launch-instance steps

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1487582

Title:
  Moving translation to HTML for launch-instance steps

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  We should clean out old gettext and move them into HTML files.

  Source
  Flavor
  Security Groups
  Networking
  etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1487582/+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 1491637] Re: Error when adding a new Firewall Rule

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  Error when adding a new Firewall Rule

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Reported from openstack-dev ML.

  When i try to add new firewall rule , horizon broken with "'NoneType' object 
has no attribute 'id'" Error.
  This was fine about 10 hours back. Seems one of the  latest commit broken it.

  Traceback in horizon:

  2015-09-02 16:15:35.337872 return nodelist.render(context)
  2015-09-02 16:15:35.337877   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 903, in 
render
  2015-09-02 16:15:35.337893 bit = self.render_node(node, context)
  2015-09-02 16:15:35.337899   File 
"/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 79, in 
render_node
  2015-09-02 16:15:35.337903 return node.render(context)
  2015-09-02 16:15:35.337908   File 
"/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 89, in 
render
  2015-09-02 16:15:35.337913 output = 
self.filter_expression.resolve(context)
  2015-09-02 16:15:35.337917   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 647, in 
resolve
  2015-09-02 16:15:35.337922 obj = self.var.resolve(context)
  2015-09-02 16:15:35.337927   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 787, in 
resolve
  2015-09-02 16:15:35.337931 value = self._resolve_lookup(context)
  2015-09-02 16:15:35.337936   File 
"/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 825, in 
_resolve_lookup
  2015-09-02 16:15:35.337940 current = getattr(current, bit)
  2015-09-02 16:15:35.337945   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/html.py", line 
59, in attr_string
  2015-09-02 16:15:35.337950 return flatatt(self.get_final_attrs())
  2015-09-02 16:15:35.337954   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/html.py", line 
42, in get_final_attrs
  2015-09-02 16:15:35.337959 final_attrs['class'] = self.get_final_css()
  2015-09-02 16:15:35.337964   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/html.py", line 
47, in get_final_css
  2015-09-02 16:15:35.337981 default = " ".join(self.get_default_classes())
  2015-09-02 16:15:35.337986   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", 
line 792, in get_default_classes
  2015-09-02 16:15:35.337991 if not self.url:
  2015-09-02 16:15:35.337995   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", 
line 756, in url
  2015-09-02 16:15:35.338000 url = self.column.get_link_url(self.datum)
  2015-09-02 16:15:35.338004   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", 
line 431, in get_link_url
  2015-09-02 16:15:35.338009 return self.link(datum)
  2015-09-02 16:15:35.338014   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/firewalls/tables.py",
 line 261, in get_policy_link
  2015-09-02 16:15:35.338019 kwargs={'policy_id': datum.policy.id})
  2015-09-02 16:15:35.338023 AttributeError: 'NoneType' object has no attribute 
'id'

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1491637/+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 1443428] Re: subnet create doesn't show message when network address is omitted

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1443428

Title:
  subnet create doesn't show message when network address is omitted

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  On Admin->System->Networks->[network]->Create Subnet
  if the Network address is omitted and Next is clicked, no error message is 
displayed.

  If the Network address "12" is entered and Next is clicked, no error
  message is displayed.

  If the Network address "twelve" is entered and Next is clicked, an
  error message is displayed, but the formatting is unexpected - field
  moves to the right, message remains on the left. (see attachment)

  Related to bug
  https://bugs.launchpad.net/horizon/+bug/1420370 "Subnet Network Address is 
missing asterisk"

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1443428/+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 1488443] Re: Any action always cause error ( in kilo)

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1488443

Title:
  Any action always cause error ( in kilo)

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When I use French language in Horizon I have this trace :

  2015-08-25 09:35:23,185 1024 ERROR django.request Internal Server Error: 
/dashboard/project/instances/
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 
132, in get_response
  response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in 
dec
  return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in 
dec
  return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in 
dec
  return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in 
dec
  return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 
71, in view
  return self.dispatch(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 
89, in dispatch
  return handler(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 223, 
in post
  return self.get(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 159, 
in get
  handled = self.construct_tables()
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 150, 
in construct_tables
  handled = self.handle_table(table)
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 125, 
in handle_table
  handled = self._tables[name].maybe_handle()
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1640, 
in maybe_handle
  return self.take_action(action_name, obj_id)
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1482, 
in take_action
  response = action.multiple(self, self.request, obj_ids)
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 
302, in multiple
  return self.handle(data_table, request, object_ids)
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 
827, in handle
  exceptions.handle(request, ignore=ignore)
    File "/usr/lib/python2.7/site-packages/horizon/exceptions.py", line 364, in 
handle
  six.reraise(exc_type, exc_value, exc_traceback)
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 
817, in handle
  (self._get_action_name(past=True), datum_display))
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9: 
ordinal not in range(128)

  I have already applied this patch :
  https://review.openstack.org/#/c/196637/

  But no works.  No pb with english.

  Django error :

  The string that could not be encoded/decoded was: ance ��tein

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1488443/+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 1491469] Re: Contributing doc needs updating

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1491469

Title:
  Contributing doc needs updating

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The "Contributing" document
  (https://github.com/openstack/horizon/blob/master/doc/source/contributing.rst)
  needs updating inline with modern angular practices.

  It also has several grammatical mistakes that can be fixed at the same
  time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1491469/+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 1450963] Re: can_access caching is storing too much data in the session

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1450963

Title:
  can_access caching is storing too much data in the session

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  This accounts for 34% of the session size.

  Related patch: https://review.openstack.org/#/c/120790/

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1450963/+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 1487658] Re: Modification on name repeated error message of admin create volume type

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1487658

Title:
  Modification on name repeated error message of admin create volume
  type

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When input a volume type name that already exist, we will see the error 
message: "Unable to create volume type", this error message is not specific and 
clear.
  If provide specific and clear error message: 'The name is already in use', it 
will be more better.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1487658/+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 1382079] Re: Project selector not working

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   Status: Fix Committed => Fix Released

** Changed in: horizon
Milestone: None => liberty-rc1

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

Title:
  Project selector not working

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When you try to select a new project on the project dropdown, the
  project doesn't change. The commit below has introduced this bug on
  Horizon's master and has passed the tests verifications.

  
https://github.com/openstack/horizon/commit/16db58fabad8934b8fbdfc6aee0361cc138b20af

  For what I've found so far, the context being received in the
  decorator seems to be the old context, with the token to the previous
  project. When you take the decorator out, the context received by the
  "can_access" function receives the correct context, with the token to
  the new project.

  Steps to reproduce:

  1 - Enable Identity V3 (to have a huge token)
  2 - Log in on Horizon (lots of permissions loaded on session)
  3 - Certify that you SESSION_BACKEND is "signed_cookies"
  4 - Try to change project on the dropdown

  The project shall remain the same.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1382079/+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 1441794] Re: Removing unused variables in javascripts

2015-09-26 Thread Thierry Carrez
** Changed in: horizon
   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/1441794

Title:
  Removing unused variables in javascripts

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Before we can enable a global check for unused variables, we need to
  clean up the code first. This way, the gate won't barf when we try to
  enable the global unused and undef jshint config.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1441794/+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 1500037] [NEW] [CLI] Incorrent error message when trying download null-size image

2015-09-26 Thread Alexey Galkin
Public bug reported:

CLI (shell) glance client return a non-informative responce if we trying
download a image with null size.

Affected v1 and v2 API.

Steps to reproduce:

1. Create a new zero size image:

agalkin@rinner:~$ glance image-create
+--+--+
| Property | Value|
+--+--+
| checksum | None |
| container_format | None |
| created_at   | 2015-09-26T14:29:50Z |
| disk_format  | None |
| id   | ad655133-2165-48d7-9134-d24dfe0773ba |
| min_disk | 0|
| min_ram  | 0|
| name | None |
| owner| d127c7f11f68427092ef009f0782bac2 |
| protected| False|
| size | None |
| status   | queued   |
| tags | []   |
| updated_at   | 2015-09-26T14:29:50Z |
| virtual_size | None |
| visibility   | private  |
+--+--+

2. Trying to download this image.

---
by API v1:
---

agalkin@rinner:~$ glance --os-image-api-version 1 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba  >> image.tmp
404 Not Found: The resource could not be found.: Image 
ad655133-2165-48d7-9134-d24dfe0773ba is not active (HTTP 404)


--
by API v2:
--

agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba >> image.tmp
'NoneType' object has no attribute 'close'

or:

agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba --progress  >> image.tmp
NoneType object is not an iterator

** Affects: glance
 Importance: Undecided
 Status: New


** Tags: cli

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

Title:
  [CLI] Incorrent error message when trying download null-size image

Status in Glance:
  New

Bug description:
  CLI (shell) glance client return a non-informative responce if we
  trying download a image with null size.

  Affected v1 and v2 API.

  Steps to reproduce:

  1. Create a new zero size image:

  agalkin@rinner:~$ glance image-create
  +--+--+
  | Property | Value|
  +--+--+
  | checksum | None |
  | container_format | None |
  | created_at   | 2015-09-26T14:29:50Z |
  | disk_format  | None |
  | id   | ad655133-2165-48d7-9134-d24dfe0773ba |
  | min_disk | 0|
  | min_ram  | 0|
  | name | None |
  | owner| d127c7f11f68427092ef009f0782bac2 |
  | protected| False|
  | size | None |
  | status   | queued   |
  | tags | []   |
  | updated_at   | 2015-09-26T14:29:50Z |
  | virtual_size | None |
  | visibility   | private  |
  +--+--+

  2. Trying to download this image.

  ---
  by API v1:
  ---

  agalkin@rinner:~$ glance --os-image-api-version 1 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba  >> image.tmp
  404 Not Found: The resource could not be found.: Image 
ad655133-2165-48d7-9134-d24dfe0773ba is not active (HTTP 404)

  
  --
  by API v2:
  --

  agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba >> image.tmp
  'NoneType' object has no attribute 'close'

  or:

  agalkin@rinner:~$ glance --os-image-api-version 2 image-download 
ad655133-2165-48d7-9134-d24dfe0773ba --progress  >> image.tmp
  NoneType object is not an iterator

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

  1   2   >