[Bug 1681627] Update Released

Corey Bryant corey.bryant at canonical.com
Mon Jun 10 14:44:03 UTC 2019


The verification of the Stable Release Update for horizon has completed
successfully and the package has now been released to -updates. In the
event that you encounter a regression using the package from -updates
please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1681627

Title:
  [SRU] Page not found error on refreshing bowser (in AngularJS-based
  detail page)

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive ocata series:
  Fix Released
Status in Ubuntu Cloud Archive pike series:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in Zun UI:
  Fix Released

Bug description:
  [Impact]

  When clicking instances snapshot detail on Images menu and then refresh the pages will get an error: 
  ``` 
  The page you were looking for doesn't exist 
  You may have mistyped the address or the page may have moved. 
  ``` 

  [Test Case]

  1. Deply a OpenStack env with horizon
  2. Click instances snapshot detail on Images menu
  3. Refresh the page
  4. Check if you will see the error 'The page you were looking for doesn't exist'

  [Regression Potential]

  This problem has been fixed in Queens with two patches [1][2], we need
  to backport them into Ocata as well.

  But in fact, directly backporting these two primitive patches [1][2]
  into Ocata will not be able to work, because:

  1, In Ocata release, getDetailsPath returns
  "'project/ngdetails/OS::Glance::Image/' + item.id;"

  https://github.com/openstack/horizon/blob/stable/ocata/openstack_dashboard/static/app/core/images/images.service.js#L59

  function getDetailsPath(item) {
  return 'project/ngdetails/OS::Glance::Image/' + item.id;
  }

  2, In > Ocata release, eg: Pike release, getDetailsPath returns
  "detailRoute + 'OS::Glance::Image/' + item.id"

  https://github.com/openstack/horizon/blob/stable/pike/openstack_dashboard/static/app/core/images/images.service.js#L69

  function getDetailsPath(item) {
  return detailRoute + 'OS::Glance::Image/' + item.id;
  }

  So we will see the error 'The current URL,
  project/ngdetails/OS::Glance::Image/46ef8cab-dfc3-4690-8abb-
  d416978d237e, didn't match any of these.' when backporting two
  primitive patches into Ocata. So the following simple changes need to
  be made in urls.py in addition to the primitive backport patches as
  well.

  -ngdetails_url = url(r'^ngdetails/',
  +ngdetails_url = url(r'^project/ngdetails/',

  [1] https://review.openstack.org/#/c/541676/
  [2] https://review.openstack.org/#/c/553970/

  [Original Bug Report]

  Once I get into the container detail view, refresh the browser will
  show a page not found error:

    The current URL, ngdetails/OS::Zun::Container/c54ba416-a955-45b2
  -848b-aee57b748e08, didn't match any of these

  Full output: http://paste.openstack.org/show/605296/

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1681627/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list