hepix-virtualisation / vmcatcher

Provides an up to date cache of authorised VM imagelists and VM images.
Apache License 2.0
5 stars 6 forks source link

"VMCATCHER_EVENT_HV_VERSION" gets an empty value #6

Closed esfreire closed 9 years ago

esfreire commented 10 years ago

Hello,

We are getting empty the field "VMCATCHER_EVENT_HV_VERSION" when we execute the "vmcatcher_eventHndl_ON" to create the template for the image and upload it to OpenNebula. This is the result for the template created with the "vmcatcher_eventHndl_ON":

IMAGE TEMPLATE DESCRIPTION="ttylinux-kvm" DEV_PREFIX="hd" VMCATCHER_EVENT_DC_DESCRIPTION="ttylinux-kvm" VMCATCHER_EVENT_DC_IDENTIFIER="93084776-1176-4849-95dc-cc7a15f2ce97" VMCATCHER_EVENT_DC_TITLE="ttylinux-kvm" VMCATCHER_EVENT_FILENAME="93084776-1176-4849-95dc-cc7a15f2ce97" VMCATCHER_EVENT_HV_FORMAT="RAW" VMCATCHER_EVENT_HV_HYPERVISOR="QEMU,KVM" VMCATCHER_EVENT_HV_SIZE="41943040" VMCATCHER_EVENT_HV_URI="http://cloud.cesga.es/images/93084776-1176-4849-95dc-cc7a15f2ce97_2014-05-15_15-55-54.RAW" VMCATCHER_EVENT_HV_VERSION="" VMCATCHER_EVENT_IL_DC_IDENTIFIER="2204eed5-f37e-45b9-82c6-85697356109c" VMCATCHER_EVENT_SL_ARCH="x86_64" VMCATCHER_EVENT_SL_CHECKSUM_SHA512="4aa7c7665e6af4daabf3981516e61b0fab54feedb70399933dc7694df68645949c193a99f9443b62c5d3689a263184d95268bee56bb76818e25385058d3ba891" VMCATCHER_EVENT_SL_COMMENTS="This is a very small image that works with OpenNebula. It's already contextualized. login:root pass:password" VMCATCHER_EVENT_SL_OS="Linux" VMCATCHER_EVENT_SL_OSVERSION="1" VMCATCHER_EVENT_TYPE="AvailablePostfix"

On the "vmcatcher_eventHndl_ON", we are parsing the following value:

tfile.write('VMCATCHER_EVENT_HV_VERSION = "%s"\n' % (generator['VMCATCHER_EVENT_HV_VERSION']))

And, we have defined these variables on the following dictionary:

EnvEvent = set(['VMCATCHER_EVENT_TYPE', 'VMCATCHER_EVENT_DC_DESCRIPTION', 'VMCATCHER_EVENT_DC_IDENTIFIER', 'VMCATCHER_EVENT_DC_TITLE', 'VMCATCHER_EVENT_HV_HYPERVISOR', 'VMCATCHER_EVENT_HV_SIZE', 'VMCATCHER_EVENT_HV_URI', 'VMCATCHER_EVENT_HV_FORMAT', 'VMCATCHER_EVENT_HV_VERSION', 'VMCATCHER_EVENT_SL_ARCH', 'VMCATCHER_EVENT_SL_CHECKSUM_SHA512', 'VMCATCHER_EVENT_SL_COMMENTS', 'VMCATCHER_EVENT_SL_OS', 'VMCATCHER_EVENT_SL_OSVERSION', 'VMCATCHER_EVENT_TYPE', 'VMCATCHER_EVENT_IL_DC_IDENTIFIER', 'VMCATCHER_EVENT_FILENAME'])

Could you have a look, please?

Thanks in advance, Esteban

osynge commented 9 years ago

I believe this is now fixed and closed as an issue. Please contact me if you still have an issue.