What's the test to develop? Please describe
test_4_vm_template.py::TestVMTemplate::test_create_template_with_data fails due to AssertionError: (500, 'unexpected end of JSON input') in v1.8.2-rc1

Follow the test steps in description to run manual test will pass, so it maybe a script issue.
Steps:
1. Create VM and write some data
2. Create new template and keep data from the VM
3. Create new VM from the template
4. Check data consitency
Prerequisite and dependency of test
Any prerequisite environment and pre-condition required for this test.
Provide test case dependency here if any.
Describe the items of the test development (DoD, definition of done) you'd like
Please use a task list for items on a separate line with a clickable checkbox https://docs.github.com/en/issues/tracking-your-work-with-issues/about-task-lists
Additional context
Add any other context or screenshots about the test request here.
What's the test to develop? Please describe
test_4_vm_template.py::TestVMTemplate::test_create_template_with_data fails due to AssertionError: (500, 'unexpected end of JSON input') in

v1.8.2-rc1Follow the test steps in description to run manual test will pass, so it maybe a script issue.
Steps:
1. Create VM and write some data
2. Create new template and keep data from the VM
3. Create new VM from the template
4. Check data consitency
Prerequisite and dependency of test
Any prerequisite environment and pre-condition required for this test.
Provide test case dependency here if any.
Describe the items of the test development (DoD, definition of done) you'd like
test_4_vm_template.py::TestVMTemplate::test_create_template_with_datashould run success without issueAdditional context
Add any other context or screenshots about the test request here.