this patch finish work started in commit
and commit #33ca8f3cc37f002b83fd3d030b99d091c4134591
_ replace 'object' string to constants.OBJECT
_ WAIT_FOR_AMPHORA constants has been defined
Change-Id: I563ccc9429909441e5c69fd5f01d4dabc1b94e28
Related-Bug: #1461679
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
This change removes also some incorrect usages of _LW in debug logs.
Change-Id: I6c62ceffbb99d2dee76160d398c6166132f6471c
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
This change removes also some incorrect usages of _ in info logs.
Change-Id: I0ae32da1570301acf90b65de620e437ce0f1dfdd
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
Change-Id: I586d1bcfda61b69a60174934a6001c05d78dca9e
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
This change corrects some incorrect indentations in logs
Change-Id: I4a3b7cead3abf5c4f801853b78a88c683bcbb5ae
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
Change-Id: I84ff1a2b55c026fb69f83d6a0741bbde0e65409e
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
Change-Id: Ibbbd4c9bf20ffc4387bca7f04e51a9e8759ac882
We should delegate (when possible) formatting to the logger in order to
perform formatting only when needed, by using:
LOG.<level>(message, data)
instead of:
LOG.<level>(message % data)
and
try:
...
except ...:
LOG.exception("lorem ipsum")
instead of:
try:
...
except ... as e:
LOG.error("lorem ipsum: %s:", e)
Change-Id: I8052ebd026c380499c19562bcb29b05cd8a7f5f0
Octavia code base should be more generic, because containers
can be used in a near future.
This patch corrects naming methods and fix some docstrings.
Change-Id: I5157ebaf8a044daf6b0cee5bada5591b7ef50bf1
NOTE(tonyb) Pillow isn't directly needed but it's pulled in via
Collecting Pillow (from blockdiag-> ...)
So cap as per global-requirements until https://launchpad.net/bugs/1501995
is properly fixed
Change-Id: I4b0716569dc8058ccb28cc569f381da5bc30d6a6
Fixes a typo in the setup.cfg
Sets the development status to Beta
Includes some lines in the README.rst to allow release-tools be
able to create release summary e-mails.
Adds some bling to our README.rst
Change-Id: I6564c8ab661523c60d341a01f3ff431d578621e8
this patch finish work started in commit #b3776a4110c6ac35358ca03ffee8b2defd85cea3
It replace static strings usage to constants during taskflow store definition.
Change-Id: I25a497deefe01a4ba5b93309e33f75d2ab630d80
Related-Bug: #1461679
a number of the flows use static strings for names in task flow
storage instead of using constants. This patch unified constants usage.
Closes-Bug: #1461679
Change-Id: I37edac69be64be39b4560b3b26460415144ac3bb
The noop drivers suffered from not being updated and just not being tested
with being called within flows like normal real op drivers. This gets the noop
drivers to succeed when called liked other drivers. They do not do anything
and will return fake information whenever it is required they return data.
This can be improved later so that they actually do their own data store, but
that would require a much larger update and I'm not sure there's much value
in it.
Change-Id: I2627ed35c0f576f8cfa258b542e5bdb4be03dac8
Closes-Bug: #1501190
Coverage now aborts the run when the configuration file has unknown
settings. This patch fixes a typo in the .coveragerc file that
would cause coverage jobs to fail.
A global requirements change will also be necessary to exclude
version 4.0 of coverage as it causes tests to fail that
do not fail outside of coverage or with earlier versions.
Tracked here: https://review.openstack.org/#/c/228581/
Global requirements changes come in as separate patches, so
I am not creating a dependency.
Change-Id: Ifbbf2096303770e393e666e3562c83d863e82f15
Always no quotes for $() statement.
We don't need quotes to hold blanks in result:
# i=$(echo 1 2 3)
# echo $i
1 2 3
#
These quotes can make something wrong in some case:
# i=$(echo '!')
#
# i="$(echo '!')"
-bash: !: event not found
#
No real problem for current code, only to use a better code style.
Change-Id: I84c23863e73684f0c22a90e447af69dec4789523
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
On hosts without nested virtualization enabled, network calls
can timeout. This triples the number of retries Octavia attempts
for networking calls.
Change-Id: I31ff9cbbdb073d0ee92971894fac86a2245c93f8
Adjusts some controller worker log entries up to info from debug
Adjusts some housekeeping manager log entries down from info to debug
Change-Id: I970bd7513175bd08b0733fda695336a5e5e09bd0
The devstack plugin.sh script will always build and load an
amphora image. This patch checks for an existing amphora
image and if one exists it will not build another.
Change-Id: Ifce40b0af9da715d44bab8ec437f844ccf638f52
In some cases, such as test environements, it is required
to run with an insecure keystone connection. Allow for a
configuration option to set the verify flag.
Change-Id: I4b0658322b5d737b116d5659551fb2fe4f9e68a1
"UpdateAmphoraComputeId" task actually return an object and perform
a SQL request not used by any taskflow.
"UpdateAmphoraComputeId" task usage in amphora_flows doesn't
provides anything. Hence SQL request and return value can be avoided.
Change-Id: I93eca3193435fd59fc2d73fc1d820ae51fde3e03
Since the roadmap is usually one of the first documents
that people curious about Octavia are likely to read, it makes
sense to move this to somewhere both more easily found by new
people, and more quickly updated by project leadership. As such,
this commit removes the ROADMAP.rst file from this repo, and
moves it to: https://wiki.openstack.org/wiki/Octavia/Roadmap
Change-Id: Ibce2191fbfb33c09af0f9ae0d839e1fabcf788b5
Updating a listener caused issues because SNI was not being appropriately
handles on a listener update. This has been "fixed" but another patch will be
needed to make sure that every listener update does not clear out the list. I
think it is best to leave that for another review though.
This also fixes the bug where security groups were not getting cleaned up when
a load balancer is deleted. Since neutron does not synchronously remove a
security group from a port, a retry mechanism had to be used and thus more
config options to tune the interval and max attempts.
Change-Id: I0434b8ced144ab08413b91569bd008295ef1784e
Closes-Bug: #1464953
This log is also display for health_manager and house_keeping service.
Api service already display "Starting API server on..." in INFO level.
Change-Id: I0a3ff91b556accdfadbad797488d17ae7a95d85b