Remove translation of log messages. Log messages will no longer be
translated.
Closes-Bug: #1674374
Change-Id: I66791c08e335c5c5dd7b65a8df6e2132192630a2
Use the flake8 plugin flake8-import-order to check import ordering. It
can do it automatically and don't need reviewers to check it.
Change-Id: Ib3fde54d8baa2c6e3567ff3f1a902de4b25f9f70
When an exception was caught and rethrown, it should call 'raise'
without any arguments because it shows the place where an exception
occured initially instead of place where the exception re-raised.
Change-Id: I112eeea489470bca34b588bd862500d615c84e67
This patch adds metrics to ironic-lib, so that it can be used by both
Ironic and IPA. It implements a generic MetricLogger including timers,
counters, and gauges with their respective decorators and context
managers. Two default MetricLogger are included: NoopMetricLogger and
StatsdMetricLogger.
Change-Id: I8a62414e6c03acb6f3457f1b8f81c03a9d3a8576
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
Co-Authored-By: Jim Rollenhagen <jim@jimrollenhagen.com>
Co-Authored-By: Alex Weeks <alex.weeks@gmail.com>
Partial-Bug: #1526219
This brings in i18n.py from ironic (as a helper) and switches all i18n
references to use that module.
The _i18n module from oslo-incubator is left, as syncing imageutils
brings it in.
Change-Id: I012ceb7031695407febbb3bbd24622773a2d9d0f
There were changes to the disk partitioner code in ironic project to support
local boot, local boot with uefi, uefi support in agent driver, deploy whole
disk, etc. These changes should be merged in ironic-lib before we replace all
disk partitioner code in ironic with ironic-lib.
The ironic changes were part of the following commit SHA.
file: ironic/common/disk_partitioner.py
0f4eba18544469d826b4d2d4b420d83c646af463
8c07c4fda3e6a86a40aa00759652b99acbd73331
4e0a78633996d27e21d899661a6414bbea77a0d7
b7e8a8eb51dcd00ce06c9151ad7c8bca8391210e
file: ironic/drivers/modules/deploy_utils.py
e8eeba4c0d063eac3c283b4af92608c7a6d73e7d
cb2e58207203b210d91dacca3c40d91ed1c45a24
987302450af73940794e53233129e90cd4b950f7
da9ed8d0eb1c5d467b41f61185501c26ea2e4ce5
222c84fff52be8383b26495c37df28cc5a0f98b9
dedb425770a6f91a54e990159843ac201dc2f1a5
Change-Id: I6afdaf6a173c1caa9daccb62cb15b630391f161b
Partially-implements: blueprint partition-image-support-for-agent-driver