Skip to content

Cannot create new template #15710

Closed as not planned
Closed as not planned

Description

@huonguyenlt

I cannot create new template from built-in starter template. The log is not show much information.
I think I may miss some network access, but cannot figure out which one.
2024-12-02 07:09:13.415 [info] coderd: audit_log ID=57ec8e91-fa49-4b60-9b57-692776edeae8 Time="2024-12-02T07:09:13.406054Z" UserID=c2a50e4e-a526-4514-bd06-f80a3fccb138 OrganizationID=a617ba95-449e-4593-baa8-6ba3fcafbc22 Ip=10.192.76.121 UserAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" ResourceType=template_version ResourceID=8a63331f-cb2b-4622-aaa6-5beedad8f6a3 ResourceTarget=eager_elgamal1 Action=create Diff="{\"created_by\":{\"Old\":\"\",\"New\":\"c2a50e4e-a526-4514-bd06-f80a3fccb138\",\"Secret\":false},\"id\":{\"Old\":\"\",\"New\":\"8a63331f-cb2b-4622-aaa6-5beedad8f6a3\",\"Secret\":false},\"name\":{\"Old\":\"\",\"New\":\"eager_elgamal1\",\"Secret\":false}}" StatusCode=201 AdditionalFields="{}" RequestID=547bff0e-f7f0-4c81-8797-00af13d2ad5f ResourceIcon="" actor="&{ID:c2a50e4e-a526-4514-bd06-f80a3fccb138 Email:[email protected] Username:huonguyenlt}" 2024-12-02 07:09:13.432 [info] provisionerd-coder-7c8488d8fc-6zsch-1: unpacking template source archive session_id=8f0406f1-bb3d-4146-9e5b-0b65d17ed019 size_bytes=11264 2024-12-02 07:09:13.753 [info] provisionerd-coder-7c8488d8fc-6zsch-1: clean stale Terraform plugins cache_path=/home/coder/.cache/coder/provisioner-1/tf 2024-12-02 07:09:13.822 [info] provisionerd-coder-7c8488d8fc-6zsch-1.runner: dry-run provision failure job_id=039b023f-5da1-44d9-946e-491a64e45b9d error="initialize terraform: exit status 1" 2024-12-02 07:09:13.838 [info] provisionerd-coder-7c8488d8fc-6zsch-1: recv done on Session session_id=8f0406f1-bb3d-4146-9e5b-0b65d17ed019 error=EOF

Activity

  1. added
    bug risk
    needs-triage
    on Dec 2, 2024
  2. matifali commented on Dec 3, 2024

    @matifali
    Contributor

    Hi @huonguyenlt, Thanks for letting us know. We are working on improving this flow in #15447. Please follow/upvote the issue to track progress.

    Meanwhile, to help you better diagnose this, please open a help thread in our Community Discord at https://discord.gg/coder.

    Thanks. I am closing this issue and we can continue in Discord.

  3. removed
    bug risk
    needs-triage
    on Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions