Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

factory fails when kernel parameter config is empty #844

@bergwolf

Description

@bergwolf

When kernel parameter is set to empty, vm factory fails the vm config comparison but look closely the two config values are actually the same.

hypervisor config does not match, base: {HypervisorType:qemu HypervisorConfig:{NumVCPUs:0 DefaultMaxVCPUs:2 MemorySize:0 DefaultBridges:1 Msize9p:81920 MemSlots:10 KernelParams:[] HypervisorParams:[] KernelPath:/usr/share/kata-containers/vmlinuz-4.14.67.11-137.container ImagePath: InitrdPath:/golang/src/github.com/kata-containers/osbuilder/kata-containers-initrd.img FirmwarePath: MachineAccelerators: HypervisorPath:/usr/bin/qemu-lite-system-x86_64 BlockDeviceDriver:virtio-scsi HypervisorMachineType:pc MemoryPath: DevicesStatePath: EntropySource:/dev/urandom customAssets:map[] DisableBlockDeviceUse:false EnableIOThreads:false Debug:true MemPrealloc:false HugePages:false Realtime:false Mlock:false DisableNestingChecks:false UseVSock:false HotplugVFIOOnRootBus:false BootToBeTemplate:false BootFromTemplate:false DisableVhostNet:false} AgentType:kata AgentConfig:{LongLiveConn:false UseVSock:false} ProxyType:noopProxy ProxyConfig:{Path: Debug:false}}. new: {HypervisorType:qemu HypervisorConfig:{NumVCPUs:0 DefaultMaxVCPUs:2 MemorySize:0 DefaultBridges:1 Msize9p:81920 MemSlots:10 KernelParams:[] HypervisorParams:[] KernelPath:/usr/share/kata-containers/vmlinuz-4.14.67.11-137.container ImagePath: InitrdPath:/golang/src/github.com/kata-containers/osbuilder/kata-containers-initrd.img FirmwarePath: MachineAccelerators: HypervisorPath:/usr/bin/qemu-lite-system-x86_64 BlockDeviceDriver:virtio-scsi HypervisorMachineType:pc MemoryPath: DevicesStatePath: EntropySource:/dev/urandom customAssets:map[] DisableBlockDeviceUse:false EnableIOThreads:false Debug:true MemPrealloc:false HugePages:false Realtime:false Mlock:false DisableNestingChecks:false UseVSock:false HotplugVFIOOnRootBus:false BootToBeTemplate:false BootFromTemplate:false DisableVhostNet:false} AgentType:kata AgentConfig:{LongLiveConn:false UseVSock:false} ProxyType:noopProxy ProxyConfig:{Path: Debug:false}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions