You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I suddenly stumbled across the problem that cot script used to inject CSR1K OVA images with a prebuilt configs started creating an OVA which is not readable by ovftool:
Error: Did not find an .ovf file at the beginning of the OVA package.
Completed with errors
After playing a bit with different configs and OVAs, I came to conclusion that the only recent change was Python upgrade to 3.8.5. Indeed, after running cot with Python 3.7.0 things got back to normal and cot produced OVA file is now readable by the ovftool.
The text was updated successfully, but these errors were encountered:
ankirich
changed the title
OVA image created with cot 2.2.1 and Python 3.8.5 fails the ovftool vlidation
OVA image created with cot 2.2.1 and Python 3.8.5 fails the ovftool validation
Sep 1, 2020
My current day job doesn't focus on this particular tech area so I haven't had time to look into this. Sorry! Looking at https://docs.python.org/3/library/tarfile.html#tarfile.DEFAULT_FORMAT, I see that Python 3.8 changed the default tarfile format that it creates; possibly this needs to be accounted for.
nibty
added a commit
to nibty/cot
that referenced
this issue
Aug 8, 2023
Hi,
I suddenly stumbled across the problem that cot script used to inject CSR1K OVA images with a prebuilt configs started creating an OVA which is not readable by ovftool:
macos:user$ ovftool --deploymentOption=1CPU-4GB --net:GigabitEthernet1=ALL-VLANS --name=test_router --datastore=Test-VSAN /Users/user/Downloads/test_router.ova vi://user:*****@vcenter.lab/LAB/host/TEST/test.lab
Error: Did not find an .ovf file at the beginning of the OVA package.
Completed with errors
After playing a bit with different configs and OVAs, I came to conclusion that the only recent change was Python upgrade to 3.8.5. Indeed, after running cot with Python 3.7.0 things got back to normal and cot produced OVA file is now readable by the ovftool.
The text was updated successfully, but these errors were encountered: