Public bug reported:

[Impact]

When running tests during build of sahara-dashboard for Artful,
AttributeErrors such as the following cause test failures:

"AttributeError: 'module' object has no attribute
'floating_ip_pools_list'".

Unfortunately 7.0.0 is the correct version for pike (artful) but it was
released too late so we have 6.0.0 in artful, so an error like this
occurred since dependencies are at 7.0.0 level with 6.0.0 in the
archive.

There is a patch upstream that fixes this by updating the imports and
code based on code movement in openstack-dashboard.

[Test Case]

Building sahara-dashboard package should be successful. Without this
patch it fails while running tests.

[Regression Potential]
Low. This patch is cherry-picked and unchanged from upstream.

[Discussion]

** Affects: cloud-archive
     Importance: Undecided
         Status: Invalid

** Affects: cloud-archive/pike
     Importance: High
         Status: Triaged

** Affects: sahara-dashboard (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: sahara-dashboard (Ubuntu Artful)
     Importance: High
         Status: Triaged

** Description changed:

  [Impact]
  
  When running tests during build of sahara-dashboard for Artful,
  AttributeErrors such as the following cause test failures:
  
  "AttributeError: 'module' object has no attribute
  'floating_ip_pools_list'".
  
  Unfortunately 7.0.0 is the correct version for pike (artful) but it was
  released too late so we have 6.0.0 in artful, so an error like this
  occurred since dependencies are at 7.0.0 level with 6.0.0 in the
  archive.
  
+ There is a patch upstream that fixes this by updating the imports and
+ code based on code movement in openstack-dashboard.
+ 
  [Test Case]
  
  Building sahara-dashboard package should be successful. Without this
  patch it fails while running tests.
  
  [Regression Potential]
  Low. This patch is cherry-picked and unchanged from upstream.
  
  [Discussion]

** Also affects: sahara-dashboard (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Changed in: sahara-dashboard (Ubuntu)
       Status: New => Invalid

** Changed in: sahara-dashboard (Ubuntu Artful)
       Status: New => Triaged

** Changed in: sahara-dashboard (Ubuntu Artful)
   Importance: Undecided => High

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/pike
   Importance: Undecided
       Status: New

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

** Changed in: cloud-archive/pike
       Status: New => Triaged

** Changed in: cloud-archive/pike
   Importance: Undecided => High

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

Title:
  [SRU] Fix AttributeErrors in sahara-dashboard

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to