[Bug 1750384] Re: Cannot Delete Recordset / Zone in ng_dns panels
David Coronel
david.coronel at canonical.com
Mon Jan 20 18:03:18 UTC 2020
I tested python-designate-dashboard version 6.0.0-0ubuntu1.2 from
bionic-proposed on Ubuntu 18.04.3 LTS and I confirm I can delete the DNS
zone successfully now.
ubuntu at juju-96d97f-22-lxd-14:~$ grep proposed /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main multiverse universe
ubuntu at juju-96d97f-21-lxd-14:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
ubuntu at juju-96d97f-21-lxd-14:~$ dpkg -l python-designate-dashboard
[...]
ii python-designate-dashboard 6.0.0-0ubuntu1.2 all OpenStack DNS as a Service - dashboard plugin
I created a new zone and deleted it. I get the prompt to delete it
(which I didn't get without this package), and once I confirm the
deletion it removes it from the list.
If I refresh the page right away, the zone comes back but in Pending
state. After a few seconds I refresh again and the zone goes away for
good. So it works as expected.
Thanks.
--
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/1750384
Title:
Cannot Delete Recordset / Zone in ng_dns panels
Status in Ubuntu Cloud Archive:
Invalid
Status in Ubuntu Cloud Archive queens series:
Fix Committed
Status in Designate Dashboard:
Fix Released
Status in Designate Dashboard queens series:
Triaged
Status in Designate Dashboard rocky series:
Fix Released
Status in designate-dashboard package in Ubuntu:
Invalid
Status in designate-dashboard source package in Bionic:
Fix Committed
Bug description:
[Impact]
When trying to delete a zone the following error appears in the JS console:
3bf910c7ae4c.js:1336 TypeError: Cannot set property 'labels' of undefined
at Object.perform (155a6dc00894.js:1273)
at Scope.genPassThroughCallback [as callback] (155a6dc00894.js:421)
at fn (eval at compile (3bf910c7ae4c.js:1398), <anonymous>:4:469)
at expensiveCheckFn (3bf910c7ae4c.js:1447)
at callback (3bf910c7ae4c.js:1747)
at Scope.$eval (3bf910c7ae4c.js:1516)
at Scope.$apply (3bf910c7ae4c.js:1517)
at HTMLAnchorElement.<anonymous> (3bf910c7ae4c.js:1747)
at HTMLAnchorElement.dispatch (3bf910c7ae4c.js:332)
at HTMLAnchorElement.elemData.handle (3bf910c7ae4c.js:305)
(anonymous) @ 3bf910c7ae4c.js:1336
(anonymous) @ 3bf910c7ae4c.js:1197
$apply @ 3bf910c7ae4c.js:1517
(anonymous) @ 3bf910c7ae4c.js:1747
dispatch @ 3bf910c7ae4c.js:332
elemData.handle @ 3bf910c7ae4c.js:305
Recordsets get:
TypeError: Cannot set property 'labels' of undefined
at Object.perform (155a6dc00894.js:1236)
at Scope.genPassThroughCallback [as callback] (155a6dc00894.js:421)
at fn (eval at compile (3bf910c7ae4c.js:1398), <anonymous>:4:469)
at expensiveCheckFn (3bf910c7ae4c.js:1447)
at callback (3bf910c7ae4c.js:1747)
at Scope.$eval (3bf910c7ae4c.js:1516)
at Scope.$apply (3bf910c7ae4c.js:1517)
at HTMLAnchorElement.<anonymous> (3bf910c7ae4c.js:1747)
at HTMLAnchorElement.dispatch (3bf910c7ae4c.js:332)
at HTMLAnchorElement.elemData.handle (3bf910c7ae4c.js:305)
(anonymous) @ 3bf910c7ae4c.js:1336
(anonymous) @ 3bf910c7ae4c.js:1197
$apply @ 3bf910c7ae4c.js:1517
(anonymous) @ 3bf910c7ae4c.js:1747
dispatch @ 3bf910c7ae4c.js:332
elemData.handle @ 3bf910c7ae4c.js:305
[Test Case]
Deploy OpenStack and designate-dashboard enabled. Ensure that attempts to delete zone from dashboard are successful.
[Regression Potential]
The initScope method for action services has been removed in horizon stable/queens so this code doesn't currently work. This was fixed upstream over a year ago in designate-dashboard for stable/queens and above, and therefore should have received plenty of exercise in the field by now.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1750384/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list