Commit Graph

2824 Commits

Author SHA1 Message Date
OpenDev Sysadmins d5cac0a3ef OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:33:56 +00:00
Ondřej Nový 065823ba60 Bumped debhelper compat version to 10
Change-Id: I3012cfc249d34e08d56c7e10ccaf005e50d49077
2016-11-24 00:06:53 +01:00
Thomas Goirand 21e8c0351a Uploading to unstable.
Change-Id: I137049668ee2bdf2f71e95f40065aff0b98283ae
2016-10-04 13:25:48 +02:00
Thomas Goirand 1ff307e28c Fixed oslotest EPOCH.
Change-Id: If43d830d7c620aba36e6a8891847d1dafb032900
2016-09-28 11:00:55 +02:00
Ondřej Nový 51b6cbd3cb Mass changes
d/s/options: extend-diff-ignore of .gitreview
d/control: Use correct branch in Vcs-* fields

Change-Id: I530952fdc3dd32aa08a3a8e2e440bc66ea06aa44
2016-09-26 19:10:32 +02:00
Thomas Goirand efd621939b Add a .gitreview file
* Using OpenStack's Gerrit as VCS URLs.

Change-Id: Ie164acc68f7d0519ea202a8ab644f55a7454c520
2016-09-23 00:31:12 +02:00
Corey Bryant 02c4984742 New upstream release. 2016-08-31 14:37:36 -04:00
Corey Bryant 92374e78cd ironic-lib 2.1.0 release
meta:version: 2.1.0
 meta:diff-start: -
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-dev@lists.openstack.org
 meta:pypi: yes
 meta:first: no
 meta:release:Author: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Commit: Davanum Srinivas <davanum@gmail.com>
 meta:release:Change-Id: I98dde8aef82f8f3434458ae3ca80f654646c59c7
 -----BEGIN PGP SIGNATURE-----
 
 iEYEABECAAYFAle+84EACgkQgNg6eWEDv1kamACdFxNn0x50NcVZ7y6utjBlmqo/
 GcYAni4F0XJlxZY+wchgx6LsbuecoCzP
 =bUyr
 -----END PGP SIGNATURE-----

Merge tag '2.1.0' into debian/newton

ironic-lib 2.1.0 release

meta:version: 2.1.0
meta:diff-start: -
meta:series: newton
meta:release-type: release
meta:announce: openstack-dev@lists.openstack.org
meta:pypi: yes
meta:first: no
meta:release:Author: Jim Rollenhagen <jim@jimrollenhagen.com>
meta:release:Commit: Davanum Srinivas <davanum@gmail.com>
meta:release:Change-Id: I98dde8aef82f8f3434458ae3ca80f654646c59c7
2016-08-31 14:36:24 -04:00
Jenkins 52b2d2fa51 Merge "Correct reraising of exception" 2016-08-24 15:37:28 +00:00
Jenkins 52a3cf32d1 Merge "Add developer documentation on metrics" 2016-08-24 12:15:11 +00:00
yuyafei bb90b10b8b Correct reraising of exception
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
2016-08-24 12:37:59 +01:00
Jay Faulkner 7aff4e1689 Add developer documentation on metrics
Adds developer documentation to ironic-lib index page about how to emit
metrics and what each metric type is useful for.

Change-Id: I3e835717aa141f0e0fa0f026b910b9a9ed60665e
Partial-bug: #1611559
2016-08-19 08:49:33 -07:00
Jenkins 5ca6f2c9a2 Merge "Use constraints for all the things" 2016-08-19 14:16:59 +00:00
Jim Rollenhagen 65fbc0d664 Use constraints for all the things
This configures tox to use upper-constraints for everything.

