devstack installation failed when enabling ceilometer/gnocchi at the same time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Lianhao Lu | ||
Gnocchi |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When have the following settings in devstack's local.conf,
enable_plugin ceilometer https:/
CEILOMETER_
enable_plugin aodh https:/
enable_plugin gnocchi https:/
running ./stack.sh would fail with the following output:
-12-12 06:17:07.392 | ++/opt/
2016-12-12 06:17:07.402 | ++/opt/
se --skip-
2016-12-12 06:17:09.359 | WARNING:
future.
2016-12-12 06:17:09.363 | 2016-12-12 14:17:09.363 25061 WARNING oslo_reports.
default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
2016-12-12 06:17:09.363 | 2016-12-12 14:17:09.363 25061 INFO ceilometer.
2016-12-12 06:17:09.364 | 2016-12-12 14:17:09.363 25061 INFO ceilometer.
2016-12-12 06:17:09.364 | 2016-12-12 14:17:09.364 25061 DEBUG ceilometer.
ometer/
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 CRITICAL ceilometer [-] ConnectFailure: Unable to establish connection to http://
v1/resource_
NewConnectionE
ction refused',))
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer Traceback (most recent call last):
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer sys.exit(upgrade())
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/opt/stack/
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer gnocchi_
2016-12-12 06:17:09.668 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/opt/stack/
esource_types
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer gnocchi.
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
line 44, in get
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer headers=
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
in _get
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer return self.client.
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
in get
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer return self.request(url, 'GET', **kwargs)
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
n request
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer **kwargs)
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
in request
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer return self.session.
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
n inner
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer return wrapped(*args, **kwargs)
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
in request
2016-12-12 06:17:09.669 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer resp = send(**kwargs)
2016-12-12 06:17:09.670 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer File "/usr/local/
in _send_request
2016-12-12 06:17:09.670 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer raise exceptions.
2016-12-12 06:17:09.670 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer ConnectFailure: Unable to establish connection to http://
urce_type/
nectionError(
efused',))
2016-12-12 06:17:09.670 | 2016-12-12 14:17:09.666 25061 ERROR ceilometer
2016-12-12 06:17:09.741 | +/opt/stack/
2016-12-12 06:17:09.751 | +./stack.
2016-12-12 06:17:09.763 | ++./stack.
2016-12-12 06:17:09.775 | +./stack.
2016-12-12 06:17:09.785 | +./stack.
2016-12-12 06:17:09.795 | +./stack.
2016-12-12 06:17:09.805 | +./stack.
2016-12-12 06:17:09.816 | +./stack.
2016-12-12 06:17:09.825 | +./stack.
2016-12-12 06:17:09.825 | Error on exit
Changed in gnocchi: | |
status: | Incomplete → Invalid |
Here is my local.conf
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root DevStack directory for it to work properly.
# ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.
# This is a collection of some of the settings we have found to be useful devstack. org/local. conf.html
# in our DevStack development environments. Additional settings are described
# in http://
# These should be considered as samples and are unsupported DevStack code.
# The ``localrc`` section replaces the old ``localrc`` configuration file.
# Note that if ``localrc`` is present it will be used in favor of this section.
[[local|localrc]]
# Minimal Contents
# ----------------
# While ``stack.sh`` is happy to run without ``localrc``, devlife is better when
# there are a few minimal variables set:
# If the ``*_PASSWORD`` variables are not set here you will be prompted to enter Abc12345 PASSWORD= Abc12345 PASSWORD= Abc12345 PASSWORD= $ADMIN_ PASSWORD
# values for them by ``stack.sh``and they will be added to ``local.conf``.
ADMIN_PASSWORD=
DATABASE_
RABBIT_
SERVICE_
#GIT_BASE=http:// git.trystack. cn 2001:db8: :7
# ``HOST_IP`` and ``HOST_IPV6`` should be set manually for best results if
# the NIC configuration of the host is unusual, i.e. ``eth1`` has the default
# route but ``eth0`` is the public interface. They are auto-detected in
# ``stack.sh`` but often is indeterminate on later runs due to the IP moving
# from an Ethernet interface to a bridge on the host. Setting it here also
# makes it available for ``openrc`` to include when setting ``OS_AUTH_URL``.
# Neither is set by default.
#HOST_IP=w.x.y.z
#HOST_IPV6=
MULTI_HOST=True
# Logging
# -------
# By default ``stack.sh`` output only goes to the terminal where it runs. It can $DEST/logs/ stack.sh. log
# be configured to additionally log to a file by setting ``LOGFILE`` to the full
# path of the destination log file. A timestamp will be appended to the given name.
LOGFILE=
# Old log files are automatically removed after 7 days to keep things neat. Change
# the number of days by setting ``LOGDAYS``.
LOGDAYS=2
# Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting
# ``LOG_COLOR`` false.
LOG_COLOR=False
# http:// docs.openstack. org/developer/ devstack/ configuration. html#logging- the-service- output
LOGDIR=$DEST/logs
# Using milestone-proposed branches ------- ------- ------- ----- /github. com
# -------
GIT_BASE=https:/
NOVA_REPO= $GIT_BASE/ openstack/ nova.git stable/ newton
NOVA_BRANCH=
CIDER_REPO= $GIT_BASE/ openstack/ cinder. git BRANCH= stable/ newton
CINDER_
NEUTRON_ REPO=$GIT_ BASE/openstack/ neutron. git BRANCH= stable/ newton
NEUTRON_
HEAT_REPO= $GIT_BASE/ openstack/ heat.git stable/ newton
HEAT_BRANCH=
HORIZON_ REPO=$GIT_ BASE/openstack/ horizon. git BRANCH= stable/ newton
HORIZON_
KEYSTONE_ REPO=$GIT_ BASE/openstack/ keystone. git BRANCH= stable/ newton
KEYSTONE_
GLANCE_ REPO=$GIT_ BASE/openstack/ g...