Merge pull request #1 from openstack-charmers/general-fixes
General fixes for aso update
This commit is contained in:
commit
5b5b35e30f
@ -1,5 +1,3 @@
|
||||
# Learn more about charmcraft.yaml configuration at:
|
||||
# https://juju.is/docs/sdk/charmcraft-config
|
||||
type: "charm"
|
||||
bases:
|
||||
- build-on:
|
||||
|
@ -35,7 +35,6 @@ to get the relevant information from the relation data.
|
||||
import json
|
||||
import uuid
|
||||
import logging
|
||||
from ops.relation import ConsumerBase
|
||||
|
||||
from ops.framework import (
|
||||
StoredState,
|
||||
@ -53,7 +52,7 @@ LIBAPI = 0
|
||||
|
||||
# Increment this PATCH version before using `charmcraft publish-lib` or reset
|
||||
# to 0 if you are raising the major API version
|
||||
LIBPATCH = 1
|
||||
LIBPATCH = 2
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
# ops >= 1.2.0
|
||||
ops
|
||||
jinja2
|
||||
git+https://github.com/canonical/operator@2875e73e#egg=ops
|
||||
git+https://opendev.org/openstack/charm-ops-openstack#egg=ops_openstack
|
||||
git+https://github.com/openstack-charmers/advanced-sunbeam-openstack#egg=advanced_sunbeam_openstack
|
||||
lightkube
|
||||
|
@ -10,11 +10,9 @@ from typing import List
|
||||
from ops.framework import StoredState
|
||||
from ops.main import main
|
||||
|
||||
import advanced_sunbeam_openstack.cprocess as sunbeam_cprocess
|
||||
import advanced_sunbeam_openstack.charm as sunbeam_charm
|
||||
import advanced_sunbeam_openstack.core as sunbeam_core
|
||||
import advanced_sunbeam_openstack.container_handlers as sunbeam_chandlers
|
||||
import advanced_sunbeam_openstack.relation_handlers as sunbeam_rhandlers
|
||||
import advanced_sunbeam_openstack.config_contexts as sunbeam_ctxts
|
||||
|
||||
from charms.observability_libs.v0.kubernetes_service_patch \
|
||||
@ -155,6 +153,7 @@ class OVNContext(sunbeam_ctxts.ConfigContext):
|
||||
'ovn_cert': '/etc/neutron/plugins/ml2/cert_host',
|
||||
'ovn_ca_cert': '/etc/neutron/plugins/ml2/neutron-ovn.crt'}
|
||||
|
||||
|
||||
class NeutronServerOVNPebbleHandler(sunbeam_chandlers.ServicePebbleHandler):
|
||||
|
||||
def default_container_configs(self):
|
||||
@ -186,7 +185,6 @@ class NeutronServerOVNPebbleHandler(sunbeam_chandlers.ServicePebbleHandler):
|
||||
'root')]
|
||||
|
||||
|
||||
|
||||
class NeutronOVNOperatorCharm(NeutronOperatorCharm):
|
||||
|
||||
@property
|
||||
@ -212,7 +210,6 @@ class NeutronOVNOperatorCharm(NeutronOperatorCharm):
|
||||
]
|
||||
|
||||
|
||||
|
||||
class NeutronOVNWallabyOperatorCharm(NeutronOVNOperatorCharm):
|
||||
|
||||
openstack_release = 'wallaby'
|
||||
|
Loading…
x
Reference in New Issue
Block a user