Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
7ecc6a2635 | |||
73e8149cb0 | |||
4a7246b8c0 | |||
c49351469b | |||
dc03e95bbf | |||
c460aa051a | |||
3ab6365a53 | |||
32613ff119 |
@ -42,6 +42,14 @@ To get started with PVC, please see the [About](https://parallelvirtualcluster.r
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
#### v0.9.31
|
||||||
|
|
||||||
|
* [Packages] Cleans up obsolete Suggests lines
|
||||||
|
* [Node Daemon] Adjusts log text of VM migrations to show the correct source node
|
||||||
|
* [API Daemon] Adjusts the OVA importer to support floppy RASD types for compatability
|
||||||
|
* [API Daemon] Ensures that volume resize commands without a suffix get B appended
|
||||||
|
* [API Daemon] Removes the explicit setting of image-features in PVC; defaulting to the limited set has been moved to the ceph.conf configuration on nodes via PVC Ansible
|
||||||
|
|
||||||
#### v0.9.30
|
#### v0.9.30
|
||||||
|
|
||||||
* [Node Daemon] Fixes bug with schema validation
|
* [Node Daemon] Fixes bug with schema validation
|
||||||
|
@ -25,7 +25,7 @@ import yaml
|
|||||||
from distutils.util import strtobool as dustrtobool
|
from distutils.util import strtobool as dustrtobool
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = '0.9.30'
|
version = '0.9.31'
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -414,6 +414,7 @@ class OVFParser(object):
|
|||||||
"5": "ide-controller",
|
"5": "ide-controller",
|
||||||
"6": "scsi-controller",
|
"6": "scsi-controller",
|
||||||
"10": "ethernet-adapter",
|
"10": "ethernet-adapter",
|
||||||
|
"14": "floppy",
|
||||||
"15": "cdrom",
|
"15": "cdrom",
|
||||||
"17": "disk",
|
"17": "disk",
|
||||||
"20": "other-storage-device",
|
"20": "other-storage-device",
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pvc',
|
name='pvc',
|
||||||
version='0.9.30',
|
version='0.9.31',
|
||||||
packages=['pvc', 'pvc.cli_lib'],
|
packages=['pvc', 'pvc.cli_lib'],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'Click',
|
'Click',
|
||||||
|
@ -491,7 +491,7 @@ def add_volume(zkhandler, pool, name, size):
|
|||||||
size = '{}B'.format(size)
|
size = '{}B'.format(size)
|
||||||
|
|
||||||
# 2. Create the volume
|
# 2. Create the volume
|
||||||
retcode, stdout, stderr = common.run_os_command('rbd create --size {} --image-feature layering,exclusive-lock {}/{}'.format(size, pool, name))
|
retcode, stdout, stderr = common.run_os_command('rbd create --size {} {}/{}'.format(size, pool, name))
|
||||||
if retcode:
|
if retcode:
|
||||||
return False, 'ERROR: Failed to create RBD volume "{}": {}'.format(name, stderr)
|
return False, 'ERROR: Failed to create RBD volume "{}": {}'.format(name, stderr)
|
||||||
|
|
||||||
@ -536,6 +536,10 @@ def resize_volume(zkhandler, pool, name, size):
|
|||||||
if not verifyVolume(zkhandler, pool, name):
|
if not verifyVolume(zkhandler, pool, name):
|
||||||
return False, 'ERROR: No volume with name "{}" is present in pool "{}".'.format(name, pool)
|
return False, 'ERROR: No volume with name "{}" is present in pool "{}".'.format(name, pool)
|
||||||
|
|
||||||
|
# Add 'B' if the volume is in bytes
|
||||||
|
if re.match(r'^[0-9]+$', size):
|
||||||
|
size = '{}B'.format(size)
|
||||||
|
|
||||||
# 1. Resize the volume
|
# 1. Resize the volume
|
||||||
retcode, stdout, stderr = common.run_os_command('rbd resize --size {} {}/{}'.format(size, pool, name))
|
retcode, stdout, stderr = common.run_os_command('rbd resize --size {} {}/{}'.format(size, pool, name))
|
||||||
if retcode:
|
if retcode:
|
||||||
|
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
|||||||
|
pvc (0.9.31-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [Packages] Cleans up obsolete Suggests lines
|
||||||
|
* [Node Daemon] Adjusts log text of VM migrations to show the correct source node
|
||||||
|
* [API Daemon] Adjusts the OVA importer to support floppy RASD types for compatability
|
||||||
|
* [API Daemon] Ensures that volume resize commands without a suffix get B appended
|
||||||
|
* [API Daemon] Removes the explicit setting of image-features in PVC; defaulting to the limited set has been moved to the ceph.conf configuration on nodes via PVC Ansible
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Fri, 30 Jul 2021 12:08:12 -0400
|
||||||
|
|
||||||
pvc (0.9.30-0) unstable; urgency=high
|
pvc (0.9.30-0) unstable; urgency=high
|
||||||
|
|
||||||
* [Node Daemon] Fixes bug with schema validation
|
* [Node Daemon] Fixes bug with schema validation
|
||||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -9,7 +9,6 @@ X-Python3-Version: >= 3.2
|
|||||||
Package: pvc-daemon-node
|
Package: pvc-daemon-node
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: systemd, pvc-daemon-common, python3-kazoo, python3-psutil, python3-apscheduler, python3-libvirt, python3-psycopg2, python3-dnspython, python3-yaml, python3-distutils, python3-rados, python3-gevent, ipmitool, libvirt-daemon-system, arping, vlan, bridge-utils, dnsmasq, nftables, pdns-server, pdns-backend-pgsql
|
Depends: systemd, pvc-daemon-common, python3-kazoo, python3-psutil, python3-apscheduler, python3-libvirt, python3-psycopg2, python3-dnspython, python3-yaml, python3-distutils, python3-rados, python3-gevent, ipmitool, libvirt-daemon-system, arping, vlan, bridge-utils, dnsmasq, nftables, pdns-server, pdns-backend-pgsql
|
||||||
Suggests: pvc-client-api, pvc-client-cli
|
|
||||||
Description: Parallel Virtual Cluster node daemon (Python 3)
|
Description: Parallel Virtual Cluster node daemon (Python 3)
|
||||||
A KVM/Zookeeper/Ceph-based VM and private cloud manager
|
A KVM/Zookeeper/Ceph-based VM and private cloud manager
|
||||||
.
|
.
|
||||||
|
@ -42,6 +42,14 @@ To get started with PVC, please see the [About](https://parallelvirtualcluster.r
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
#### v0.9.31
|
||||||
|
|
||||||
|
* [Packages] Cleans up obsolete Suggests lines
|
||||||
|
* [Node Daemon] Adjusts log text of VM migrations to show the correct source node
|
||||||
|
* [API Daemon] Adjusts the OVA importer to support floppy RASD types for compatability
|
||||||
|
* [API Daemon] Ensures that volume resize commands without a suffix get B appended
|
||||||
|
* [API Daemon] Removes the explicit setting of image-features in PVC; defaulting to the limited set has been moved to the ceph.conf configuration on nodes via PVC Ansible
|
||||||
|
|
||||||
#### v0.9.30
|
#### v0.9.30
|
||||||
|
|
||||||
* [Node Daemon] Fixes bug with schema validation
|
* [Node Daemon] Fixes bug with schema validation
|
||||||
|
@ -56,7 +56,7 @@ import pvcnoded.CephInstance as CephInstance
|
|||||||
import pvcnoded.MetadataAPIInstance as MetadataAPIInstance
|
import pvcnoded.MetadataAPIInstance as MetadataAPIInstance
|
||||||
|
|
||||||
# Version string for startup output
|
# Version string for startup output
|
||||||
version = '0.9.30'
|
version = '0.9.31'
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# PVCD - node daemon startup program
|
# PVCD - node daemon startup program
|
||||||
|
@ -635,7 +635,7 @@ class VMInstance(object):
|
|||||||
|
|
||||||
self.inreceive = True
|
self.inreceive = True
|
||||||
|
|
||||||
self.logger.out('Receiving VM migration from node "{}"'.format(self.node), state='i', prefix='Domain {}'.format(self.domuuid))
|
self.logger.out('Receiving VM migration from node "{}"'.format(self.last_currentnode), state='i', prefix='Domain {}'.format(self.domuuid))
|
||||||
|
|
||||||
# Short delay to ensure sender is in sync
|
# Short delay to ensure sender is in sync
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
Reference in New Issue
Block a user