Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Releases: kubevirt/vm-import-operator

v0.2.4

15 Oct 13:28
Compare
Choose a tag to compare

Bugs:

  • Do not override machine type for i440fx
  • Use label normalizer
  • Add missing condition
  • vSphere: Implement Close() to log out and shutdown idle connections
  • Fix vSphere datastore mapping by name
  • vSphere: map nics that are connected to distributedportgroups

Docs:

  • Fix datastore references in documentation

v0.2.3

02 Oct 15:13
Compare
Choose a tag to compare

Features:

  • Updated controller-lifecycle-operator-sdk dependency
  • Cancelled import metrics

Bugs:

  • Update placement types
  • Use template validation rules
  • Fixing rendered view of column "Labels"

Docs:

  • Document new metric for cancelled import

v0.2.2

21 Sep 10:53
Compare
Choose a tag to compare

v0.2.2

Features:

  • Increase test timeouts to account for virt-v2v job
  • Make virt-v2v default to treating the first disk as the root
  • Set controller reference on the conversion job
  • Validate template memory requirements
  • Move guest conversion functions into their own package
  • Add JobsManager tests
  • Refactor guest conversion job creation + cleanup
  • Add Jobs manager
  • Add VIRTV2V_IMAGE to operator.yaml.in
  • Add convertGuest step after importDisks, to launch virt-v2v job
  • Add basic vm import integration tests for vSphere
  • Update vSphere mapper to use actual VDDK datasource
  • Update CDI to 1.23.1, use generated CDI client in framework.go
  • Fixing problem with changed qe-tools sum
  • Improve template not found message
  • Update template finder
  • Add virtv2v image build/push to Makefile
  • handle cluster default bios type
  • Normalize vm hostname
  • Comment fixes and autoformatting.
  • Refactor e2e tests so failures from both providers are caught
  • Revert StopVM refactor
  • Increased nsDeleteTime
  • Give vm-import-controller SA permission to list templates
  • Add initial Vmware e2e test
  • Refactor e2e tests to support Vmware
  • VM not being created yet should not cause CleanUp to fail
  • Move foldErrors, updateLabels and updateAnnotations into utils
  • Check status via vmProperties before calling vmwareClient.StopVM
  • Return an error from client.getVMBy* methods if VM is not found.
  • Sort the list of disks in VmwareMapper.MapDisk
  • Get client before testing connection to avoid nil ptr dereference
  • Use MoRef as parameter to Vmware client's StartVM and StopVM
  • Add support for the VMware provider in the import controller
  • Add VmwareProvider to support importing VMs from vSphere
  • Merge pull request #395 from jakub-dzon/fix-deployment-creation-problem
  • Fix HCO upgrade problem: v0.0.4->v0.2.1

v0.2.1

10 Sep 07:05
f569b17
Compare
Choose a tag to compare

v0.2.1

Release v0.2.1

Features:

  • Using controller-lifecycle-operator-sdk
  • Allow specifying nodeSelector, affinity and tolerations
  • Update formating and depts
  • Split buildDevices into buildDisks and buildNics
  • Fix search pattern for qcow2 overlays
  • Add Vmware VM mapper
  • Add comments to exported functions in pkg/mappings/merger.go
  • Add mapping merger for the VMWare provider
  • Move entrypoint into bin subfolder
  • Add qemu-guest-agent package
  • Add virt-v2v container image
  • Refactor shared *Manager interfaces into provider package
  • Add Vmware template finder
  • Add Vmware OSFinder and GuestOs identifier mappings
  • Select newest template
  • Add event on import pod failure

Bugs:

  • Added missing properties in the operator.yaml.in template
  • Update older version of VMImportConfig params
  • Add monitoring ns to operator env
  • Allow to watch and create servicemonitors
  • Missing permission
  • Update types
  • Permissions issue during HCO deployment
  • Restore v1alpha1 types

Release v0.2.0

12 Aug 15:15
Compare
Choose a tag to compare

v0.2.0

Release v0.2.0

Features:

  • Allow to import vms using i440fx bios
  • Use controller config to configure custom os mapping
  • Add pending condition
  • Enable SR-IOV
  • Introducing Controller Config
  • Add Valid condition warning when default storage class is about to be used
  • Extract common parts from the KubeVirt config support
  • Bump API to version v1beta1
  • Move to v1 apiextension API
  • Using direct server API client to get data before updating slices in status
  • Add support for block volumes
  • API-level validation for spec.targetVmName - max length: 63
  • Failing import when there are any problems related to DV creation
  • Shortening target VM name to 63 characters
  • Add reason of timeout error to tests
  • Add metric kubevirt_vmimport
  • Add Vmware Client
  • Restore source vm status when import cancelled

