Skip to content

OVA image created with cot 2.2.1 and Python 3.8.5 fails the ovftool validation #82

@ankirich

Description

@ankirich

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions