167 Commits

Author SHA1 Message Date
Chuck Short
47d7fb2025 Sync up Flask version with global-requirements
As Flask version was updated we need to update our own requirements.txt
to avoid reqirements-check job to fail on every patch that changes
anything related to requirements.

Change-Id: I22f471534eded46a8deecccdb07db71d0705226b
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-07-11 12:54:11 -04:00
Kaifeng Wang
6469a1fc0f Introduce oslo.messaging and sync rpc call
Adds oslo.messaging to ironic-inspector, and convert
inspect, abort and reapply to synchronized rpc calls.

This is the first step of API and worker seperation.

Change-Id: I15e86d7feb623b6b2889891b9700e5de6b3164cd
Story: #2001842
Task: # 12609
2018-05-06 21:07:25 +08:00
Doug Hellmann
3b3a3ef20b Fix lower constraints and uncap eventlet
Fix the lower constraints settings to match the expected values.

We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: Ic44a750002943920c2f517f22df670989460dbc9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-23 10:53:07 -04:00
OpenStack Proposal Bot
3946a94447 Updated from global requirements
Change-Id: I9f0bae0f2d5279c401c6d6698e5cdc2302839751
2018-03-26 08:04:42 +00:00
OpenStack Proposal Bot
f440bcba11 Updated from global requirements
Change-Id: I64b9eb17a8bf2e121c06d578d5926a5e5c01c811
2018-03-14 05:31:06 +00:00
OpenStack Proposal Bot
1292657bb9 Updated from global requirements
Change-Id: I0e122923bb4d2736e7d52d123ab4a40b4923c164
2018-03-13 06:54:53 +00:00
OpenStack Proposal Bot
11c26d2f4a Updated from global requirements
Change-Id: Icc6ba6292e015c91fa2ef7ef053a25fab50b75bb
2018-02-17 09:32:11 +00:00
Dmitry Tantsur
3237511cc6 Retry port lists on failure in PXE filter periodic sync
These calls are subject to transient network problems, we should
not abort ironic-inspector process in this case. Also due to
bug 1748893 the port listing API can sometimes return HTTP 400.

This change retries port listing 5 times with 1 second break
before aborting the periodic task and thus the process.

This change introduces a dependency on the retrying library,
which is already widely used in OpenStack (including ironic).

Change-Id: I92fd70ca5692ce9f6798eedf9e540d5aa7c6f1af
Closes-Bug: #1748893
2018-02-14 15:10:39 +01:00
OpenStack Proposal Bot
dc254b5659 Updated from global requirements
Change-Id: Ibc1719a9e91c3f99b2394b0d8514ff5b346aa947
2018-01-29 00:09:48 +00:00
OpenStack Proposal Bot
ee7a761812 Updated from global requirements
Change-Id: I312c19b8306f542ff03a38e059030976d4017001
2018-01-16 12:29:24 +00:00
OpenStack Proposal Bot
23278737c2 Updated from global requirements
Change-Id: I7f5a6cdd8ec991b77a022562cc580f720e43d7b6
2017-12-19 01:18:26 +00:00
OpenStack Proposal Bot
b22559455b Updated from global requirements
Change-Id: I8444c1c0285b1e3a576e926cff53de9c6d62595a
2017-12-07 13:24:32 +00:00
OpenStack Proposal Bot
3a854d7a2a Updated from global requirements
Change-Id: Ifae893e5cd31cc288357362b5381f1c53de8eed8
2017-12-05 03:06:00 +00:00
OpenStack Proposal Bot
dbc7e85980 Updated from global requirements
Change-Id: I1269b8c61b53fcdda88eaf1ef57a17710c348755
2017-11-29 08:57:12 +00:00
OpenStack Proposal Bot
8de3bdd97a Updated from global requirements
Change-Id: I82cdde1293a6c3cc89f9869627d37df478b49bf2
2017-11-16 11:05:41 +00:00
OpenStack Proposal Bot
8104e33366 Updated from global requirements
Change-Id: I8fdb22ea4dff5e321e257688617d3283809342fa
2017-11-13 10:19:29 +00:00
OpenStack Proposal Bot
54c049bd6f Updated from global requirements
Change-Id: I9c8b5a889564a5f1a5ffe44c8c94b5945df7d9bb
2017-11-03 13:41:32 +00:00
OpenStack Proposal Bot
cbf4c393e4 Updated from global requirements
Change-Id: I4dd1e280d269b732d5bd9f2bbfd45a4244f9aad6
2017-10-23 10:59:29 +00:00
Pavlo Shchelokovskyy
198ef70c2b Add request context and policy enforcement
this patch introduces an oslo.policy-based API access policy
enforcement engine to ironic-inspector.
As part of implementation, a proper oslo.context-based request
context is also generated and assigned to each request.

