Compare commits

..

2 Commits

Author SHA1 Message Date
2a99a27feb Bump version to 0.9.30 2021-07-20 00:01:45 -04:00
45f23c12ea Remove logs from schema validation
These are managed entirely by the logging subsystem not by the schema
handler due to catch-22's.
2021-07-20 00:00:37 -04:00
8 changed files with 20 additions and 6 deletions

View File

@ -1 +1 @@
0.9.29 0.9.30

View File

@ -42,6 +42,10 @@ To get started with PVC, please see the [About](https://parallelvirtualcluster.r
## Changelog ## Changelog
#### v0.9.30
* [Node Daemon] Fixes bug with schema validation
#### v0.9.29 #### v0.9.29
* [Node Daemon] Corrects numerous bugs with node logging framework * [Node Daemon] Corrects numerous bugs with node logging framework

View File

@ -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.29' version = '0.9.30'
# API version # API version
API_VERSION = 1.0 API_VERSION = 1.0

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup( setup(
name='pvc', name='pvc',
version='0.9.29', version='0.9.30',
packages=['pvc', 'pvc.cli_lib'], packages=['pvc', 'pvc.cli_lib'],
install_requires=[ install_requires=[
'Click', 'Click',

View File

@ -777,7 +777,7 @@ class ZKSchema(object):
logger.out(f'Key not found: {self.path(kpath)}', state='w') logger.out(f'Key not found: {self.path(kpath)}', state='w')
result = False result = False
for elem in ['logs', 'node', 'domain', 'network', 'osd', 'pool']: for elem in ['node', 'domain', 'network', 'osd', 'pool']:
# First read all the subelements of the key class # First read all the subelements of the key class
for child in zkhandler.zk_conn.get_children(self.path(f'base.{elem}')): for child in zkhandler.zk_conn.get_children(self.path(f'base.{elem}')):
# For each key in the schema for that particular elem # For each key in the schema for that particular elem
@ -856,7 +856,7 @@ class ZKSchema(object):
data = '' data = ''
zkhandler.zk_conn.create(self.path(kpath), data.encode(zkhandler.encoding)) zkhandler.zk_conn.create(self.path(kpath), data.encode(zkhandler.encoding))
for elem in ['logs', 'node', 'domain', 'network', 'osd', 'pool']: for elem in ['node', 'domain', 'network', 'osd', 'pool']:
# First read all the subelements of the key class # First read all the subelements of the key class
for child in zkhandler.zk_conn.get_children(self.path(f'base.{elem}')): for child in zkhandler.zk_conn.get_children(self.path(f'base.{elem}')):
# For each key in the schema for that particular elem # For each key in the schema for that particular elem

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pvc (0.9.30-0) unstable; urgency=high
* [Node Daemon] Fixes bug with schema validation
-- Joshua M. Boniface <joshua@boniface.me> Tue, 20 Jul 2021 00:01:45 -0400
pvc (0.9.29-0) unstable; urgency=high pvc (0.9.29-0) unstable; urgency=high
* [Node Daemon] Corrects numerous bugs with node logging framework * [Node Daemon] Corrects numerous bugs with node logging framework

View File

@ -42,6 +42,10 @@ To get started with PVC, please see the [About](https://parallelvirtualcluster.r
## Changelog ## Changelog
#### v0.9.30
* [Node Daemon] Fixes bug with schema validation
#### v0.9.29 #### v0.9.29
* [Node Daemon] Corrects numerous bugs with node logging framework * [Node Daemon] Corrects numerous bugs with node logging framework

View File

@ -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.29' version = '0.9.30'
############################################################################### ###############################################################################
# PVCD - node daemon startup program # PVCD - node daemon startup program