Cannot switch streams in the UI
Bug #2057748 reported by
Peter Makowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Jacopo Rota | ||
3.5 |
Fix Released
|
High
|
Jacopo Rota |
Bug Description
MAAS 3.5.0~alpha1
## Steps to reproduce
- Go to Images.
- Choose Change source.
- Select Custom.
- Input http://
- Click Connect.
- Error below is shown:
```
Error:
[Errno 2] No such file or directory: ''
```
Related branches
~r00ta/maas:lp-2057748-3.5
- MAAS Lander: Approve
- Jacopo Rota: Approve
-
Diff: 105 lines (+12/-12)2 files modifiedsrc/maasserver/websockets/handlers/bootresource.py (+1/-1)
src/maasserver/websockets/handlers/tests/test_bootresource.py (+11/-11)
~r00ta/maas:lp-2057748-fix-bootsource-websocket
- MAAS Lander: Approve
- Javier Fuentes: Approve
-
Diff: 105 lines (+12/-12)2 files modifiedsrc/maasserver/websockets/handlers/bootresource.py (+1/-1)
src/maasserver/websockets/handlers/tests/test_bootresource.py (+11/-11)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
milestone: | 3.5.0 → 3.6.0 |
assignee: | nobody → Jacopo Rota (r00ta) |
Changed in maas: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
sudo journalctl --no-pager --since "5 minutes ago" -u snap.maas. pebble. service -t maas-regiond
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[ 3389614] : Traceback (most recent call last): 3389614] : File "/usr/lib/ python3. 10/threading. py", line 953, in run 3389614] : self._target( *self._ args, **self._kwargs) 3389614] : File "/snap/ maas/34155/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 821, in worker 3389614] : return target() 3389614] : File "/snap/ maas/34155/ usr/lib/ python3/ dist-packages/ twisted/ _threads/ _threadworker. py", line 47, in work 3389614] : task() 3389614] : File "/snap/ maas/34155/ usr/lib/ python3/ dist-packages/ twisted/ _threads/ _team.py" , line 182, in doWork 3389614] : task() 3389614] : --- <exception caught here> --- 3389614] : File "/snap/ maas/34155/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 244, in inContext 3389614] : result = inContext.theWork() # type: ignore[ attr-defined] 3389614] : File "/snap/ maas/34155/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 260, in <lambda> 3389614] : inContext.theWork = lambda: context.call( # type: ignore[ attr-defined] 3389614] : File "/snap/ maas/34155/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 117, in callWithContext 3389614] : return self.currentCon text(). callWithContext (ctx, func, *args, **kw) 3389614] : File "/snap/ maas/34155/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 82, in callWithContext 3389614] : return func(*args, **kw) 3389614] : File "/snap/ maas/34155/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 856, in callInContext 3389614] : return func(*args, **kwargs) 3389614] : File "/snap/ maas/34155/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 203, in wrapper 3389614] : result = func(*args, **kwargs) 3389614] : File "/snap/ maas/34155/ lib/python3. 10/site- packages/ maasserver/ utils/orm. py", line 771, in call_within_ transaction
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 jenkins-slave-2 maas-regiond[
Mar 18 10:14:48 je...