DaanHoogland commented on issue #10068:
URL: https://github.com/apache/cloudstack/issues/10068#issuecomment-2528522516

   @MatthiasDrexler can you show table `vm_template` before you start the 
server, please?
   
   it should look something like
   ```
   CREATE TABLE  `cloud`.`vm_template` (
     `id` bigint unsigned NOT NULL auto_increment,
     `unique_name` varchar(255) NOT NULL,
     `name` varchar(255) NOT NULL,
     `uuid` varchar(40),
     `public` int(1) unsigned NOT NULL,
     `featured` int(1) unsigned NOT NULL,
     `type` varchar(32) NULL,
     `hvm`  int(1) unsigned NOT NULL COMMENT 'requires HVM',
     `bits` int(6) unsigned NOT NULL COMMENT '32 bit or 64 bit',
     `url` varchar(255) NULL COMMENT 'the url where the template exists 
externally',
     `format` varchar(32) NOT NULL COMMENT 'format for the template',
     `created` datetime NOT NULL COMMENT 'Date created',
     `removed` datetime COMMENT 'Date removed if not null',
     `account_id` bigint unsigned NOT NULL COMMENT 'id of the account that 
created this template',
     `checksum` varchar(255) COMMENT 'checksum for the template root disk',
     `display_text` varchar(4096) NULL COMMENT 'Description text set by the 
admin for display purpose only',
     `enable_password` int(1) unsigned NOT NULL default 1 COMMENT 'true if this 
template supports password reset',
     `enable_sshkey` int(1) unsigned NOT NULL default 0 COMMENT 'true if this 
template supports sshkey reset',
     `guest_os_id` bigint unsigned NOT NULL COMMENT 'the OS of the template',
     `bootable` int(1) unsigned NOT NULL default 1 COMMENT 'true if this 
template represents a bootable ISO',
     `prepopulate` int(1) unsigned NOT NULL default 0 COMMENT 'prepopulate this 
template to primary storage',
     `cross_zones` int(1) unsigned NOT NULL default 0 COMMENT 'Make this 
template available in all zones',
     `extractable` int(1) unsigned NOT NULL default 0 COMMENT 'Is this template 
extractable',
     `hypervisor_type` varchar(32) COMMENT 'hypervisor that the template 
belongs to',
     `source_template_id` bigint unsigned COMMENT 'Id of the original template, 
if this template is created from snapshot',
     `template_tag` varchar(255) COMMENT 'template tag',
     `sort_key` int(32) NOT NULL default 0 COMMENT 'sort key used for 
customising sort method',
     PRIMARY KEY  (`id`),
     INDEX `i_vm_template__removed`(`removed`),
     INDEX `i_vm_template__public`(`public`),
     CONSTRAINT `uc_vm_template__uuid` UNIQUE (`uuid`)
   ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
   ```
   
   i.e. not contain a field named `size`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to