rackd fails on CIS-hardened machine with "Failed to update and/or record network interface configuration: Expecting value: line 1 column 1 (char 0)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Alexsander de Souza | ||
3.2 |
Fix Released
|
Critical
|
Alexsander de Souza |
Bug Description
I'm installing MAAS snap 3.2 on CIS-hardened machine. MAAS installs successfully, but when I go to GUI → Controllers, I can see that there is zero VLANs available for each controller.
In /var/snap/
```
2022-09-16 12:12:35 provisioningser
Traceback (most recent call last):
File "/snap/
File "/snap/
File "/snap/
result = result.
File "/snap/
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/snap/
yield self._updateInt
File "/snap/
result = result.
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
yield self._run_refresh(
File "/snap/
result = result.
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
yield deferToThread(
File "/snap/
result = inContext.theWork()
File "/snap/
File "/snap/
return self.currentCon
File "/snap/
return func(*args,**kw)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
File "/snap/
File "/snap/
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise JSONDecodeError
2022-09-16 12:12:59 twisted.
2022-09-16 12:12:59 twisted.
Traceback (most recent call last):
Failure: twisted.
2022-09-16 12:12:59 twisted.
2022-09-16 12:12:59 twisted.
Traceback (most recent call last):
Failure: twisted.
```
Related branches
- Christian Grabowski: Approve
- MAAS Lander: Approve
-
Diff: 80 lines (+12/-11)2 files modifiedsrc/provisioningserver/refresh/__init__.py (+5/-1)
src/provisioningserver/refresh/tests/test_refresh.py (+7/-10)
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 79 lines (+11/-12)2 files modifiedsrc/provisioningserver/refresh/__init__.py (+5/-1)
src/provisioningserver/refresh/tests/test_refresh.py (+6/-11)
- Adam Collard (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 42 lines (+5/-7)2 files modifiedsrc/metadataserver/user_data/templates/base_user_data.sh (+1/-3)
src/provisioningserver/refresh/20-maas-03-machine-resources (+4/-4)
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 39 lines (+6/-6)2 files modifiedsrc/metadataserver/user_data/templates/base_user_data.sh (+2/-2)
src/provisioningserver/refresh/20-maas-03-machine-resources (+4/-4)
- Anton Troyanov: Approve
- MAAS Lander: Approve
-
Diff: 18 lines (+3/-1)1 file modifiedsrc/metadataserver/user_data/templates/base_user_data.sh (+3/-1)
summary: |
- rackd fails on f CIS-hardened machine with "Failed to update and/or - record network interface configuration: Expecting value: line 1 column 1 - (char 0)" + rackd fails on CIS-hardened machine with "Failed to update and/or record + network interface configuration: Expecting value: line 1 column 1 (char + 0)" |
tags: | added: cis-hardening |
tags: | added: bug-council |
tags: | removed: bug-council |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Alexsander de Souza (alexsander-souza) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Triaged |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Raising this bug as field-critical as this issue is a show-stopper for us