-
Notifications
You must be signed in to change notification settings - Fork 520
Description
Description
VM configuration is incomplete after add Single VM Backup configuratio. The addition of Single VM Backups removes part of the VM configuration template, leading to Client error when connecting to VNC.
To Reproduce
1-Download an apps from the marketplace.
2-Instantiate a VM using the new created template, from the downloaded app.
3-Check the VM config:
onevm updateconf <vmid>Example output:
OS=[
ARCH="x86_64",
UUID="544b2dca-6e06-4d76-8f7b-1bc11e2404c9" ]
FEATURES=[
ACPI="yes" ]
GRAPHICS=[
LISTEN="0.0.0.0",
PORT="5910",
TYPE="VNC" ]
CONTEXT=[
DISK_ID="1",
NETWORK="YES",
PASSWORD="",
SET_HOSTNAME="ubu22_N1",
SSH_PUBLIC_KEY="",
TARGET="hda" ]
4-Configure Single VM Backup on the new created VM (Backup config is now outside the Update VM Configuration). After configure the SIngle VM Backup, the VM configuration lost part of its original configuration.
onevm updateconf <vmid>Example output:
CONTEXT=[
DISK_ID="1",
NETWORK="YES",
PASSWORD="",
SET_HOSTNAME="ubu22_N1",
SSH_PUBLIC_KEY="",
TARGET="hda" ]
BACKUP_CONFIG=[
BACKUP_VOLATILE="NO",
FS_FREEZE="NONE",
INCREMENTAL_BACKUP_ID="-1",
INCREMENT_MODE="CBT",
LAST_INCREMENT_ID="-1",
MODE="FULL" ]
The missing configuration from the VM is:
OS=[
ARCH="x86_64",
UUID="544b2dca-6e06-4d76-8f7b-1bc11e2404c9" ]
FEATURES=[
ACPI="yes" ]
GRAPHICS=[
LISTEN="0.0.0.0",
PORT="5910",
TYPE="VNC" ]
This lead to broken VNC.
Expected behavior
After configure Single VM Backup, the VM configuration should keep original configuration PLUS the backup configuration.
NOTE
It works with BackupJobs. It does not add the backup configuration to the VM, now it just add the bkjob id to the VM configuration, and the bkjob has the backup configuration for all members of the bkjob.
Details
- Affected Component: [FSunstone]
- Hypervisor: [KVM]
- Version: [6.10.4]
Additional context
Add any other context about the problem here.
Progress Status
- Code committed
- Testing - QA
- Documentation (Release notes - resolved issues, compatibility, known issues)