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

Volume is unassigned if the server argument is not specified #490

Open
jooola opened this issue Apr 4, 2024 · 1 comment
Open

Volume is unassigned if the server argument is not specified #490

jooola opened this issue Apr 4, 2024 · 1 comment
Assignees
Labels
bug Something isn't working pinned

Comments

@jooola
Copy link
Collaborator

jooola commented Apr 4, 2024

SUMMARY

Defining a volume like so:

    - name: Create volume
      hetzner.hcloud.volume:
        name: "{{ item.name }}"
        size: 10
        location: fsn1
        labels:
          managed-by: seed
      loop: "{{ volumes }}"

And attaching it to a server during the server creation:

    - name: Create server
      hetzner.hcloud.server:
        name: "{{ item.name }}"
        server_type: cx11
        image: debian-12
        location: fsn1
        volumes: "{{ item.volumes }}"
        labels:
          managed-by: seed
      loop: "{{ servers }}"

On the next run, the volume will be unassigned from the server, as the volume args does not define the server argument.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

volume

@jooola jooola added the bug Something isn't working label Apr 4, 2024
@jooola jooola self-assigned this Apr 4, 2024
Copy link

github-actions bot commented Jul 4, 2024

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

@github-actions github-actions bot added the stale label Jul 4, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2024
@jooola jooola added pinned and removed stale labels Aug 5, 2024
@jooola jooola reopened this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

1 participant