Commit Graph

920 Commits

Author SHA1 Message Date
OpenDev Sysadmins 23efb16dbe 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:32:45 +00:00
Ondřej Nový 2e3b7d5031 Team upload.
Change-Id: Ic04be816e6fac4f4626acb7e9d000e3ed4ba3115
2017-01-20 12:40:21 +01:00
Ondřej Nový b64ca2b292 Patch-out upper constraints of SQLAlchemy
Change-Id: I991d30453e57786f581cd836bd2204b76172af7b
2017-01-20 11:35:31 +01:00
Ondřej Nový f9dd6002cc Bumped debhelper compat version to 10
Change-Id: Idad323521f35c33dfdedf6827cc017df9b5f7651
2016-11-24 16:46:32 +01:00
Thomas Goirand e0c9577d28 Fixed debian/newton as packaging branch in gbp.conf
Change-Id: Iddc670ab825702966bb36b2bda0ae798c1598e76
2016-10-04 19:36:03 +02:00
Thomas Goirand 6603e3724c Uploading to unstable.
Change-Id: I990be2fdc659278c5f0e2b04a1f0eee2bf2f9c66
2016-10-04 09:44:15 +02:00
Thomas Goirand 9a09c18024 ironic-inspector 4.2.0 release
meta:version: 4.2.0
 meta:diff-start: -
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-announce@lists.openstack.org
 meta:pypi: no
 meta:first: no
 meta:release:Author: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Commit: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Change-Id: I85c67e643719736fe3bacc4b8774c6d10e3edd8f
 meta:release:Code-Review+1: Jay Faulkner <jay@jvf.cc>
 meta:release:Code-Review+1: Dmitry Tantsur <divius.inside@gmail.com>
 meta:release:Code-Review+2: Davanum Srinivas (dims) <davanum@gmail.com>
 meta:release:Workflow+1: Davanum Srinivas (dims) <davanum@gmail.com>
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJX48jgAAoJENljH+rwzGIn9kUIAI1hvVDmAWTwOBbrW+DFiWn/
 qd9qJaP21tZwAkMx7tLirMx4Qk8oDnkWlcWkCrPtIJRCHV6Hh5gbWRaQPQnWobkI
 IacOKLpev2IuehKeNbPZxlyBZOvCGle5pS/JO8mrJ/tsjCft3DdceuhcuYSPzh5T
 lrKqz0R9UilSMzMZh5b3WRbt6egk4YBbZXH00ICK9KCCGCImm6bbdOwwQKYPA2GZ
 hfD16OxwnV8r5G4Yga20kg8TitFveEoYr/HGJXBG7YbaCQWhyplnUhtQKh/ls2y/
 1sYe0hYzY2LR/XyajRbF+qKVBWKjqIQVfpYXxga1ZReCPo/vcw3ZQgvcIR+QusI=
 =1FYM
 -----END PGP SIGNATURE-----

Merge tag '4.2.0' into debian/newton

ironic-inspector 4.2.0 release

  * New upstream release.
  * Fixed (build-)depends for this release.

Change-Id: Ide4ea295d6c8699003a27665883df7b523ac0d5c
2016-09-28 09:52:34 +02:00
Ondřej Nový 4590d48e34 Mass changes
d/s/options: extend-diff-ignore of .gitreview
d/control: Use correct branch in Vcs-* fields

Change-Id: I47c7550052f00e5ab57be32f03ce386e462ce6a1
2016-09-26 19:02:44 +02:00
Jenkins f33658a2b4 Merge "Tempest: add auto-discovery test" 2016-09-21 12:04:41 +00:00
Thomas Goirand 0f9a244f03 ironic-inspector 4.1.0 release
meta:version: 4.1.0
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-announce@lists.openstack.org
 meta:pypi: no
 meta:first: no
 meta:release:Author: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Commit: Davanum Srinivas <davanum@gmail.com>
 meta:release:Change-Id: Ie2325b30ecb727e5279b5c072892e84b24bfbf3f
 -----BEGIN PGP SIGNATURE-----
 
 iEYEABECAAYFAlesgIsACgkQgNg6eWEDv1nfwQCePVoLS31dS3vnbAsVHnuxO7NO
 5fsAoNpZ8tl00N2yXttZGdnPkVpd34AH
 =Dj9N
 -----END PGP SIGNATURE-----

Merge tag '4.1.0' into debian/newton

ironic-inspector 4.1.0 release

  * New upstream release.
  * Fixed (build-)depends for this release.
  * Using OpenStack's Gerrit as VCS URLs.
  * Fix path file patched in fix-path-to-rootwrap.patch.

Change-Id: Ifb92de51cf5305e41e80f2dafe54152872235a57
2016-09-21 08:52:24 +02:00
avnish cc44415523 modify the home-page info with the developer documentation
Change-Id: Iff43acf4db1ec7b46bd35829d529192ecf443cb9
2016-09-20 13:11:14 +05:30
Jenkins de04f7c5a0 Merge "Log hook names as we run them" 2016-09-16 15:49:37 +00:00
Anton Arefiev 31906bfec7 Tempest: add auto-discovery test
Add test, which delete pre-created baremetal vms, and discovers it
via 'enroll' not_found_hook with default configuration.

