← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681627] Please test proposed package

 

Hello hongbin, or anyone else affected,

Accepted horizon into ocata-proposed. The package will build now and be
available in the Ubuntu Cloud Archive in a few hours, and then in the
-proposed repository.

Please help us by testing this new package. To enable the -proposed
repository:

  sudo add-apt-repository cloud-archive:ocata-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-ocata-needed to verification-ocata-done. If it does
not fix the bug for you, please add a comment stating that, and change
the tag to verification-ocata-failed. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: cloud-archive/ocata
       Status: New => Fix Committed

** Tags added: verification-ocata-needed

** Changed in: cloud-archive
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/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 Committed
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