Short overview of changes:

- added custom RequestContext class

  - extends oslo.context to handle of "is_public_api" flag
    (False by default)

- added context to request in each API route

  - '/continue' api sets the "is_public_api" flag to True

- added documented definitions for API access policies and their
  defaults
- added enforcement of these policies on API requests
- added oslo.policy-specific entry points to setup.cfg
- added autogenerated policy sample file with defaults
- added documentation with autogenerated policies

Change-Id: Iff6f98fa9950d78608f0a7c325d132c11a1383b3
Closes-Bug: #1719812
2017-10-13 11:55:52 +00:00
OpenStack Proposal Bot
30affed5b3 Updated from global requirements
Change-Id: Idf4b9a368049686b72db3a330989bb36e0f0e591
2017-09-24 12:18:49 +00:00
OpenStack Proposal Bot
360b194fcf Updated from global requirements
Change-Id: I3aa3d3a94394575fdc75370e26f33181504023c8
2017-09-13 12:51:21 +00:00
OpenStack Proposal Bot
776e3455f7 Updated from global requirements
Change-Id: I33b3a93aa9c8f1b7e191ec050046788267f51980
2017-09-11 21:37:34 +00:00
OpenStack Proposal Bot
9054402d81 Updated from global requirements
Change-Id: I5f50be7874113a538cdd89e052f5506d33369bfb
2017-09-02 22:19:19 +00:00
OpenStack Proposal Bot
94ac8738db Updated from global requirements
Change-Id: If457b98ddca90f30c2eafc937c6f9dd27f0d0467
2017-08-24 05:50:16 +00:00
OpenStack Proposal Bot
b4391dec09 Updated from global requirements
Change-Id: If5f45c8838ec5b3b8c511a4c2be6c435ccc0c1fa
2017-07-29 21:44:37 +00:00
OpenStack Proposal Bot
9a0bd29df3 Updated from global requirements
Change-Id: I2f2bee08a55c5390743e451955c58f61b48697f6
2017-07-23 13:42:42 +00:00
OpenStack Proposal Bot
b908a308db Updated from global requirements
Change-Id: Iffecbde5bfd360e5e0c2d61ebc5b3f0a098385d9
2017-07-19 20:53:38 +00:00
OpenStack Proposal Bot
8b2e7d16b5 Updated from global requirements
Change-Id: Ib141c7482d65f7eb5d82340d657255195dd5e584
2017-06-19 21:03:32 +00:00
OpenStack Proposal Bot
589062596c Updated from global requirements
Change-Id: I6166b0f00c542500c1c2de52f20a5e5108f8663b
2017-06-15 16:24:11 +00:00
OpenStack Proposal Bot
1e2c73fea5 Updated from global requirements
Change-Id: I6949c4e31ef50ef9bebd6c212c7eb1938c14c423
2017-06-13 22:54:38 +00:00
OpenStack Proposal Bot
fa58797687 Updated from global requirements
Change-Id: Ic2de90cbdc744b78625eaf0f242a2ff0687aa5a0
2017-06-02 02:26:41 +00:00
OpenStack Proposal Bot
30ac752df4 Updated from global requirements
Change-Id: I8ecfaf0e967102e8d749a7392ccc59ec9162c40b
2017-05-26 01:48:23 +00:00
OpenStack Proposal Bot
b1d3d8943b Updated from global requirements
Change-Id: I6ab9d528b1074609c5ca67338c0cb9ce732ffac1
2017-05-24 03:36:55 +00:00
OpenStack Proposal Bot
095cea52e2 Updated from global requirements
Change-Id: I2d65f56f2c5dbf6aaa719cf0651b5d87f374836a
2017-05-17 13:40:11 +00:00
OpenStack Proposal Bot
f274673384 Updated from global requirements
Change-Id: I7d8f9e609c18c4123f9370b1bcde1da7ab39e880
2017-05-03 12:13:54 +00:00
OpenStack Proposal Bot
2e5deeff86 Updated from global requirements
Change-Id: I97d3dd4bc8afba66826b5ea65b71cd5ca57dfcf6
2017-04-12 04:12:32 +00:00
OpenStack Proposal Bot
899192421f Updated from global requirements
Change-Id: I36829c1207fbff38813e670cf2a30839fd287964
2017-04-07 12:46:01 +00:00
OpenStack Proposal Bot
5092a7d218 Updated from global requirements
Change-Id: I7de4490d3c74e6db9186f9b553a519e7fe83729c
2017-04-06 12:17:53 +00:00
OpenStack Proposal Bot
67292f1450 Updated from global requirements
Change-Id: I320d81b5e1d344bff002897c453d1a36943f2284
2017-03-29 13:33:01 +00:00
OpenStack Proposal Bot
8f020342bc Updated from global requirements
Change-Id: Iae1155cd3c58549b02d10fe8c6962011e7f188d6
2017-03-16 12:27:19 +00:00
OpenStack Proposal Bot
166d26a65e Updated from global requirements
Change-Id: I4cf5306e7d00ba1083067e8aa00955a42861914e
2017-03-13 19:32:14 +00:00
OpenStack Proposal Bot
d25cda389c Updated from global requirements
Change-Id: I0783b599db8914f26badc13dee9dab8174fd7b86
2017-03-02 11:45:30 +00:00
OpenStack Proposal Bot
ab78e0c1bb Updated from global requirements
Change-Id: I3f445aac35d6c6a73236213d78496df102a39244
2017-03-01 04:07:35 +00:00
Bob Fournier
8834927d4c Add plugin to process basic management LLDP TLVs
This adds a plugin to process the raw LLDP TLVs stored in Swift for
the Basic Mgmt, 802.1, and 802.3 data sets and store the parsed data
back in Swift.  It implements the TLV processing as described in the
specification:
http://specs.openstack.org/openstack/ironic-inspector-specs/specs/lldp-reporting.html

