connection closed while executing maas command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Medium
|
Unassigned | ||
3.3 |
Triaged
|
Medium
|
Unassigned |
Bug Description
We found this during one of SQA test runs, it is a one time occurrence, we have not encountered it before
snap 3.1/stable
2022-03-18-12:05:15 root DEBUG [localhost]: maas root tag update-nodes juju add=rg8f6d
2022-03-18-12:05:19 foundationcloud
2022-03-18-12:05:19 root DEBUG [localhost]: maas root vm-host compose 2 hostname=vault-2 cores=2 memory=4096 storage=40.0 zone=3 'interfaces=
2022-03-18-12:05:26 root ERROR [localhost] Command failed: maas root vm-host compose 2 hostname=vault-2 cores=2 memory=4096 storage=40.0 zone=3 'interfaces=
2022-03-18-12:05:26 root ERROR [localhost] STDOUT follows:
Connection was closed cleanly.
2022-03-18-12:05:26 root ERROR [localhost] STDERR follows:
b''
Artifacts
https:/
Changed in maas: | |
milestone: | 3.3.0 → 3.4.0 |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
regiond on the second node has the corresponding traceback, and just before it it seems that there were disconnection from the rackd:
2022-03-18 12:05:26 maasserver. rpc.regionservi ce: [info] Rack controller 'gbmc77' disconnected. 1,::ffff: 10.245. 222.214: [info] RegionServer connection lost (HOST:IPv6Addre ss(type= 'TCP', host=': :ffff:10. 245.222. 213', port=5250, flowInfo=0, scopeID=0) PEER:IPv6Addres s(type= 'TCP', host=': :ffff:10. 245.222. 214', port=40408, flowInfo=0, scopeID=0)) rpc.regionservi ce: [info] Rack controller 'gbmc77' disconnected. 1,::ffff: 10.245. 222.214: [info] RegionServer connection lost (HOST:IPv6Addre ss(type= 'TCP', host=': :ffff:10. 245.222. 213', port=5251, flowInfo=0, scopeID=0) PEER:IPv6Addres s(type= 'TCP', host=': :ffff:10. 245.222. 214', port=40690, flowInfo=0, scopeID=0)) rpc.regionservi ce: [info] Rack controller 'gbmc77' disconnected. 1,::ffff: 192.168. 33.158: [info] RegionServer connection lost (HOST:IPv6Addre ss(type= 'TCP', host=': :ffff:192. 168.33. 157', port=5253, flowInfo=0, scopeID=0) PEER:IPv6Addres s(type= 'TCP', host=': :ffff:192. 168.33. 158', port=40514, flowInfo=0, scopeID=0)) rpc.regionservi ce: [info] Rack controller 'gbmc77' disconnected. 1,::ffff: 10.246. 64.7: [info] RegionServer connection lost (HOST:IPv6Addre ss(type= 'TCP', host=': :ffff:10. 246.64. 6', port=5252, flowInfo=0, scopeID=0) PEER:IPv6Addres s(type= 'TCP', host=': :ffff:10. 246.64. 7', port=48690, flowInfo=0, scopeID=0)) ####### ####### ####### #### Exception: Connection was closed cleanly. ####### ####### ####### ####### #### maas/18199/ usr/lib/ python3/ dist-packages/ django/ core/handlers/ base.py" , line 113, in _get_response callback( request, *callback_args, **callback_kwargs) maas/18199/ lib/python3. 8/site- packages/ maasserver/ utils/views. py", line 284, in view_atomic_ with_post_ commit_ savepoint python3. 8/contextlib. py", line 75, in inner maas/18199/ lib/python3. 8/site- packages/ maasserver/ api/support. py", line 56, in __call__ .__call_ _(request, *args, **kwargs) maas/18199/ usr/lib/ python3/ dist-packages/ django/ views/decorator s/vary. py", line 20, in inner_func maas/18199/ usr/lib/ python3. 8/dist- packages/ piston3/ resource. py", line 197, in __call__ handler( e, request, meth, em_format) maas/18199/ usr/lib/ python3. 8/dist- packages/ piston3/ resource. py", line 195, in __call__ maas/18199/ lib/python3. 8/site- packages/ maasserver/ api/support. py", line 308, in dispatch maas/18199/ lib/python3. 8/site- packages/ maasserver/ api/support. py", line 158, in wrapper
2022-03-18 12:05:26 RegionServer,
2022-03-18 12:05:26 maasserver.
2022-03-18 12:05:26 RegionServer,
2022-03-18 12:05:26 maasserver.
2022-03-18 12:05:26 RegionServer,
2022-03-18 12:05:26 maasserver.
2022-03-18 12:05:26 RegionServer,
2022-03-18 12:05:26 maasserver: [error] #######
2022-03-18 12:05:26 maasserver: [error] Traceback (most recent call last):
File "/snap/
response = wrapped_
File "/snap/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/snap/
response = super()
File "/snap/
response = func(*args, **kwargs)
File "/snap/
result = self.error_
File "/snap/
result = meth(request, *args, **kwargs)
File "/snap/
return function(self, request, *args, **kwargs)
File "/snap/
retu...