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

Instance stop and reboot request returned "Failed Dependency" error #5705

Open
askfongjojo opened this issue May 6, 2024 · 2 comments
Open

Comments

@askfongjojo
Copy link

I used terraform destory with a set of 120 instances. 3 of them failed to be deleted due to a 400 "Failed Dependency" error. I tried stopping them with CLI one at a time and it returned the same error. It's unclear what's causing the issue. Instance reboot also returned the "Failed Dependency" error.

$ oxide instance stop --project try-tf2 --instance app2-6
error
Error Response: status: 400 Bad Request; headers: {"content-type": "application/json", "x-request-id": "ae25dc05-35f3-4865-b860-dbf039b2bb0e", "content-length": "126", "date": "Mon, 06 May 2024 08:04:59 GMT"}; value: Error { error_code: Some("InvalidRequest"), message: "Failed Dependency", request_id: "ae25dc05-35f3-4865-b860-dbf039b2bb0e" }

Here is the complete nexus log lines for such a request:

root@oxz_nexus_65a11c18:~# grep ae25dc05-35f3-4865-b860-dbf039b2bb0e `svcs -L nexus` | looker
08:04:59.879Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.879Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.881Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.881Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.883Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.883Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.886Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.887Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.890Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.890Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.894Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.894Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.897Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.898Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.902Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin"), (Silo, 7bd7623a-68ed-4636-8ecb-b59e3b068787, "admin"), (Project, fe0da422-5c48-4b52-8010-f2fc401f090f, "collaborator")} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.905Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Modify
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Instance { parent: Project { parent: Silo { parent: Fleet, key: 7bd7623a-68ed-4636-8ecb-b59e3b068787, lookup_type: ById(7bd7623a-68ed-4636-8ecb-b59e3b068787) }, key: fe0da422-5c48-4b52-8010-f2fc401f090f, lookup_type: ByName("try-tf2") }, key: 130a5f3d-40ef-4362-932e-9cf5f1a820f0, lookup_type: ByName("app2-6") }
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.905Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.905Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.909Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.909Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.912Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.913Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.916Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.916Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.920Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin"), (Silo, 7bd7623a-68ed-4636-8ecb-b59e3b068787, "admin"), (Project, fe0da422-5c48-4b52-8010-f2fc401f090f, "collaborator")} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.923Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Read
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Instance { parent: Project { parent: Silo { parent: Fleet, key: 7bd7623a-68ed-4636-8ecb-b59e3b068787, lookup_type: ById(7bd7623a-68ed-4636-8ecb-b59e3b068787) }, key: fe0da422-5c48-4b52-8010-f2fc401f090f, lookup_type: ByName("try-tf2") }, key: 130a5f3d-40ef-4362-932e-9cf5f1a820f0, lookup_type: ByName("app2-6") }
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.923Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.923Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.926Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.926Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.930Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.930Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.934Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.934Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.937Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.937Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Query
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Database
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.941Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): roles
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin"), (Silo, 7bd7623a-68ed-4636-8ecb-b59e3b068787, "admin"), (Project, fe0da422-5c48-4b52-8010-f2fc401f090f, "collaborator")} }
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.943Z DEBG 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): authorize result
    action = Modify
    actor = Some(Actor::SiloUser { silo_user_id: 906e74cb-eab8-4a87-bda8-2cb0914bf853, silo_id: 7bd7623a-68ed-4636-8ecb-b59e3b068787, .. })
    actor_id = 906e74cb-eab8-4a87-bda8-2cb0914bf853
    authenticated = true
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    resource = Instance { parent: Project { parent: Silo { parent: Fleet, key: 7bd7623a-68ed-4636-8ecb-b59e3b068787, lookup_type: ById(7bd7623a-68ed-4636-8ecb-b59e3b068787) }, key: fe0da422-5c48-4b52-8010-f2fc401f090f, lookup_type: ByName("try-tf2") }, key: 130a5f3d-40ef-4362-932e-9cf5f1a820f0, lookup_type: ByName("app2-6") }
    result = Ok(())
    uri = /v1/instances/app2-6/stop?project=try-tf2
08:04:59.987Z INFO 65a11c18-7f59-41ac-b9e7-680627f996e7 (dropshot_external): request completed
    error_message_external = Failed Dependency
    error_message_internal = Failed Dependency
    file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/29ae98d/dropshot/src/server.rs:837
    latency_us = 133578
    local_addr = 172.30.2.5:443
    method = POST
    remote_addr = 172.20.17.42:62315
    req_id = ae25dc05-35f3-4865-b860-dbf039b2bb0e
    response_code = 400
    uri = /v1/instances/app2-6/stop?project=try-tf2
@askfongjojo
Copy link
Author

Turned out that the propolis zone panicked. I've filed oxidecomputer/crucible#1290 for follow-up.

@askfongjojo
Copy link
Author

Hrm, on second thought, this is still a bug because it's returning a HTTP 400 error when the request is in every way valid from a user perspective.

@askfongjojo askfongjojo reopened this May 6, 2024
@askfongjojo askfongjojo removed this from the 8 milestone May 6, 2024
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