Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
odubrovyk committed Aug 5, 2024
2 parents c541e26 + e99140d commit 321de1a
Show file tree
Hide file tree
Showing 23 changed files with 282 additions and 1,865 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ egg:
build:
# Now build all the build dependencies for this zenpack.
rm -rf $(TXSSHCLIENT_DIR)/build
cd $(TXSSHCLIENT_DIR); python setup.py build
cd $(TXSSHCLIENT_DIR); python setup.py build --build-lib build/lib
mkdir -p $(ZP_DIR)/lib/sshclient
cp -r $(TXSSHCLIENT_DIR)/build/lib/sshclient/* $(ZP_DIR)/lib/sshclient/

Expand Down
12 changes: 1 addition & 11 deletions ZenPacks/zenoss/OpenStackInfrastructure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from OFS.CopySupport import CopyError

schema = CFG.zenpack_module.schema
from service_migration import install_migrate_zenpython, remove_migrate_zenpython, fix_service_healthcheck_path, force_update_configs
from service_migration import remove_migrate_zenpython, force_update_configs

NOVAHOST_PLUGINS = ['zenoss.cmd.linux.openstack.nova',
'zenoss.cmd.linux.openstack.libvirt',
Expand All @@ -54,18 +54,12 @@ def install(self, app):
self._migrate_productversions()
self._update_plugins('/Server/SSH/Linux/NovaHost')
super(ZenPack, self).install(app)
install_migrate_zenpython()
if VERSION5:
# by default, services are only installed during initial zenpack
# installs, not upgrades. We run it every time instead, but make
# it only process service definitions that are missing, by
# overriding getServiceDefinitionFiles to be intelligent.
self.installServices()

# Fix zenpack-provided healthcheck file paths (since the zenpack's)
# directory may change during install/upgrade
fix_service_healthcheck_path()

# We ship a shell script as a "config" file- make sure that
# the config is updated if the script has changed.
force_update_configs(self, "proxy-zenopenstack", ["opt/zenoss/bin/proxy-zenopenstack"])
Expand All @@ -83,8 +77,6 @@ def getServiceDefinitionFiles(self):

svcs = set([s.name for s in ctx.services])
files = []
if "RabbitMQ-Ceilometer" not in svcs:
files.append(self.path('service_definition', "RabbitMQ-Ceilometer.json"))
if "zenopenstack" not in svcs:
files.append(self.path('service_definition', "zenopenstack.json"))
if "proxy-zenopenstack" not in svcs:
Expand Down Expand Up @@ -130,8 +122,6 @@ def remove(self, app, leaveObjects=False):
finally:
ZenPack.UNINSTALLING = False

remove_migrate_zenpython()


# Patch last to avoid import recursion problems.
from ZenPacks.zenoss.OpenStackInfrastructure import patches
Expand Down
332 changes: 0 additions & 332 deletions ZenPacks/zenoss/OpenStackInfrastructure/apiclients/txrabbitadminapi.py

This file was deleted.

6 changes: 0 additions & 6 deletions ZenPacks/zenoss/OpenStackInfrastructure/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
factory=".datasources.PerfAMQPDataSource.PerfAMQPDataSourceInfo"
/>

<adapter
provides=".datasources.EventsAMQPDataSource.IEventsAMQPDataSourceInfo"
for=".datasources.EventsAMQPDataSource.EventsAMQPDataSource"
factory=".datasources.EventsAMQPDataSource.EventsAMQPDataSourceInfo"
/>

<adapter
provides=".datasources.ApiEndpointStatusDataSource.IApiEndpointStatusDataSourceInfo"
for=".datasources.ApiEndpointStatusDataSource.ApiEndpointStatusDataSource"
Expand Down
189 changes: 0 additions & 189 deletions ZenPacks/zenoss/OpenStackInfrastructure/datasources/AMQPDataSource.py

This file was deleted.

Loading

0 comments on commit 321de1a

Please sign in to comment.