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

data_disks creation is not idempotent #2

Open
kksat opened this issue Oct 23, 2022 · 1 comment
Open

data_disks creation is not idempotent #2

kksat opened this issue Oct 23, 2022 · 1 comment

Comments

@kksat
Copy link
Collaborator

kksat commented Oct 23, 2022

When creating data disks second time (idempotency) if there is any data exists already on managed disk, creation failing with following error

"
TASK [Create logical volume] ***************************************************
fatal: [localhost -> unpack(4.231.231.107)]: FAILED! => {"changed": false, "msg": "Sorry, no shrinking of lv-lun0 to 0 permitted."}
"

Whole disk becomes not working on OS level

"ls: cannot access 'sap': Input/output error"

ls -al gives
" ? d?????????? ? ? ? ? ? sap"

@kksat
Copy link
Collaborator Author

kksat commented Oct 23, 2022

to reproduce, create data disk, login to molecule instance, create empty file on data disk, run instance creation again (with help of side-effect) - creation fails.

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