2023-03-10 13:44:59 |
Juha Suhonen |
bug |
|
|
added bug |
2023-03-10 14:08:25 |
Paride Legovini |
nominated for series |
|
Ubuntu Jammy |
|
2023-03-10 14:08:25 |
Paride Legovini |
bug task added |
|
isc-kea (Ubuntu Jammy) |
|
2023-03-10 14:08:30 |
Paride Legovini |
isc-kea (Ubuntu Jammy): status |
New |
Triaged |
|
2023-03-10 14:08:33 |
Paride Legovini |
isc-kea (Ubuntu): status |
New |
Fix Released |
|
2023-03-10 14:09:27 |
Paride Legovini |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014995 |
|
2023-03-10 14:09:27 |
Paride Legovini |
bug task added |
|
isc-kea (Debian) |
|
2023-03-13 16:29:10 |
Athos Ribeiro |
bug |
|
|
added subscriber Ubuntu Server |
2023-03-28 19:29:06 |
Bug Watch Updater |
isc-kea (Debian): status |
Unknown |
Fix Released |
|
2023-04-13 13:11:29 |
Olivier FILIPE |
bug |
|
|
added subscriber Olivier FILIPE |
2023-05-11 20:12:58 |
Michał Małoszewski |
isc-kea (Ubuntu Jammy): assignee |
|
Michał Małoszewski (michal-maloszewski99) |
|
2023-05-12 19:25:30 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/isc-kea/+git/isc-kea/+merge/442789 |
|
2023-05-16 16:14:26 |
Michał Małoszewski |
description |
kea-shell (included in package kea-ctrl-agent) uses python library from package python3-kea-connector for connecting to kea's rest api.
By default, kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea' (this is hard-coded into the script). python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
$ /usr/sbin/kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
$ sudo ln -sv /usr/lib/python3/dist-packages/kea /usr/lib/python3.10/site-packages/
'/usr/lib/python3.10/site-packages/kea' -> '/usr/lib/python3/dist-packages/kea'
$ /usr/sbin/kea-shell
(starts and works as expected)
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy kea-ctrl-agent python3-kea-connector
kea-ctrl-agent:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
python3-kea-connector:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status |
[Impact]
kea-shell is a text client for the Control Agent process.
There is a crash reported on isc-kea startup on Jammy.
That issue is caused by the wrong location of kea_conn. Kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea'. Python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
The fix is to change the location of kea_conn.py and kea_connector3.py.
[Test Plan]
Make a container for testing:
$ lxc launch ubuntu-daily:jammy jammy-test
$ lxc shell jammy-test
Type in:
$ apt install kea-ctrl-agent
After it is installed, type in:
$ kea-shell
Example of failed output:
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
Example of successful output:
kea-shell starts without any issues
[Where problems could occur]
Since the kea-shell uses the python library from package python3-kea-connector for connecting to kea's rest API, there might be a problem connecting to kea’s rest API if there is a location change of the kea_conn package.
-------------------------original bug report-----------------------------
kea-shell (included in package kea-ctrl-agent) uses python library from package python3-kea-connector for connecting to kea's rest api.
By default, kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea' (this is hard-coded into the script). python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
$ /usr/sbin/kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
$ sudo ln -sv /usr/lib/python3/dist-packages/kea /usr/lib/python3.10/site-packages/
'/usr/lib/python3.10/site-packages/kea' -> '/usr/lib/python3/dist-packages/kea'
$ /usr/sbin/kea-shell
(starts and works as expected)
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy kea-ctrl-agent python3-kea-connector
kea-ctrl-agent:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
python3-kea-connector:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status |
|
2023-05-19 16:01:22 |
Michał Małoszewski |
description |
[Impact]
kea-shell is a text client for the Control Agent process.
There is a crash reported on isc-kea startup on Jammy.
That issue is caused by the wrong location of kea_conn. Kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea'. Python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
The fix is to change the location of kea_conn.py and kea_connector3.py.
[Test Plan]
Make a container for testing:
$ lxc launch ubuntu-daily:jammy jammy-test
$ lxc shell jammy-test
Type in:
$ apt install kea-ctrl-agent
After it is installed, type in:
$ kea-shell
Example of failed output:
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
Example of successful output:
kea-shell starts without any issues
[Where problems could occur]
Since the kea-shell uses the python library from package python3-kea-connector for connecting to kea's rest API, there might be a problem connecting to kea’s rest API if there is a location change of the kea_conn package.
-------------------------original bug report-----------------------------
kea-shell (included in package kea-ctrl-agent) uses python library from package python3-kea-connector for connecting to kea's rest api.
By default, kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea' (this is hard-coded into the script). python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
$ /usr/sbin/kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
$ sudo ln -sv /usr/lib/python3/dist-packages/kea /usr/lib/python3.10/site-packages/
'/usr/lib/python3.10/site-packages/kea' -> '/usr/lib/python3/dist-packages/kea'
$ /usr/sbin/kea-shell
(starts and works as expected)
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy kea-ctrl-agent python3-kea-connector
kea-ctrl-agent:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
python3-kea-connector:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status |
[Impact]
kea-shell fails to start on Jammy.
That issue is caused by the wrong location of kea_conn. Kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea'. Python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
The fix is to change the location of kea_conn.py and kea_connector3.py.
[Test Plan]
Make a container for testing:
$ lxc launch ubuntu-daily:jammy jammy-test
$ lxc shell jammy-test
Type in:
$ apt install kea-ctrl-agent
After it is installed, type in:
$ kea-shell
Example of failed output:
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
Example of successful output:
kea-shell starts without any issues
[Where problems could occur]
Since the kea-shell uses the python library from package python3-kea-connector for connecting to kea's rest API, there might be a problem connecting to kea’s rest API if there is a location change of the kea_conn package.
It is unlikely but possible that users could hardcode a valid kea_conn location. Therefore if the same user wants to install isc-kea, there is a high risk that a warning message will appear and there is a necessity to unify it by removing it and installing the package again.
The changes are inside the debian/rules and the changes are under 'override_dh_auto_configure:', so there is a extremely unlikely, but not 0% chance, that the file with system configuration data will break.
-------------------------original bug report-----------------------------
kea-shell (included in package kea-ctrl-agent) uses python library from package python3-kea-connector for connecting to kea's rest api.
By default, kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea' (this is hard-coded into the script). python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
$ /usr/sbin/kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
$ sudo ln -sv /usr/lib/python3/dist-packages/kea /usr/lib/python3.10/site-packages/
'/usr/lib/python3.10/site-packages/kea' -> '/usr/lib/python3/dist-packages/kea'
$ /usr/sbin/kea-shell
(starts and works as expected)
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy kea-ctrl-agent python3-kea-connector
kea-ctrl-agent:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
python3-kea-connector:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status |
|
2023-05-23 09:01:45 |
Christian Ehrhardt |
description |
[Impact]
kea-shell fails to start on Jammy.
That issue is caused by the wrong location of kea_conn. Kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea'. Python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
The fix is to change the location of kea_conn.py and kea_connector3.py.
[Test Plan]
Make a container for testing:
$ lxc launch ubuntu-daily:jammy jammy-test
$ lxc shell jammy-test
Type in:
$ apt install kea-ctrl-agent
After it is installed, type in:
$ kea-shell
Example of failed output:
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
Example of successful output:
kea-shell starts without any issues
[Where problems could occur]
Since the kea-shell uses the python library from package python3-kea-connector for connecting to kea's rest API, there might be a problem connecting to kea’s rest API if there is a location change of the kea_conn package.
It is unlikely but possible that users could hardcode a valid kea_conn location. Therefore if the same user wants to install isc-kea, there is a high risk that a warning message will appear and there is a necessity to unify it by removing it and installing the package again.
The changes are inside the debian/rules and the changes are under 'override_dh_auto_configure:', so there is a extremely unlikely, but not 0% chance, that the file with system configuration data will break.
-------------------------original bug report-----------------------------
kea-shell (included in package kea-ctrl-agent) uses python library from package python3-kea-connector for connecting to kea's rest api.
By default, kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea' (this is hard-coded into the script). python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
$ /usr/sbin/kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
$ sudo ln -sv /usr/lib/python3/dist-packages/kea /usr/lib/python3.10/site-packages/
'/usr/lib/python3.10/site-packages/kea' -> '/usr/lib/python3/dist-packages/kea'
$ /usr/sbin/kea-shell
(starts and works as expected)
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy kea-ctrl-agent python3-kea-connector
kea-ctrl-agent:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
python3-kea-connector:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status |
[Impact]
kea-shell fails to start on Jammy.
That issue is caused by the wrong location of kea_conn. Kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea'. Python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
The fix is to change the location of kea_conn.py and kea_connector3.py.
[Test Plan]
Make a container for testing:
$ lxc launch ubuntu-daily:jammy jammy-test
$ lxc shell jammy-test
Type in:
$ apt install kea-ctrl-agent
After it is installed, type in:
$ kea-shell
Example of failed output:
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
Example of successful output:
kea-shell starts without any issues
[Where problems could occur]
Since the kea-shell uses the python library from package python3-kea-connector for connecting to kea's rest API, there might be a problem connecting to kea’s rest API if there is a location change of the kea_conn package.
It is unlikely but possible that users could hardcode a valid kea_conn location. Therefore if the same user wants to install isc-kea, there is a high risk that a warning message will appear and there is a necessity to unify it by removing it and installing the package again.
-------------------------original bug report-----------------------------
kea-shell (included in package kea-ctrl-agent) uses python library from package python3-kea-connector for connecting to kea's rest api.
By default, kea-shell tries to find python's kea_conn package from '/usr/lib/python3.10/site-packages/kea' (this is hard-coded into the script). python3-kea-connector installs this in /usr/lib/python3/dist-packages/kea.
$ /usr/sbin/kea-shell
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 27, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
$ sudo ln -sv /usr/lib/python3/dist-packages/kea /usr/lib/python3.10/site-packages/
'/usr/lib/python3.10/site-packages/kea' -> '/usr/lib/python3/dist-packages/kea'
$ /usr/sbin/kea-shell
(starts and works as expected)
$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
$ apt-cache policy kea-ctrl-agent python3-kea-connector
kea-ctrl-agent:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
python3-kea-connector:
Installed: 2.0.2-1
Candidate: 2.0.2-1
Version table:
*** 2.0.2-1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status |
|
2023-05-26 11:07:37 |
Timo Aaltonen |
isc-kea (Ubuntu Jammy): status |
Triaged |
Fix Committed |
|
2023-05-26 11:07:37 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-05-26 11:07:39 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2023-05-26 11:07:41 |
Timo Aaltonen |
tags |
|
verification-needed verification-needed-jammy |
|
2023-05-29 19:12:19 |
Michał Małoszewski |
tags |
verification-needed verification-needed-jammy |
verification-done verification-done-jammy |
|
2023-05-31 15:13:14 |
Michał Małoszewski |
tags |
verification-done verification-done-jammy |
server-todo verification-done verification-done-jammy |
|
2023-06-05 09:29:52 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-06-05 09:29:51 |
Launchpad Janitor |
isc-kea (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|