Browse Source

Eliminate unnecessary imported modules

In the config project,"/sysinv/sysinv/sysinv/sysinv/helm/" directory
has many files imported into the "log" but not used.
At the same time,I built a system of simplex with the latest ISO
of the community. When the system was built,the code was changed.
The system worked well and the other functional modules were not
affected.So I agree we should delete them.

Change-Id: I7816e54e5a70fe2b2d2b65e7d3a6479378c224d1
Partial-Bug: #1844095
Signed-off-by: Hang Li <lihang0166@fiberhome.com>
tags/v3.0.0.rc0
Hang Li 4 months ago
parent
commit
67c819eb62
31 changed files with 0 additions and 93 deletions
  1. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/aodh.py
  2. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/ceilometer.py
  3. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/ceph_pools_audit.py
  4. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/cinder.py
  5. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/elasticsearch.py
  6. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/filebeat.py
  7. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/garbd.py
  8. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/glance.py
  9. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/gnocchi.py
  10. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/heat.py
  11. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/helm_toolkit.py
  12. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/horizon.py
  13. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/ingress.py
  14. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/keystone.py
  15. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/keystone_api_proxy.py
  16. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/kibana.py
  17. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/kube_state_metrics.py
  18. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/libvirt.py
  19. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/manifest_generic.py
  20. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/manifest_platform.py
  21. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/mariadb.py
  22. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/memcached.py
  23. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/metricbeat.py
  24. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/nginx_ingress.py
  25. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/nginx_ports_control.py
  26. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/nova_api_proxy.py
  27. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/openvswitch.py
  28. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/panko.py
  29. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/rabbitmq.py
  30. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/rbd_provisioner.py
  31. +0
    -3
      sysinv/sysinv/sysinv/sysinv/helm/swift.py

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/aodh.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class AodhHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the aodh chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/ceilometer.py View File

@@ -7,12 +7,9 @@
from sysinv.common import constants
from sysinv.common import exception
from sysinv.common import utils
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class CeilometerHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the ceilometer chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/ceph_pools_audit.py View File

@@ -6,13 +6,10 @@

from sysinv.common import constants
from sysinv.common import exception
from sysinv.openstack.common import log as logging

from sysinv.helm import base
from sysinv.helm import common

LOG = logging.getLogger(__name__)


class CephPoolsAuditHelm(base.BaseHelm):
"""Class to encapsulate helm operations for the ceph-pools-audit chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/cinder.py View File

@@ -8,12 +8,9 @@ from sysinv.common import constants
from sysinv.common import exception
from sysinv.common.storage_backend_conf import StorageBackendConfig

from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class CinderHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the cinder chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/elasticsearch.py View File

@@ -4,14 +4,11 @@
# SPDX-License-Identifier: Apache-2.0
#

from oslo_log import log as logging
from sysinv.common import exception
from sysinv.common import utils
from sysinv.helm import common
from sysinv.helm import elastic

LOG = logging.getLogger(__name__)


class ElasticsearchHelm(elastic.ElasticBaseHelm):
"""Class to encapsulate helm operations for elasticsearch"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/filebeat.py View File

@@ -4,13 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

from oslo_log import log as logging
from sysinv.common import exception
from sysinv.helm import common
from sysinv.helm import elastic

LOG = logging.getLogger(__name__)


class FilebeatHelm(elastic.ElasticBaseHelm):
"""Class to encapsulate helm operations for filebeat"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/garbd.py View File

@@ -7,12 +7,9 @@
from sysinv.common import constants
from sysinv.common import exception
from sysinv.common import utils
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import base

LOG = logging.getLogger(__name__)


class GarbdHelm(base.BaseHelm):
"""Class to encapsulate helm operations for the galera arbitrator chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/glance.py View File

@@ -8,12 +8,9 @@ from sysinv.common import constants
from sysinv.common import exception
from sysinv.common.storage_backend_conf import StorageBackendConfig

from sysinv.openstack.common import log as logging

from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)

# Info used in the Glance Helm chart.
RBD_STORE_USER = 'images'

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/gnocchi.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class GnocchiHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the gnocchi chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/heat.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class HeatHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the heat chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/helm_toolkit.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import base

LOG = logging.getLogger(__name__)


class HelmToolkitHelm(base.BaseHelm):
"""Class to encapsulate helm operations for the helm toolkit"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/horizon.py View File

@@ -6,12 +6,9 @@

from sysinv.common import constants
from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class HorizonHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the horizon chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/ingress.py View File

@@ -6,12 +6,9 @@

from sysinv.common import constants
from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import base

LOG = logging.getLogger(__name__)


class IngressHelm(base.BaseHelm):
"""Class to encapsulate helm operations for the ingress chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/keystone.py View File

