clear VMs for demo #273

Closed
opened 2025-03-23 10:53:28 +01:00 by kiara · 6 comments
Owner

As Fediversity,
I want to be able to reset our VMs (test01~04) to a 'clean' state,
so that our demo may show what our application can do.

**As** Fediversity, **I want** to be able to reset our VMs (test01~04) to a 'clean' state, **so that** our demo may show what our application can do.
kiara added this to the Fediversity project 2025-03-23 10:53:34 +01:00
kiara added a new dependency 2025-04-01 20:51:05 +02:00
Author
Owner

notably test03's ssh access seems botched

notably test03's ssh access seems botched
Owner

One rather brutal way of achieving this is:

sh infra/proxmox-remove.sh test01 test02 test03 test04
sh infra/proxmox-provision.sh test01 test02 test03 test04

I suppose it wouldn't be so hard to have a script simply re-install over an existing VM, without having to create it.

One rather brutal way of achieving this is: ```sh sh infra/proxmox-remove.sh test01 test02 test03 test04 sh infra/proxmox-provision.sh test01 test02 test03 test04 ``` I suppose it wouldn't be so hard to have a script simply re-install over an existing VM, without having to create it.
kiara added a new dependency 2025-04-07 09:10:53 +02:00
Author
Owner
@Niols weird, regardless of vm picked, the remove script gives me this error.

done grabing VM options for VM test03. Found VM 7003 on fediversity Proxmox.
Stopping VM test03...
unexpected status: ''
vencountered 1 errors while removing VMs test03.

to be fair, even in the web interface i don't see options to ditch a vm - is that normal @kevin or might my proxmox user lack certain permissions?

<details> <summary> @Niols weird, regardless of vm picked, the remove script gives me this error. </summary> > done grabing VM options for VM test03. Found VM 7003 on fediversity Proxmox. > Stopping VM test03... > unexpected status: '' > vencountered 1 errors while removing VMs test03. </details> to be fair, even in the web interface i don't see options to ditch a vm - is that normal @kevin or might my proxmox user lack certain permissions?
Owner

I get:

$ sh infra/proxmox-remove.sh test03
Authenticating... done.
Removing VMs test03...
Grabing VM options for VM test03...
done grabing VM options for VM test03. Found VM 7003 on fediversity Proxmox.
Stopping VM test03...
done stopping VM test03.
Deleting VM test03...
done deleting VM test03.
done removing VMs test03.

Do you get the same when creating VMs?

I get: ```console $ sh infra/proxmox-remove.sh test03 Authenticating... done. Removing VMs test03... Grabing VM options for VM test03... done grabing VM options for VM test03. Found VM 7003 on fediversity Proxmox. Stopping VM test03... done stopping VM test03. Deleting VM test03... done deleting VM test03. done removing VMs test03. ``` Do you get the same when creating VMs?
Author
Owner

@Niols nope 😶 (expand my <summary> above for log).
thanks tho!
trying provisioning for that one now, which also seems to fail for me:

http: error: SSLError: HTTPSConnectionPool(host='192.168.51.81', port=8006): Max retries exceeded with url: /nodes/node051/storage/local/upload?content=iso (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2417)'))) while doing a POST request to URL: https://192.168.51.81:8006/nodes/node051/storage/local/upload?content=iso
@Niols nope 😶 (expand my `<summary>` above for log). thanks tho! trying provisioning for that one now, which also seems to fail for me: ``` http: error: SSLError: HTTPSConnectionPool(host='192.168.51.81', port=8006): Max retries exceeded with url: /nodes/node051/storage/local/upload?content=iso (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2417)'))) while doing a POST request to URL: https://192.168.51.81:8006/nodes/node051/storage/local/upload?content=iso ```
Author
Owner

with the demo having passed i'll close in favor of #116

with the demo having passed i'll close in favor of #116
kiara closed this issue 2025-04-14 11:03:51 +02:00
kiara removed this from the Fediversity project 2025-06-10 18:51:09 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#226 OKR: demo}
fediversity/fediversity
Reference: fediversity/fediversity#273
No description provided.