Skip to content

Hotel-Reservation Persistent Volumes are not being cleaned up. #210

Closed

Description

@HacksonClark

For some reason, when hotel reservation is being redeployed, the PersistentVolumes are not being deleted which causes the mongodb pods to be stuck in a pending state. We have code in hotel-reservation.py that is supposed to do this, but it is not working for some reason.

Activity

  1. added
    bug
    on Aug 7, 2025
  2. jq-huang commented on Aug 7, 2025

    @jq-huang
    Contributor

    The issue might be related to the problem itself rather than the application. I started 'missing_service_hotel_reservation' several times in a row, and the cleanup was successful each time—no issues with the pending state being stuck were observed. Could you please let me know which specific problem was running when the issue first appeared, so I can try to reproduce it?

  3. HacksonClark commented on Aug 7, 2025

    @HacksonClark
    MemberAuthor

    @777lefty I was running misconfig_app_hotel_res

  4. jq-huang commented on Aug 7, 2025

    @jq-huang
    Contributor

    Thanks! This might be helpful

  5. jq-huang commented on Aug 7, 2025

    @jq-huang
    Contributor

    It's really weird, I ran misconfig_app_hotel_res for 3 times and still no stuck observed. Did you run SREArena on kind cluster, on remote control plane, or outside of remote cluster? What were the agent actions at each stage? I entered submit('') at each stage just for convenience.

  6. HacksonClark commented on Aug 7, 2025

    @HacksonClark
    MemberAuthor

    @777lefty I've seen it in both kind and cloudlab. Though I'm wondering if maybe it's because of some subtle issue that is happening in the PR I'm working on.

    Maybe try doing a Ctrl+C during one of the problem runs? Maybe that is causing the issue.

    Let me know.

  7. jq-huang commented on Aug 7, 2025

    @jq-huang
    Contributor

    You mean doing ctrl+c and it might get stuck when executing the ctrl+c exit command?

  8. HacksonClark commented on Aug 7, 2025

    @HacksonClark
    MemberAuthor

    @777lefty I mean that maybe the logic that handles cleanup when we ctrl+c may be the source of the issue.

  9. jq-huang commented on Aug 7, 2025

    @jq-huang
    Contributor

    I tried ctrl+c at different phases: when it's waiting for agent input, when it's injecting fault, when it's evaluating mitigation, but every time all pvs are deleted and no pending stuck in the following run

  10. HacksonClark commented on Aug 7, 2025

    @HacksonClark
    MemberAuthor

    @777lefty Okay, I'll try and come up with reproduction steps. For now just work on the other issue. If it doesn't happen again I'll just close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions