Antsle Forum

Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more. 

Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked. 

Please or Register to create posts and topics.

Uploading vmdk Files gives 504 error

I am attempting to upload a 43gb VMDK file to my Antsle. Whenever I attempt to upload it as I click the "Import" button on the bottom I get a 504 "Gateway Timeout" error every time. Is it possible that I can create the template via command line so I can SCP rather than rely on the webui?

Hello,

There are couple workaround that you can use for the large upload to antsle:

  1. Try logging in with antsle's private IP address instead of hostname.
    Example:  http://antsle_private_ip:3000
  2. For Image Source, change this to Path and import the file after copying this over to your anstle.

Thank you,
antsle Support

Here's a basic example of an Ansible playbook to create a VM template from the VMDK:

[code]

- name: Create VM Template from VMDK
hosts: ansible_server
become: yes

tasks:
- name: Create VM Template
vmware_guest:
vcenter_hostname: "{{ vcenter_hostname }}"
vcenter_username: "{{ vcenter_username }}"
vcenter_password: "{{ vcenter_password }}"
datastore_name: "{{ datastore_name }}"
vm_name: "my_vm_template"
template: yes
disk_spec:
- size: 43G
file_path: "/path/to/vm_images/43gb.vmdk"

[/code]

Remember to replace the placeholders like vcenter_hostname, vcenter_username, vcenter_password, datastore_name, and /path/to/vm_images/43gb.vmdk with your actual values.

Block Blast