Change-Id: I854826787ff045ffb2807970deaba8b77cbe277d
Closes-Bug: 1647515
Related-Bug: 1626253
2017-01-31 19:51:39 -05:00
OpenStack Proposal Bot
43fe364314 Updated from global requirements
Change-Id: I5369040406580cb536be4331162e7a133578533b
2017-01-26 18:44:04 +00:00
OpenStack Proposal Bot
75a99f4c03 Updated from global requirements
Change-Id: Ia73426daa3b2da833bf4a322134d5181e77bb434
2017-01-21 15:48:45 +00:00
OpenStack Proposal Bot
59a20098f1 Updated from global requirements
Change-Id: I7c1218a3fb765312fc607f32807c1c86f066bfd8
2017-01-20 13:47:24 +00:00
OpenStack Proposal Bot
5a415e2618 Updated from global requirements
Change-Id: Ib411654b1ee579b1d79842f898d49bc6a33aaf82
2017-01-16 17:19:35 +00:00
OpenStack Proposal Bot
436c3c7e67 Updated from global requirements
Change-Id: I04a3d07e60056d4136ae35f0a449835f50926139
2017-01-15 09:21:15 +00:00
OpenStack Proposal Bot
444c01b520 Updated from global requirements
Change-Id: Ifffe9036b47010a0a77b2f3f8d3cddfd8972d8ae
2017-01-11 00:17:26 +00:00