Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when exiting after unit blocked error #474

Open
samuelallan72 opened this issue Jul 2, 2024 · 2 comments
Open

Segfault when exiting after unit blocked error #474

samuelallan72 opened this issue Jul 2, 2024 · 2 comments

Comments

@samuelallan72
Copy link
Contributor

samuelallan72 commented Jul 2, 2024

I observed this twice, first with 2 ceph-osd units blocked, second with one ceph-mon unit blocked:

$ cou upgrade --auto-approve

...

Running cloud upgrade...
Verify that all OpenStack applications are in idle state ✖
2024-07-02 02:29:41 [ERROR] Unit in blocked: ceph-mon/2
2024-07-02 02:29:41 [ERROR] See the known issues at https://canonical-charmed-openstack-upgrader.readthedocs-hosted.com/en/stable/reference/known-issues/
Segmentation fault (core dumped)
@samuelallan72
Copy link
Contributor Author

Also observed when ceph-osd/2 was in error:

$ cou upgrade data-plane --auto-approve --force
...
Running cloud upgrade...
Verify that all OpenStack applications are in idle state ✖
2024-07-11 04:29:50 [ERROR] Unit in error: ceph-osd/2
2024-07-11 04:29:50 [ERROR] See the known issues at https://canonical-charmed-openstack-upgrader.readthedocs-hosted.com/en/stable/reference/known-issues/
Segmentation fault (core dumped)

@samuelallan72
Copy link
Contributor Author

I tried to get a traceback, hopefully this helps:

$ PYTHONFAULTHANDLER=1 cou upgrade data-plane --force --auto-approve
...
Running cloud upgrade...
Verify that all OpenStack applications are in idle state ✖
2024-07-11 04:38:48 [ERROR] Unit in error: ceph-osd/2
2024-07-11 04:38:48 [ERROR] See the known issues at https://canonical-charmed-openstack-upgrader.readthedocs-hosted.com/en/stable/reference/known-issues/
Fatal Python error: Segmentation fault

Current thread 0x00007f8b0237c000 (most recent call first):
  Garbage-collecting
  File "/usr/lib/python3.10/asyncio/queues.py", line 164 in get
Segmentation fault (core dumped)

Maybe something like an async thread was still executing when sys.exit was called? Maybe a bug in python itself?

python3.10/now 3.10.12-1~22.04.3 is the version that apt reports is installed. Ubuntu jammy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant