Deleted applications leave behind errored base instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anbox Cloud |
Fix Committed
|
Undecided
|
Jatin Arora |
Bug Description
1. A description of the problem
In both our dev VM and our demo server we currently have dangling base instances for deleted applications:
```
ubuntu@vm12:~$ amc ls
+------
| ID | APPLICATION | TYPE | STATUS | TAGS | NODE | ADDRESS | ENDPOINTS | VM | STATUS MESSAGE |
+------
| cll5f6a7h686018
+------
| clmpdni7h686018
+------
| clmpfra7h686018
+------
ubuntu@vm12:~$ amc application ls
+------
| ID | NAME | INSTANCE TYPE | ADDONS | TAGS | PUBLISHED | STATUS | LAST UPDATED | VM |
+------
| ciogteoinebsvq4
+------
| cir4g6ginebsvq4
+------
```
2. A set of steps to reproduce the problem
Not available. It is unclear when and why this problem occurs. It might be occurring erratically on application deletion.
3. Logs as outlined on https:/
Not available. All instances in this state have no logs stored, and `error_message` is empty for all of them except the one on the demo server, which has the following error message: "Failed to create instance update operation: A matching non-reusable operation has now succeeded".
information type: | Public → Private |
information type: | Private → Public |
description: | updated |
Changed in anbox-cloud: | |
assignee: | nobody → Jatin Arora (jatinarora) |
Changed in anbox-cloud: | |
milestone: | none → 1.21.0 |
assignee: | Jatin Arora (jatinarora) → Gary.Wang (gary-wzl77) |
Changed in anbox-cloud: | |
status: | New → Incomplete |
Changed in anbox-cloud: | |
milestone: | 1.21.0 → 1.21.2 |
Changed in anbox-cloud: | |
status: | Incomplete → Triaged |
Changed in anbox-cloud: | |
milestone: | 1.21.2 → 1.22.0 |
status: | Triaged → Fix Committed |
assignee: | Gary.Wang (gary-wzl77) → nobody |
assignee: | nobody → Jatin Arora (jatinarora) |
Thanks for the report.
I took a closer look at the AMS logs in VM12, and the earliest entries related to the dangling base instance issue are as follows:
``` 14T14:57: 06Z ams.ams[637614]: I0114 14:57:06.114456 637614 housekeeper.go:276] Housekeeper: Processing task clmpdni7h686018 t8eqg with status error 14T14:57: 06Z ams.ams[637614]: I0114 14:57:06.115212 637614 housekeeper.go:276] Housekeeper: Processing task cll5f6a7h686018 t8e70 with status error 14T14:57: 06Z ams.ams[637614]: I0114 14:57:06.120490 637614 housekeeper.go:276] Housekeeper: Processing task clmpfra7h686018 t8es0 with status error 14T14:57: 06Z ams.ams[637614]: I0114 14:57:06.122499 637614 housekeeper.go:327] Housekeeper: Container clmpdni7h686018 t8eq0 is already marked as failed 14T14:57: 06Z ams.ams[637614]: I0114 14:57:06.122703 637614 housekeeper.go:327] Housekeeper: Container cll5f6a7h686018 t8e6g is already marked as failed 14T14:57: 06Z ams.ams[637614]: I0114 14:57:06.123620 637614 housekeeper.go:327] Housekeeper: Container clmpfra7h686018 t8erg is already marked as failed
2024-01-
2024-01-
2024-01-
2024-01-
2024-01-
2024-01-
```
The corresponding application deletion logs, which are most likely causing this situation, have been truncated. Until now, I have not found a reliable way to reproduce this problem. Before we address or work around this issue, if the dangling base instances now prevents AMS from scheduling new instances, please refer to the workaround below.
https:/ /discourse. ubuntu. com/t/anbox- container- change- disk-size- doesnt- work/41931/ 8?u=gary- wzl77
Thanks
Gary