Change-Id: I77f8d86e8791c3853534c95f52c88594c428ba8d
2016-08-19 08:14:55 -04:00
Jenkins c724cbf368 Merge "Enforce doc8, make it pass, + fix inaccuracies" 2016-08-18 21:44:14 +00:00
Jenkins 6870101ba7 Merge "Add framework for doc building in ironic-lib" 2016-08-18 21:23:07 +00:00
Jay Faulkner 84f8c3095a Enforce doc8, make it pass, + fix inaccuracies
This patch fixes all sphinx warnings generated by malformed docstrings.

Additionally, it contains formatting and accuracy fixes for the metrics
docstrings, to ensure blockquotes are properly rendered, and to indicate
the get_metrics_logger() method is actually in metrics_utils.

Finally, this adds doc8 to the pep8 job, ensuring we don't reintroduce
some of these errors. As a note, there are items that can cause warnings
in doc builds that aren't enforced by doc8, and can't be enforced until
a doc build job is added to project-config.

Change-Id: I622812bfe8af576ab215c098dd211c6faf697a0c
Partial-bug: #1614272
Partial-bug: #1611559
2016-08-18 16:47:22 +00:00
Jay Faulkner 4f58317ce0 Add framework for doc building in ironic-lib
This adds a doc build for ironic-lib. Currently the only documentation
is that generated from docstrings.

Change-Id: I6ee00ad863bc7ce72958db4e8d5b6871a5b96eb0
Partial-bug: #1614272
2016-08-18 09:14:52 -07:00
OpenStack Proposal Bot f4da9e9a11 Updated from global requirements
Change-Id: I51dfa6c163439a77c1caae88335af68b948ea008
2016-08-04 02:35:41 +00:00
OpenStack Proposal Bot 64451bc38b Updated from global requirements
Change-Id: Ia137a2710d01e9597e8ccd7ec76e3dda75425313
2016-07-29 02:28:57 +00:00
Shivanand Tendulker 7e926fd3fb Support configdrive in iscsi deploy for whole disk images
This will work for UEFI only or BIOS only images. It will not
work for hybrid images; which are capable of boot from BIOS
and UEFI boot mode.

Partial-Bug: #1493328
Change-Id: I4c517f63d620b5a9de31ecb2d7c209776d5ded48
2016-07-28 04:44:56 -07:00
Lucas Alvares Gomes 7aac631fbc Add parse_root_device_hints to utils.py
This patch is adding a function called parse_root_device_hints to the
utils.py module. This function is responsible for parsing the root
device hints dictionary from the node's properties attribute.

Both Ironic and Ironic Python Agent project have similar functions so
adding it to ironic-lib would make it easier to share code between both
projects and fix bugs in only one place.

Change-Id: Ida6d20d1fdb40e50fe33ffec1c953286d4cbc2b7
Partial-Bug: #1605631
2016-07-26 09:52:26 +01:00
Corey Bryant 1f7dfb123f d/control: Align (Build-)Depends with upstream. 2016-07-18 15:10:16 -04:00
Corey Bryant 0ab22fb1cb New upstream release. 2016-07-18 15:07:56 -04:00
Corey Bryant 3ec6c573f4 ironic-lib 2.0.0 release
meta:version: 2.0.0
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-dev@lists.openstack.org
 meta:pypi: yes
 meta:first: no
 meta:release:Author: Dmitry Tantsur <divius.inside@gmail.com>
 meta:release:Commit: Dmitry Tantsur <divius.inside@gmail.com>
 meta:release:Change-Id: I21707e84459d904247f5e7808fc9647fb1fc168a
 meta:release:Code-Review+1: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Code-Review+2: Doug Hellmann <doug@doughellmann.com>
 meta:release:Workflow+1: Doug Hellmann <doug@doughellmann.com>
 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org
 
 iQEcBAABAgAGBQJXg7YfAAoJEDttBqDEKEN6U0UH+QFrsB7PM80oOuQQLIaG3JPm
 I/WcehvHPs3PwEHbQbxo9sT6rCXYgmrKGA59Mfn1YR1xIoMUqFDsQpyo5+aIc/8U
 KTOP2cgxSVTIKD+KOFtpkHyMmOXjgLiFtsFPjg+ctqmzxjrU1OKPlsDoAewIxsG+
 xsKNJ9rjQOffJtYTz8x8PcdYAb/yXBSJNeS7bXLwmF9ESPHOWP/K82rBH8F/LiUp
 ahSHsQJbJRo2mifoVMRDc3SSaGskXb8UHC6cJh3hH0ELcR4FdWrZDkpSuJFki59i
 MxZMBmt6tmGZHJLym3dY1yirRL7kaQuMNRrehYPfdgLyk/reZyyJHhlSlDACS6w=
 =Xc8F
 -----END PGP SIGNATURE-----