Note, test contains workaround for working on infra, as infra 'tempest'
user doesn't have access to virsh, for running node and whitelisting
firewall rules on existing node, inspector's inspect api is used.

Change-Id: Ib0ec63295a496229b27552cd1bcf7e763c0c3e03
2016-09-16 14:37:39 +03:00
Lucky samadhiya e1ac2194a8 Update .gitreview for debian/newton
Change-Id: I1e6e82ec1c379a89073e4e4c03e3f681a671e86c
2016-09-16 07:56:06 +05:30
OpenStack Proposal Bot 55d01bc7ef Updated from global requirements
Change-Id: Ia3a72e2cf558e3f06ab329c2d34240712a8276a8
2016-09-15 20:19:45 +00:00
Jenkins 7ea229ad7c Merge "Add translation marker to deprecated_reason of config opts" 2016-09-13 17:03:40 +00:00
Jenkins af3bf3210b Merge "Add translation marker to help of config opts" 2016-09-13 11:22:34 +00:00
Vasyl Saienko 5f4015be61 Add translation marker to deprecated_reason of config opts
This patch adds a missed translation marter _() to deprecated_reason
parameter of config options.

Change-Id: I40e6a9d1edcf4cd0b19017787062ff2b58ab9a41
2016-09-13 10:53:50 +00:00
Vasyl Saienko 8789b5a57b Add translation marker to help of config opts
This patch adds missed translation marker _() to help messages
of config options.

Change-Id: Ica5c7f148cb0610c008444375e6e8b5ec0e449b3
2016-09-13 10:30:01 +03:00
Jenkins a35cb10896 Merge "Set node to the error if reapply fails" 2016-09-12 11:26:13 +00:00
OpenStack Proposal Bot fa3fcd0233 Updated from global requirements
Change-Id: I603ab18959a00313ee81980b0e9cecf1e7880470
2016-09-09 16:04:48 +00:00
Jenkins 569aa9f7ff Merge "Add PCI devices plugin to inspector" 2016-09-09 15:22:18 +00:00
Dmitry Tantsur 16661685aa Disable neutron tests in our grenade
We're suffering from unclear failures test_network_basic_ops.
As these tests are not important for our service, disabling them for now
by pretending that Neutron is not available.

Also fix incorrect list of required services on our smoke test, it only
requires Ironic and Swift.

Change-Id: Ia0f0976c2516e853482277a1a1045b4a951dec7c
Partial-Bug: #1621791
2016-09-09 13:49:36 +02:00
Dmitry Tantsur 2853ec72a4 Log hook names as we run them
Change-Id: I477b2896dfce0d0e74a0133b8478adbf4dd2097c
2016-09-08 09:53:31 +02:00
Jenkins c616a91428 Merge "TrivialFix: Remove cfg import unused" 2016-09-07 22:50:21 +00:00
Galyna Zholtkevych f29a71f576 Set node to the error if reapply fails
Setting node to the error status with error message
if reapply fails to get introspection data from swift.

Change-Id: Idccb68847d14d5050c735facf3da7b3ec108adbe
Closes-Bug: #1618833
2016-09-06 16:08:03 +03:00
Thomas Goirand 5e02e211d3 Fixed protocol HTTPS for upstream VCS in debian/rules 2016-09-06 14:48:16 +02:00
Cao Xuan Hoang d2b28830e6 TrivialFix: Remove cfg import unused
This patch removes cfg import unused in
ironic_inspector/plugins/extra_hardware.py
ironic_inspector/test/unit/test_keystone.py

Change-Id: I68dd91318bc961b837959ea9a42e00e110c63efb
2016-09-06 14:24:06 +07:00
Moshe Levi 027642246f Replace assertRaisesRegexp with assertRaisesRegex
assertRaisesRegexp is deprecated in python3
https://docs.python.org/3.2/library/unittest.html

Co-Authored-By: edan david <edand@mellanox.com>

Change-Id: I9446e745239d64ac9adf8fd1a8f95b5befc8cf06
2016-09-05 08:57:47 -04:00
Edan David f9979c1228 Inherit from oslotest base
Oslotest base class should be used as the base for unit test classes.
In addtion the oslotest BaseTestCase inherits from testtools.testCase,
according to fixtures docs "testtools has it’s own implementation of
useFixture so there is no need to use fixtures.TestWithFixtures with
testtools.TestCase."

Co-Authored-By: moshe levi <moshele@mellanox.com>
Change-Id: I7296d59ee30230ec2de6d55649c9f57a33534435
2016-09-05 08:57:25 -04:00
Szymon Borkowski e686892739 Add PCI devices plugin to inspector
Adds a new plugin to distinguish PCI devices returned by Ironic
Python Agent. Recognized PCI devices are then registered in node
capabilities and later can be used by nova flavors.

Change-Id: I6565b8c4aa76de240a6c4d795635300ff2d0c30b
Partial-Bug: #1580893
2016-09-01 10:55:02 +02:00
Luong Anh Tuan 375661ee23 Change asserts with more specific assert methods.
This patch replaces assertTrue(isinstance(a, b))
by native assert function assertIsInstance/assertNotIsInstance.