Docs:

  • Update documentation to include VMware examples

v0.1.0

16 Jul 07:59
61cab40
Compare
Choose a tag to compare

v0.1.0

Promotion of release v0.0.4 to v0.1.0.

No code changes.

v0.0.4

05 Jul 08:28
fe37aa6
Compare
Choose a tag to compare

v0.0.4

Features:

  • CNV-5368: Failing import when template is not found and proper feature gate is not enabled
  • Propagate env variables to vm-import-controller
  • Check disk status before import
  • Refactor importDisks method
  • Remove non-cluster roles and rolebindings from cleanup logic

Tests:

  • Allow user to specify storage classes for tests Fixes #318
  • Using kubevirt install namespace passed in the test run arguments. Fixes #317
  • Add nfs storage to automation
  • Pinning kubevirtci version
  • Parallel import of two VMs functional test
  • Re-enabled assertion checking MAC address of the VM instance
  • Sequential import of two VMs functional tests
  • VM import CR removal after successful import - e2e test
  • Functional test for source VM that wouldn't go down
  • Running VM import functional test
  • Updated fakeovirt API dependency
  • Functional tests for failed resource mapping validation
  • Negative import test cases
  • Increased BeRunning matcher timeout and added meaningful information to the failure message

Bugs:

  • Do not requeue new request if provider init failed
  • Allowing for VMs to have Windows-specific UTC-compatible timezonesFixes https://bugzilla.redhat.com/show_bug.cgi\?id\=1852446
  • Recover from oVirt client panic
  • Block import with more than one source network mapped to a pod network
  • Set PVC accessMode based on source VM
  • Network resource mapping type validation hardening
  • Using pod network type when type is missing in the mapping. Fixed #301
  • Make sure DVs od VM import are correct
  • DedicatedCPUPlacement should be set to true for exact pinning. Fixed #269

Docs:

  • Update documentation
  • New various functional test cases definitions
  • New negative test cases descriptions
  • Update examples
  • Align namespace in examples

v0.0.3

07 Jun 19:24
Compare
Choose a tag to compare

v0.0.3

Features:

  • Propagate label for tracking created resources
  • Set unique data-volume name
  • Added information about resource mapping resolution and defaults for storage
  • Reduce restrictions on target in mappings
  • Add vm description
  • Update network mapping value for ovirt
  • Taking into account eventual consistency for dependencies removal
  • Update owned CRD in CSV
  • Watch for failures of the disk import

Tests:

  • CPU pinning functional test
  • Install kubevirt templates for ocp tests
  • Add debugging to fail test provision infra
  • 'migratable' placement policy affinity and LiveMigration feature gate enabled e2e test
  • Simple positive e2e tests. BIOS Type mapping fix
  • Refactored VM validation tests to use more general template files
  • Functional tests for invalid image
  • Timezone validation e2e tests and fix
  • Bump default k8s version to 1.18
  • Defined new VM configuration-related e2e test cases
  • Using dynamic stubbing in all the functional tests
  • Moved functional tests dedicated to oVirt VM provider to a separate directory
  • VM Storage validation functional tests
  • Networking tests - Refactored to use stubbing - Added multus+pod networks VM test - Added multus+multus networks VM test
  • Functional tests for VM validation

Docs:

  • Add contribution guidelines
  • Add CODE_OF_CONDUCT

v0.0.2

20 May 18:46
Compare
Choose a tag to compare

v0.0.2

  • Added vm-import-operator to manage the lifecycle of
    vm-import-controller deployment using VmImportConfig CR.
  • CRDs and controller resources are generated by code

Features:

  • hco: install controller
  • Allow user to override OS Map
  • Generate CRDs for CSV-Generator
  • hco: add vmimport config cr
  • Add events emitting
  • Add CSV Generator
  • Adding tablet input device when VNC is enabled
  • Use vNIC Profile as source network mappings for oVirt
  • Generating clients in build Fixes #156
  • Update vm import progress reflect dv import

Bugs:

  • Set correct ns when creating serviceMonitor
  • Remove duplicated policy rule
  • Add missing permissions
  • Update watched types by vm-import-controller
  • Update RBAC for vm-import-operator
  • Add missing env-variables to operator
  • Adding k8s.cni.cncf.io/network-attachment-definitions privileges. Fixes #205
  • 'latest' is not a semver and cannot be used with csv-generator
  • Adding owner reference to temporary secret and config map. Fixes #176
  • Fixing possible panic while accessing placement policy
  • Add template namespace label to the created VM
  • Removed superfluous config and providers