Merge tag '2.0.0' into debian/newton

ironic-lib 2.0.0 release

meta:version: 2.0.0
meta:series: newton
meta:release-type: release
meta:announce: openstack-dev@lists.openstack.org
meta:pypi: yes
meta:first: no
meta:release:Author: Dmitry Tantsur <divius.inside@gmail.com>
meta:release:Commit: Dmitry Tantsur <divius.inside@gmail.com>
meta:release:Change-Id: I21707e84459d904247f5e7808fc9647fb1fc168a
meta:release:Code-Review+1: Jim Rollenhagen <jim@jimrollenhagen.com>
meta:release:Code-Review+2: Doug Hellmann <doug@doughellmann.com>
meta:release:Workflow+1: Doug Hellmann <doug@doughellmann.com>
2016-07-18 15:07:09 -04:00
Thomas Goirand f2f2dfa6c5 Using pkgos-dh_auto_{test,install} from openstack-pkg-tools >= 52~. 2016-07-12 12:32:29 +00:00
OpenStack Proposal Bot 64dc8b64c7 Updated from global requirements
Change-Id: Ia132b8b022f07ffdddf5d8bc0073457dc8c8b795
2016-07-09 19:20:58 +00:00
Jenkins 6fec307e52 Merge "Include wipefs --force option" 2016-07-06 17:01:45 +00:00
Zhenguo Niu 9b5cb2062d Include wipefs --force option
Wipefs sometimes failed with errors like 'Device or resource busy',
include --force option to fix the problems.

Change-Id: Iad864d7ae9ab67286853f3c533a9c385ffe2cb05
Closes-Bug: #1590304
Closes-Bug: #1580169
2016-07-06 03:52:25 +00:00
Jenkins 49c58cfc2a Merge "Updated from global requirements" 2016-07-05 17:49:14 +00:00
Jenkins 5cf517d41e Merge "Add support for metrics" 2016-07-05 10:15:43 +00:00
OpenStack Proposal Bot 9fea53313d Updated from global requirements
Change-Id: I4eb0340a3d4beec5b2325986183ff8bec132fafe
2016-07-04 11:36:45 +00:00
Jenkins a351856469 Merge "Use autospec in mocked objects" 2016-07-02 00:14:02 +00:00
Jenkins 9946bb615c Merge "Add keyword arg 'log_stdout' to utils.execute()" 2016-06-30 18:16:09 +00:00
Ruby Loo 433f3d98e8 Add keyword arg 'log_stdout' to utils.execute()
This adds the keyword argument 'log_stdout' (Boolean) to utils.execute().
If set to True, it will log the stdout returned by executing the
command. By default, it is True.

This argument is used in ipa's (ironic-python-agent) copy of execute(),
and is being added here in preparation for changing ipa to use this
library's execute().

The docstrings associated with utils.execute() were updated to reflect
the copy in ipa.