@@ -9,12 +9,9 @@ import os

from sysinv.common import constants
from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


OPENSTACK_PASSWORD_RULES_FILE = '/etc/keystone/password-rules.conf'


+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/keystone_api_proxy.py View File

@@ -6,12 +6,9 @@

from sysinv.common import constants
from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class KeystoneApiProxyHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the keystone api proxy chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/kibana.py View File

@@ -4,13 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

from oslo_log import log as logging
from sysinv.common import exception
from sysinv.helm import common
from sysinv.helm import elastic

LOG = logging.getLogger(__name__)


class KibanaHelm(elastic.ElasticBaseHelm):
"""Class to encapsulate helm operations for kibana"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/kube_state_metrics.py View File

@@ -4,13 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

from oslo_log import log as logging
from sysinv.common import exception
from sysinv.helm import common
from sysinv.helm import elastic

LOG = logging.getLogger(__name__)


class KubeStateMetricsHelm(elastic.ElasticBaseHelm):
"""Class to encapsulate helm operations for kube-state-metrics"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/libvirt.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class LibvirtHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the libvirt chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/manifest_generic.py View File

@@ -10,9 +10,6 @@
""" System inventory Armada manifest operator."""

from sysinv.helm import manifest_base as base
from sysinv.openstack.common import log as logging

LOG = logging.getLogger(__name__)


class GenericArmadaManifestOperator(base.ArmadaManifestOperator):

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/manifest_platform.py View File

@@ -13,9 +13,6 @@ from sysinv.common import constants
from sysinv.helm import manifest_base as base
from sysinv.helm.ceph_pools_audit import CephPoolsAuditHelm
from sysinv.helm.rbd_provisioner import RbdProvisionerHelm
from sysinv.openstack.common import log as logging

LOG = logging.getLogger(__name__)


class PlatformArmadaManifestOperator(base.ArmadaManifestOperator):

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/mariadb.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class MariadbHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the mariadb chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/memcached.py View File

@@ -6,12 +6,9 @@

from sysinv.common import constants
from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import base

LOG = logging.getLogger(__name__)


class MemcachedHelm(base.BaseHelm):
"""Class to encapsulate helm operations for the memcached chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/metricbeat.py View File

@@ -4,13 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

from oslo_log import log as logging
from sysinv.common import exception
from sysinv.helm import common
from sysinv.helm import elastic

LOG = logging.getLogger(__name__)


class MetricbeatHelm(elastic.ElasticBaseHelm):
"""Class to encapsulate helm operations for metricbeat"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/nginx_ingress.py View File

@@ -4,13 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

from oslo_log import log as logging
from sysinv.common import exception
from sysinv.helm import common
from sysinv.helm import elastic

LOG = logging.getLogger(__name__)


class NginxIngressHelm(elastic.ElasticBaseHelm):
"""Class to encapsulate helm operations for nginx-ingress"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/nginx_ports_control.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import base

LOG = logging.getLogger(__name__)


class NginxPortsControlHelm(base.BaseHelm):
"""Class to encapsulate helm operations for nginx-ports-control chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/nova_api_proxy.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class NovaApiProxyHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the nova chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/openvswitch.py View File

@@ -7,12 +7,9 @@
from sysinv.common import constants
from sysinv.common import exception
from sysinv.common import utils
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class OpenvswitchHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the openvswitch chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/panko.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class PankoHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the panko chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/rabbitmq.py View File

@@ -5,12 +5,9 @@
#

from sysinv.common import exception
from sysinv.openstack.common import log as logging
from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)


class RabbitmqHelm(openstack.OpenstackBaseHelm):
"""Class to encapsulate helm operations for the rabbitmq chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/rbd_provisioner.py View File

@@ -7,13 +7,10 @@
from sysinv.common import constants
from sysinv.common import exception
from sysinv.common.storage_backend_conf import K8RbdProvisioner
from sysinv.openstack.common import log as logging

from sysinv.helm import base
from sysinv.helm import common

LOG = logging.getLogger(__name__)


class RbdProvisionerHelm(base.BaseHelm):
"""Class to encapsulate helm operations for the rbd-provisioner chart"""

+ 0
- 3
sysinv/sysinv/sysinv/sysinv/helm/swift.py View File

@@ -6,12 +6,9 @@

from sysinv.common import exception

from sysinv.openstack.common import log as logging

from sysinv.helm import common
from sysinv.helm import openstack

LOG = logging.getLogger(__name__)

# These are set in hiera data and applied via puppet to the radosgw
RADOSGW_SERVICE_DOMAIN_NAME = 'service'

Loading…
Cancel
Save