Docs:

  • Added docs/developers.md
  • Add verbs for building operator and controller
  • Add steps for using user OS Map
  • Functional testing documentation

Tests:

  • operator: add unit tests
  • Functional test for VM with multus network
  • Silent the wget output
  • Don't use sudo in test scripts
  • Use upstream golang in tests
  • Functional tests for VM with more than one disk
  • Install golang during up.sh
  • Extend test for os-map-provider
  • Resource mapping tests
  • Added NIC failed validation e2e tests
  • Use master of kubevirtci repo for tests
  • Added functional test for import cancellation. Fixes #176
  • Install fakeovirt and imageio during test
  • Use kubevirtci project for tests
  • Networked VM e2e tests
  • Basic e2e tests framework package has been based on CDI's test framework

v0.0.1

28 Apr 07:13
Compare
Choose a tag to compare

The release contains vm-import-operator supporting oVirt as source provider.
The operator runs in cluster-scope, watching any namespace for vmimports
resources.

Features & Bugs:

  • Change version format to vX.Y.Z
  • Making sure that transient resources' label values are not longer than 63 characters
  • Use operator namespace to find os config map
  • Added storage.k8s.io/storageclasses privileges to vm-import-operator cluster role
  • docs: add design documents
  • Placement policy validation against LiveMigration KubeVirt feature gate Fixes #120
  • Add permissions for templates
  • templates: use vminstance namespace to process template
  • KubeVirt config provider
  • Block import of VM without disks
  • client: connect oVirt client only when needed
  • Generated clientset
  • Use CDI v1.15.0
  • Add map disk interface method
  • Allow targetVmName to be optional
  • Set data-volume prefix to disk-
  • Rely on templates labels
  • Fixed DST change detection Africa/El_Aaiun observes DST from May 31 to April 19
  • Using vm.TimeZone.UtcOffset if available
  • Add permissions to finalizers of vm
  • Allowing only UTC-compatible VM timezones Fixes #93
  • Add permissions to watch vmi
  • Processing condition lifecycle amendment
  • MappingRulesChecking->MappingRulesVerified
  • Validating->Valid status condition
  • Use suffixes in memory and disk size
  • Allowing user to force default storage class
  • Stopping oVirt VM if cached VM status is not 'down'
  • Use disk resource mappings in disk mapping Fixes #80
  • Set VM as owner of DV
  • Ignore missing storage resource mapping
  • Gracefully re-queueing on validation failure. Fixes #62
  • Honoring cluster_default bios type #57
  • Add watching of VM and DVs
  • templates: make template handling provider agnostic
  • Mapping network frontend
  • DV secret and config map management refactoring
  • Use the retrieved template name in vm label
  • Preserve template labels
  • Set namespace for new VMs
  • Add labels to VM spec about the template
  • Add OS mapping
  • Using common templates
  • Config maps manager
  • Secrets manager package
  • Removing data volume owner references
  • After success method
  • VM status validation Allowing only 'up' or 'down'
  • Add DiskMappings for specific disk mappings
  • Nic mappings
  • Adding vendor
  • Map VM attributes
  • VM validators refactoring
  • Resource mappings validators refactoring
  • Add mapper module
  • Condition management package
  • Normalize VM name
  • Retrieval and merging of resource mappings
  • Make external resource mapping optional
  • Validating import CR in the reconciliation loop
  • Completing 'Validating' condition successful y when necessary
  • Storage mapping validation
  • Refactor Reconcile method
  • Network mapping validator
  • Expect decoded CA Certificate in ovirt-secret
  • Validation rules fixes
  • Create methods to ensure CM/Secret existence
  • Improve condition to check VM existence
  • Cluster is optional if VM ID provided
  • Support CACert in base64 format
  • Update ovirt secret example
  • Using proper condition for validation status reporting
  • oVirt VM validation
  • Add ResourceMapping CRD
  • Rich oVirt client
  • VM rules
  • Storage rules
  • Allow specifying target VM name
  • NIC validation
  • Initial reconcile implementation
  • Admission hook skeleton
  • Update VMImport custom resource
  • Rename organization to kubevirt
  • Change version to v1alpha1

Docs:

  • docs: add design documents
  • Add README