Change-Id: I44148c6e9150c7afd3de7b0b59bedb4983d9a6a7
Partial-Bug: 1587199
2016-06-29 17:09:29 -04:00
Ruby Loo 3858f6005e Remove releasenotes/*
Reno is not being used to handle release notes for ironic-lib.
A release note was accidentally added; this removes it to
avoid confusion.

Reno is meant to be used for deploy-facing information, not
for libraries meant for developers:
https://specs.openstack.org/openstack/oslo-specs/specs/policy/release-note-management.html#proposed-policy

Change-Id: I843981bf7cc1a26351bb99466c4b83aa6a3f35a9
2016-06-29 17:06:56 -04:00
Ruby Loo e61a45b644 Use autospec in mocked objects
Some of the mocked objects in the unit tests do not have
autospec=True specified. This patch adds them, so that the
tests are consistent.

autospec=True is useful because it creates mock objects
that have the same attributes and methods as the objects
they are replacing.

Change-Id: I49b3a2dd7694666f6f62d3557ccee19a582d5868
2016-06-28 15:57:14 -04:00
Aline Bousquet fb46000e24 Add support for metrics
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
2016-06-28 13:38:01 +01:00
Zhenguo Niu 122891b43c Ignore .idea folder
Should ignore .idea folder for JetBrains PyCharm users

Change-Id: If953a5d84c8f6402ad4e6263b737d1e45c7e19d2
2016-06-13 17:47:11 +08:00
Jenkins 3d7fef015c Merge "Remove deprecated disk util configs" 2016-06-10 00:20:09 +00:00
OpenStack Proposal Bot aeaa70b247 Updated from global requirements
Change-Id: I46331306d867b7032fbe9f66b2f35fa4ab99c0bd
2016-06-03 18:13:21 +00:00
OpenStack Proposal Bot f7a6100027 Updated from global requirements
Change-Id: I43c376fa55a4fcccfc4a3ea7fba9f13cd0b08e5b
2016-06-01 13:48:44 +00:00
OpenStack Proposal Bot cd25d69987 Updated from global requirements
Change-Id: I86570efe458ab49d192551e793509e14ad7b2b1a
2016-05-30 00:13:26 +00:00
Jenkins 28dd421ad2 Merge "Updated from global requirements" 2016-05-24 22:28:12 +00:00
Jenkins 8fd4c5751c Merge "Clarify which projects are meant to use the ironic-lib" 2016-05-24 19:32:07 +00:00
Ruby Loo 2ca50bc7ee Remove deprecated disk util configs
This removes support for the deprecated configuration
options in the [deploy] group: efi_system_partition_size,
dd_block_size, iscsi_verify_attempts. They are available
in the [disk_util] group.

The three configuration options in [disk_util] had originally
been in ironic code (the [deploy] group) and was moved in
Feb 2015 to this library. Ironic started using this library
in (early) Mitaka development cycle.

Change-Id: Ie8ee2aab69ef2f0d711b276f3538c832c3369f29
2016-05-24 11:42:18 -04:00
Corey Bryant 9161c6ecbd d/control: Align (Build-)Depends with upstream. 2016-05-24 09:34:01 -04:00
Corey Bryant 132a709033 d/gbp.conf: Update branch to debian/newton. 2016-05-24 09:24:42 -04:00
Corey Bryant 9d1c30ddde New upstream release. 2016-05-24 09:24:19 -04:00
Corey Bryant 58afd1ea72 ironic-lib 1.3.0 release
meta:version: 1.3.0
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-dev@lists.openstack.org
 meta:pypi: yes
 meta:first: yes
 -----BEGIN PGP SIGNATURE-----
 
 iEYEABECAAYFAlcOO58ACgkQgNg6eWEDv1mDGACg1709AWWlWiShVBRH8a063bHS
 zXUAoMxbUdD+7dAqLU9PnJH19k3JelSy
 =5hA2
 -----END PGP SIGNATURE-----

Merge tag '1.3.0' into debian/newton

ironic-lib 1.3.0 release

meta:version: 1.3.0
meta:series: newton
meta:release-type: release
meta:announce: openstack-dev@lists.openstack.org
meta:pypi: yes
meta:first: yes
2016-05-24 09:23:28 -04:00