OpenVZ Source code
  1. OpenVZ Source code

prl-disp-service.ovz

Public
AuthorCommitMessageCommit dateIssues
EfimEfim
deec8511726AUTO Version bump to 9.1.1
Aleksandr LeskinAleksandr Leskin
97b5e05c40dBump version to 9.1.0 with new RNG schemeSigned-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
EfimAleksandr LeskinEfim
7e3f2368202Add mac and hostInterface name setting forcibly #PSBM-155705In case of creating a VM via prlctl, macaddress and hostInterface name are generated during VM registration within TaskRegisterVM. Here we add default behavior for virsh define similar to prlctl create. If dumpxml of a VM contains a network interface, but this interface does not have a hostInterface name, then this device will not be validated by the rng schema of the dispatcher and the dispatc...PSBM-155705
Aleksandr LeskinAleksandr Leskin
dcd1467fb7dbackup: fix printing backup list for case without backups #PSBM-156151problem was introduced by commit: 560455baf80 backup: append log to watch for list and last backup #PSBM-156006 Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>2 Jira Issues
EfimAleksandr LeskinEfim
8100d4db55bAdd default value for watchdog int Dispatcher #PSBM-154159Libvirt upstream has added default value for watch dog. Currently we dont have and appropriate device in libprlxml, here we just support default value. Signed-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>PSBM-154159
EfimAleksandr LeskinEfim
304b79f3fdfAdd watch dog, qemicmdline, controller in domaincommon #PSBM-154159Compilation fixes in acc to new domaincommon Signed-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>PSBM-154159
EfimAleksandr LeskinEfim
8b9d2a0e2c0rng fixes according to new upstream rng #PSBM-154159domaincaps Signed-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>PSBM-154159
Aleksandr LeskinAleksandr Leskin
948d9b0f90cbackup: append log to watch for list and last backup #PSBM-156006Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-156006
Aleksandr LeskinAleksandr Leskin
a2d62aaef35AUTO Version bump to 9.0.123
Aleksandr LeskinAleksandr Leskin
ff0f771b789backupTarget: fix type from previos commit 6c788341de6 #PSBM-156006Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-156006
Aleksandr LeskinAleksandr Leskin
58901f2caaaAUTO Version bump to 9.0.122
Aleksandr LeskinAleksandr Leskin
6c788341de6backupTarget: improve log message if we switched to full backup due to uuid mismatch #PSBM-156006Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-156006
Aleksandr LeskinAleksandr Leskin
6997fc197e0AUTO Version bump to 9.0.121
Aleksandr LeskinAleksandr Leskin
fe6b2c032b6guest-tool-win: do not use path for calling guest-tools exec files #PSBM-156074VZ9 guest tools already have proper PATH variable with path to 'qemu-ga' so we do not need to use %programfiles% for execution prl_newsid and prl_nettool and avoid getting error with space character inside path. Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-156074
Aleksandr LeskinAleksandr Leskin
79a99023504AUTO Version bump to 9.0.120
Aleksandr LeskinAleksandr Leskin
711fc425b60unittest: minor improvements and fixes whitespaces #PSBM-156071Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-156071
Aleksandr LeskinAleksandr Leskin
d05a27a117aAUTO Version bump to 9.0.119
Aleksandr LeskinAleksandr Leskin
3bf72d94220unittest: remove CT testing from unit test #PSBM-156060VZ9 does not support CT anymore Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-156060
EfimEfim
98651efa6d2AUTO Version bump to 9.0.118
EfimEfim
cf2b6879336AUTO Version bump to 9.0.117
EfimEfim
4f214ec1798Q_FOREACH generate Werror=dangling-else, swap it with rangebased forSigned-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>
EfimEfim
18ac2f6b45fAdd c++17 and -Wdeprecated-declarations flagSigned-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>
EfimEfim
8debb36ea1bAUTO Version bump to 9.0.116
EfimEfim
6632de8dcfcAdd -std=c++14Signed-off-by: Efim Shevrin <efim.shevrin@virtuozzo.com>
EfimEfim
83f2ec16785AUTO Version bump to 9.0.115
EfimEfim
e040ffc7be4Add get function for vm config string without pointer resetting #PSBM-154159Signed-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>PSBM-154159
Aleksandr LeskinAleksandr Leskin
c839f811ac9AUTO Version bump to 9.0.114
Aleksandr LeskinAleksandr Leskin
742393925a8cpufeature: Add support of 0x00000007:0 (ECX) intel cpu features #PSBM-153799Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-153799
Aleksandr LeskinAleksandr Leskin
93cd9af96c7AUTO Version bump to 9.0.113
Aleksandr LeskinAleksandr Leskin
acedc90835bvm state: update vm staus for already runnig vm #PSBM-154028If virsh shows running vm but somewhy prl-disp-service sees vm as stopped, prlctl command does not allow to start vm or change its state. Only restart prl-disp-service can help. This fix updates current vm state and starts socat for vnc by sending internal signal about already started vm status. Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com> Conflicts: Dispatcher/Dispatcher...PSBM-154028
Aleksandr LeskinAleksandr Leskin
fd2a70e0f3bAUTO Version bump to 9.0.112
Aleksandr LeskinAleksandr Leskin
c3560c56656tunnel: add error handling for fail connection #PSBM-153870Send error to source prl-disp-service if we can't set established connection to qemu-nbd server. Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-153870
Aleksandr LeskinAleksandr Leskin
cabe0e2da7atunnel: improve logs for dsp tunnel #PSBM-153871Added watcher for socket state in target side. We should see any problem with connection, some error cases can be ignored, so lets observe for socket state. Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com> Conflicts: Dispatcher/Dispatcher/Tasks/Task_BackupHelper.cppPSBM-153871
Aleksandr LeskinAleksandr Leskin
e2d8a7e0cdfAUTO Version bump to 9.0.111
Aleksandr LeskinAleksandr Leskin
ae91d68d5afbackup: introduce more logs for understanding rare race VM #PSBM-153401Sometimes race happens and backup fails with error PRL_ERR_OPERATION_WAS_CANCELED I suspect that clearing channel in the kill() method sometimes happens earlier than reactFinish() and in the moment when other thread is inside the read_() method. Let's check this theory by adding this logs. I think we should call read_() and use m_channel under the mutex lock. Signed-off-by: Aleksandr Leskin <a...PSBM-153401
Aleksandr LeskinAleksandr Leskin
42e2c5906f0Update targets.list for dist-vz9-u00Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>
Aleksandr LeskinAleksandr Leskin
4bf7f89e5fcAUTO Version bump to 9.0.110
Aleksandr LeskinAleksandr Leskin
4b42195113eVmConfig: keep OsType and OsVersion for VM #PSBM-153171This patch reverts old functionality wich was removed mistakenly Pavel Vokhmyanin: Translate osType and osVersion from and into libosinfo #PSBM-131215 commit: a3b4ffa93cc87a87f9042b128f6bb1811d41d3ae Dispatcher should keep OsType and OsVersion in pvs config and do not rely on libvirt domain xml, especially in cases of migration from VHS7 version. All other logic works properly and Transponst...2 Jira Issues
EfimEfim
c6c1e224aeaAUTO Version bump to 9.0.109
EfimEfim
7192b4dcc89Omit IOTUNE_GROUP_NAME flag in case zero IoTune limit setting #PSBM-151497Libvirt function qemuDomainSetGroupBlockIoTune in case of IoTune setting expects that if iolimit is set to zero, the blk group name will not be specified, thus libvirt interprets a null io value as a way to remove the blk disk group. Otherwise, libvirt throws an error because creating a blk group with zero parameters makes no sense. We omit specifying the flag VIR_DOMAIN_BLOCK_IOTUNE_GROUP_NAME...PSBM-151497
EfimEfim
5594838cd08AUTO Version bump to 9.0.108
EfimEfim
7d587b06303MMerge pull request #2311 in OVZ/prl-disp-service from ~EFIM SHEVRIN/prl-disp-service_0:rng_vhost_blk_pr to master* commit 'c5d4d57cd91b131022cca7250488d4209b538c70': add vhost-blk based disks PSBM-152241PSBM-152241
Aleksandr LeskinAleksandr Leskin
11690ec4f10AUTO Version bump to 9.0.107
Aleksandr LeskinAleksandr Leskin
52c7190609act: do not allow empty host mac address for CT #PSBM-152520We should use predefined mac address for CT on the Host machine to avoid reconfigure Bridge on the Host. Predefined mac address should be less than mac address of Bridge on the host. VZ9 use prefix of mac address 'FE3772' for this purposes. Empty host mac address means that libvzctl scripts should create it but without adjusting, this brings for us randomly generated mac addresses and effects p...PSBM-152520
EfimEfim
c5d4d57cd91add vhost-blk based disks PSBM-152241We add vhost-blk based disks in rng Schema and fix Direct and Reverse files respectively. Signed-off-by: Fima Shevrin <efim.shevrin@virtuozzo.com>PSBM-152241
Aleksandr LeskinAleksandr Leskin
ad616c1beadAUTO Version bump to 9.0.106
Aleksandr LeskinAleksandr Leskin
14d25a4f6c7libvirt: do not shutdown not running VM #PSBM-150691libvirt does not send error anymore about shutdowned VM: \"domain is not running\". So we should check before the current VM status and do not ask libvirt shutdown stopped VM. Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-150691
Aleksandr LeskinAleksandr Leskin
7835401a312libvirt agent: do not create QSharedPointer for nullptr #PSBM-150691Destructor of Abstract calls virDomainFree for NULL ptr, which provides error message. Signed-off-by: Aleksandr Leskin <aleksandr.leskin@virtuozzo.com>PSBM-150691
Aleksandr LeskinAleksandr Leskin
dde89a5ccf9AUTO Version bump to 9.0.105
Aleksandr LeskinAleksandr Leskin
274d804756aRevert: transponster: all appended CD devices should have boot order #PSBM-150310This reverts commit 353e3bc9af5b32ebbb3f16067dfcb2811fbd138e. Aleksandr Leskin committed 08 Sep 2023 We should not do it for all CD-ROM devices, we should do it only for new appended (like installtools and cloud-init etc). https://bugs.openvz.org/browse/OVZ-7480 https://virtuozzo.atlassian.net/browse/PSBM-151770 https://virtuozzo.atlassian.net/browse/PSBM-150310 Signed-off-by: Aleksandr Les...3 Jira Issues