Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws-ec2-manager-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ inputs:
Set this to true if you want Telecom Edition
type: boolean
default: false

dsl_definitions:
aws_configuration: &aws_configuration
aws_access_key_id: { get_input: aws_access_key_id }
Expand Down
2 changes: 1 addition & 1 deletion components/elasticsearch/scripts/rotate_es_indices
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

curator --host localhost delete indices --timestring '%Y.%m.%d' --older-than {{ ctx.node.properties.es_index_rotation_interval }} --time-unit days
/opt/es-curator/embedded/bin/curator --host localhost delete indices --timestring '%Y.%m.%d' --older-than {{ ctx.node.properties.es_index_rotation_interval }} --time-unit days
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t elasticsearch-curator "ALERT exited abnormally with [$EXITVALUE]"
Expand Down
23 changes: 0 additions & 23 deletions components/restservice/scripts/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,28 +112,6 @@ def deploy_broker_configuration():
'(broker_ssl_enabled is False).')


def _configure_dbus(rest_venv):
# link dbus-python-1.1.1-9.el7.x86_64 to the venv for `cfy status`
# (module in pypi is very old)
site_packages = 'lib64/python2.7/site-packages'
dbus_relative_path = os.path.join(site_packages, 'dbus')
dbuslib = os.path.join('/usr', dbus_relative_path)
dbus_glib_bindings = os.path.join('/usr', site_packages,
'_dbus_glib_bindings.so')
dbus_bindings = os.path.join('/usr', site_packages, '_dbus_bindings.so')
if os.path.isdir(dbuslib):
dbus_venv_path = os.path.join(rest_venv, dbus_relative_path)
if not os.path.islink(dbus_venv_path):
utils.ln(source=dbuslib, target=dbus_venv_path, params='-sf')
utils.ln(source=dbus_bindings, target=dbus_venv_path, params='-sf')
if not os.path.islink(os.path.join(rest_venv, site_packages)):
utils.ln(source=dbus_glib_bindings, target=os.path.join(
rest_venv, site_packages), params='-sf')
else:
ctx.logger.warn(
'Could not find dbus install, cfy status will not work')


def install_restservice():

rest_service_rpm_source_url = \
Expand Down Expand Up @@ -161,7 +139,6 @@ def install_restservice():
deploy_broker_configuration()
utils.yum_install(rest_service_rpm_source_url,
service_name=REST_SERVICE_NAME)
_configure_dbus(rest_venv)
install_optional(rest_venv)
utils.logrotate(REST_SERVICE_NAME)

Expand Down
2 changes: 1 addition & 1 deletion openstack-manager-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ inputs:
Set this to true if you want Telecom Edition
type: boolean
default: false

dsl_definitions:
openstack_configuration: &openstack_configuration
username: { get_input: keystone_username }
Expand Down