Change-Id: Ia3e34167a1c454fde1b28079c1742b99e1d40ff1
2016-08-31 11:52:48 +00:00
Luong Anh Tuan d5066073a7 Python 3.x compatibility ConfigParser
OpenStack code should become Python 3.x compatible:
http://docs.openstack.org/developer/hacking/#python-3-x-compatibility
Following table contains the renamings and reorganizations of the standard library using six.moves:
http://python3porting.com/stdlib.html#removed-modules

Change-Id: I809dfa041fd1ec14df563499685357a1b901ae21
2016-08-31 07:46:47 +07:00
Jenkins 036fb5103d Merge "Fix tempest.conf generation" 2016-08-30 15:39:43 +00:00
Jenkins 5d46e0cda9 Merge "Fix formatting strings in LOG.error" 2016-08-30 15:17:05 +00:00
Luong Anh Tuan 37150ca0a3 Changed an assert to more specific assert method
Following OpenStack Style Guidelines [1], I changed:
assertFalse(sth in sth) to assertNotIn(sth, sth).

After this change, a more specific message is shown on error.

[1]: http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises

Change-Id: I929900eb5dc48eb04b541e387b70d69c4865ca03
2016-08-30 08:07:31 +07:00
Luong Anh Tuan d6eb452839 Fix formatting strings in LOG.error
Following OpenStack Style Guidelines:
http://docs.openstack.org/developer/hacking/#internationalization-i18n-strings

Using multiple variables for formmatting strings is not clear as using
explicit dictionaries and can hide errors during refactoring.

Change-Id: I5dda1f550f6369b6154403ea5257e371014de53f
2016-08-26 17:38:56 +00:00
Jenkins 3919c29a99 Merge "Increase verbosity for functional tests" 2016-08-25 11:42:28 +00:00
AvnishPal 1c3f5baa0e Fix tempest.conf generation
[service_available] is not being generated. This patch fixes it.

Change-Id: I364621ce96a1d2f6bc49df6f2868b093f719a6f5
Closes-Bug: #1613542
2016-08-25 14:09:35 +05:30
Jenkins faac9e1789 Merge "Use upper constraints for all jobs in tox.ini" 2016-08-23 01:53:21 +00:00
Jenkins b534199d15 Merge "Modify the SQL's string from double quote to single quote." 2016-08-22 14:21:25 +00:00
AvnishPal f3fd06fab5 Use upper constraints for all jobs in tox.ini
Openstack infra now supports upper constraints for
all jobs. Updated tox.ini to use upper constraints
for all jobs.

Change-Id: Ibb49105fea5f119d181e7fd6f78ca6cf72ada33f
Closes-Bug: #1614361
2016-08-22 16:54:48 +05:30
Dmitry Tantsur 3b43f4b7ad functional: allow passing kwargs to all calls
This is needed to use expect_errors in tests.

Change-Id: I39ca8220940d0aca76131f85bbec1fc94a5411d6
2016-08-19 12:48:02 +02:00
Dmitry Tantsur 5323108045 Increase verbosity for functional tests
It's hard to tell what logging relates to which test, so increase
verbosity to make Python print test case names.

Change-Id: Ia7a532aac4e41d2a6689285425755253a2d1c852
2016-08-19 12:43:44 +02:00
Luong Anh Tuan 618e8b7fc7 Fix order of arguments in assertEqual
Some tests used incorrect order assertEqual(observed, expected).

The correct order expected by testtools is
assertEqual(expected, observed).

Change-Id: I71bc48340042617e0aa90905a4f92ecd62d9e61e
2016-08-17 18:10:44 +07:00
Teng Fei 6ba331aad2 Modify the SQL's string from double quote to single quote.
Using double quotes for strings does not conform to the ANSI standard.
While MySQL accepts it, PostgreSQL raises an error.

This patch fixes crash when used with PostgreSQL.

Closes-Bug: #1606534
Change-Id: Id979043b1573bf2ea473e772c7ea7417c733d753
2016-08-17 11:51:46 +02:00
Jenkins 8e782a4afd Merge "Tempest: increase ironic sync timeout" 2016-08-16 13:31:04 +00:00
OpenStack Proposal Bot 97d05be2a6 Updated from global requirements
Change-Id: I0344471354bd1651a1b03647acbdae2d6f294ba4
2016-08-12 04:49:33 +00:00
Anton Arefiev 4f1ac5f22a Tempest: increase ironic sync timeout
Increase ironic_sync_timeout to 80 sec. Ironic default status check period
is 60 sec. But calling Ironic API to get node status takes some time, and
races appear, as result tempest job periodically fails. 80 sec would
be more than enough to make one more check.

Change-Id: I5fe0198b2ce2f1f0078c1d14aa1c367a71178097
2016-08-11 15:43:39 +03:00
Anton Arefiev 625add4f41 Fix release notes formatting
Change-Id: I7ecc9ed5382f72a6cd440ac5c02d4f0eee6060db
2016-08-11 14:27:36 +03:00