Commit Graph

16 Commits

Author SHA1 Message Date
Zuul 741f0bb018 Merge "fix the spelling mistakes" 2019-12-19 12:56:31 +00:00
Ryan Beisner 07865bd62c
Sync charm/ceph helpers, tox, and requirements
Also clean up pre-existing pep8 violations in the
files/* dir which was previously not covered by lint testing.

Change-Id: I443a084681d5788c89cdadf2ff999030f4b4d735
2019-10-01 09:11:03 -05:00
jiasirui 61cb739a16 fix the spelling mistakes
Change-Id: I0028a77e272a64ee63d2970061514da0eeb988ee
2019-09-10 17:14:29 +08:00
gecong1973 52994e3782 Replace LOG.warn with LOG.warning
logging.warn is deprecated in Python 3.[1]
[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I9812372ca32497e7806a4b365aef2670ef7ad9af
2016-11-16 15:57:49 +08:00
James Page 68ea83e60d Avoid restart races for nova-api-metadata
It's possible that the nova-api-metadata will startup during the
time that the nova-conductor processes on the nova-cloud-controller
units are still starting up, resulting in a messaging timeout which
causes the daemon to exit 0.

Upstart will restart a service in this scenario, however systemd is
configured in packaging to only restart 'on-failure' so will not
attempt to restart.

This points to two other bugs - one that a messaging timeout results
in a exit code of 0, and that the OpenStack services under systemd
behave differently to under upstart.

Install an override file for systemd based installs to mimic the
behaviour of upstart, and deal with a code logic problem in the
restart_trigger handling to ensure that the charm does at least
try to restart the nova-api-metadata service at the right points
in time.

Change-Id: Ia08b7840efa33fd301d0e2c55bb30ae1a102cbfa
Closes-Bug: 1547122
2016-07-12 13:02:39 +01:00
Hui Xiang 8a99ce6596 Rebuild ovs tunnel only if local agent is alive, other minor change. 2015-01-19 18:43:09 +08:00
Hui Xiang ecab2c6aab Fix error in check_local_agents 2015-01-19 14:54:42 +08:00
Edward Hope-Morley 7ddfbecc44 restored files/ dir 2015-01-15 10:00:38 +00:00
James Page be10baf149 Refactored into quantum gateway 2012-12-03 15:16:55 +00:00
James Page b1ae38f916 Install network helper to /usr/bin 2012-11-16 16:02:17 +00:00
James Page 65d843f3bf Final tidy of tenant net admin script 2012-11-16 13:15:36 +00:00
James Page 0b26d07170 Better port detection when wiring to provider-router 2012-11-16 13:14:18 +00:00
James Page 28434ab35f Add support for updateing dns_servers - fix 2012-11-16 12:30:25 +00:00
James Page 6b6351333a Add support for updateing dns_servers 2012-11-16 12:24:16 +00:00
James Page b738ed9016 Fixes for create_tenant_network 2012-11-16 10:43:23 +00:00
James Page 95739786ba Added helper for creating tenant networks 2012-11-16 10:32:22 +00:00