VMware Cloud Community
Psirus
Contributor
Contributor
Jump to solution

Not able to deploy OVA via OVF Tool. I think network mapping is wrong.

I am trying to deploy OVA via OVF tool.

The OVA has two network mappings, Out of Band Management and Public.

I entered the following for the deployment.

ovftool --acceptAllEulas --name=test -dm=thin -ds="datastore1" --net: "Out of Band Management"="VM Network" --net: "Public"="VM Network" "C:\Users\ki\Downloads\Daily Downloads\xxx.ova" vi://root@135.27.x.x

Then the following error is thrown.

Error: Unexpected option: Public=VM Network

Completed with errors

I think I followed the rule for multiple network mapping in the OVF Tool User's Guide.

Sets a network assignment in the deployed OVF package. For example, --net:=. OVF packages contain symbolic names for network names which are assigned with this option. For multiple network mappings, repeat the option, separating them with a space for example, --net:s1=t1 --net:s2=t2 --net:s3=t3.

What might cause the error?

Please advise.

0 Kudos
1 Solution

Accepted Solutions
dgold
Enthusiast
Enthusiast
Jump to solution

your syntax is correct but try getting rid of the extra space after both instances of the "--net:" and see, that should work. 

--net:"Out of Band Management"="VM Network"  --net:"Public"="VM Network"

View solution in original post

0 Kudos
4 Replies
dgold
Enthusiast
Enthusiast
Jump to solution

your syntax is correct but try getting rid of the extra space after both instances of the "--net:" and see, that should work. 

--net:"Out of Band Management"="VM Network"  --net:"Public"="VM Network"

0 Kudos
Psirus
Contributor
Contributor
Jump to solution

Thank you very much for your advice!

I followed what you recommended and a different error message is thrown now which is "Error: Config::View::Set failed. Node  already has a child. Completed with errors".

That will be my next fun to take care of.

Thanks again!

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Can you please extract the .ovf file from the OVA archive, and attach it to a reply post?

André

0 Kudos
Psirus
Contributor
Contributor
Jump to solution

Hi Andre

It looks like there was some issue while installing ovf tool on my PC.

I installed ovf tool 4.3.0 U3 at first so I removed it and installed ovf tool 4.3.0.

Then, it worked.

0 Kudos