how to add ovf and ova

Asked by Ashokkumar c on 2011-11-15

hi

i tried to add ova file in glance using container format = ova and disk formate=vmdk. it shows error.
can anyone tell me how to add images of ova and ovf formate using glance add..

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
Jay Pipes
Solved:
2011-11-16
Last query:
2011-11-16
Last reply:
2011-11-16
Best Jay Pipes (jaypipes) said : #1

Use container_format=ovf, not container_format=ova :)

Cheers!
-jay

Ashokkumar c (ashokcse) said : #2

Thanks jay

yes I used ovf and it was successful. But I have another problem now.
I converted vmdk file into ova by using vmware workstation (the vmdk is a windows server machine ) and I launched it, everything went good but when I opened the vnc console it shows me "Boot failed : not a bootable disk"

Jay Pipes (jaypipes) said : #3

Hi again,

Is there anything in the nova-compute log files?

-jay

Ashokkumar c (ashokcse) said : #4

And when I create ovf using vmware it creates two files .ovf and .vmdk , whether I have to upload both the files or only .vmdk file

Ashokkumar c (ashokcse) said : #5

Hi jay

I believe the problem is with the image , I tried by adding one more vmdk file of windows but its vm keeps on rebooting after reaching "Window Error Recovery ". but when I open the same file in vmware it's running fine . I tried using vdi of windows but it gives same result.

thanks again.

Ashokkumar c (ashokcse) said : #6

And I don't find any error in syslog file

Ashokkumar c (ashokcse) said : #7

Thanks Jay Pipes, that solved my question.