Commit Graph

61 Commits

Author SHA1 Message Date
likui 0ef437e95e Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Iff3cda953dc52a0950ea2c615df8a67a7069c206
2021-06-03 16:57:48 +08:00
XinxinShen 8395cf7c96 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ic42d1e9fd6d41de78fd47b1836741c4f4cb47e6f
2021-05-04 17:15:49 +08:00
zhangtongjian 034bdae33e remove unicode from code
Change-Id: Ic843e1edc22c29213957b67081345e1715ee0e34
2021-01-05 17:28:10 +08:00
Andreas Jaeger 0b51f5917c Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme and sphinx versions
- Update constraints URL

Change-Id: I71fad2f2287477ae570ae40a8705b035bbc6a38e
2020-04-28 19:49:10 +02:00
Iury Gregory Melo Ferreira 6919c93d66 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-inspector-specs is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

The only reference for py27 is on requirements.
Clean up tox.ini for basepython

Change-Id: I05108ae17de80b10b31bf251a729976fd600d6e6
2019-11-25 10:46:14 +01:00
Zuul a04f4ad72a Merge "Build pdf doc" 2019-09-09 14:45:59 +00:00
Kaifeng Wang 1a7f765d5c Build pdf doc
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.

TeX packages are required to build PDF locally, following is recommended:

* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended

More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems

Change-Id: I874f5428f87f19eaf5fa15fa25f55a735e17967d
2019-09-05 13:46:42 +08:00
Kaifeng Wang f91684c791 Update the etcd spec
The original spec focused on the etcd service, while tooz supports
multiple backend via drivers, we are actually introducing a
coordination mechanism via tooz, which is not specific to etcd itself.

Also, there are limitations on configuration options proposed in the
spec, e.g., authentication is not achievable by current tooz version,
which is removed from the spec. Reduced proposed new configuration
options, for they actually don't provide much value.

Above all, the patch updates the spec to reflect current implementation.

Change-Id: I7c09548b1e601039ca149e08659cd1a3d42adc97
2019-08-05 13:32:08 +08:00
Zuul 555b486973 Merge "Introduce etcd for service coordination" 2019-07-05 12:27:30 +00:00
Riccardo Pittau 934090f3ec Update sphinx requirements
Following recent changes to global requirements [1], we need
to update sphinx requirements locally.

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: I2960af506aab91ffb073147be405140e68d1bd95
2019-05-23 10:33:55 +02:00
Kaifeng Wang 305d08fa1b Introduce etcd for service coordination
The spec introduces etcd and tooz for the inspector service
coordination, which is a prerequisite for service split.

Group management will be used to calculate which ironic-inspector
conductor service the rpc request will be sent to, distributed
locking support will help to avoid racing under concurrent environment.

Change-Id: If2c228c4d2ebaf93d79c4cbf2cc39146f8f74086
Story: 2001842
Task: 30376
2019-05-08 14:41:56 +08:00
zhulingjie f04c7a2797 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I0fd71de780e7459405167a2ccc39c2811f0ac48a
2019-04-25 09:24:36 +08:00
OpenDev Sysadmins 415ddd1a7c 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:28:08 +00:00
Kaifeng Wang ae24da6d5c Fix docs job
Seems to be a requirement mismatch issue, also switched to storyboard
for generated bug link.

Change-Id: Ibf1f3be40e0ecd5d80451ce93f7e296e21ad180e
2019-04-12 17:14:40 +08:00
Zuul 110ec01268 Merge "Update spec template" 2019-02-05 23:22:58 +00:00
Kaifeng Wang 2c168e5c73 Update theme to openstackdocstheme
Some invalid reference issues are exposed after switching to
openstackdocstheme, fixed as well.

Change-Id: Iac9f7c5fa3a832e9e3c26b4701a5685ea6252bed
2018-12-21 10:27:44 +08:00
melissaml bd764399d4 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Id4de674fd18b12bb94f756fdd628266bf2351f2e
2018-12-05 03:26:32 +08:00
Zuul 969da5cb85 Merge "Configurable introspection data backends" 2018-11-26 23:43:13 +00:00
Kaifeng Wang 524db1e980 Configurable introspection data backends
Currently introspection data can only be stored to Swift, this spec
proposes a mechanism to read/write introspection data from the storage
backend according to configuration option, and provides support to
access introspection data in the ironic inspector database.

Change-Id: I24b2f11be2e8e538a88e41532eacf0fc25836680
Story: 1726713
Task: 11373
2018-10-23 09:26:29 +08:00
Zuul 60a1100cce Merge "Trivial: Update pypi url to new url" 2018-10-15 08:34:59 +00:00
huang.zhiping d483072562 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I7f262bdc896b30e68529bcf88a01859d8a91aa58
2018-10-03 02:11:12 +00:00
Doug Hellmann f6d5a5f267 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ib129db4e523fc5983a246c74f7f057bade0b7093
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-30 01:09:15 +00:00
Kaifeng Wang b907920463 Update spec template
Minor revision on the template:

* Change launchpad to storyboard.
* Remove the obsolete requirement on spec filename.
* Add a section named ironic impact.
* Update assignee section to have an other contributor.
* Remove some extra spaces.

Change-Id: I0970cd1de276ca01c228a617f9cd5a21f9e57052
2018-08-30 16:13:17 +08:00
Doug Hellmann daad8035c0 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I49dc6e2057990200118efcd340de41a61d97777d
Story: #2002586
Task: #24302
2018-08-16 09:42:19 -04:00
wangqi b0135f4ddd fix url
Change-Id: I4358b6a8b6512ac6be934255bd982ee77f0c6fc7
2018-06-19 03:35:33 +00:00
XiaojueGuan a9b21465f6 Update links in README
Change the outdated links to the latest links in README

Change-Id: I710f0bde8c6a2d3d58934393a6d59a3f562dac27
2018-06-12 16:54:35 +08:00
melissaml 2e94b79da7 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I2b1c5d9e1b6fdc15153246790cf4b0945b218cc6
2018-04-21 08:15:02 +08:00
Jenkins 77819e7057 Merge "Collect Bios, Memory and Processor Info from Dmidecode - follow-up" 2017-08-10 09:13:23 +00:00
Ramamani Yeleswarapu 65c23ec149 Collect Bios, Memory and Processor Info from Dmidecode - follow-up
Fixes nits in the spec:
https://specs.openstack.org/openstack/ironic-inspector-specs/specs/dmidecode-reporting.html

This is a follow-up to commit 916a485782.

Change-Id: Id6dc53e7c3b166c2856520f686bcbeede1d7a730
Partial-Bug: #1635057
2017-06-06 07:47:19 -07:00
Jenkins a1bf5ecf3a Merge "Follow up PXE filter driver" 2017-05-18 12:44:20 +00:00
dparalen 57ad6f6ddc Follow up PXE filter driver
This is a follow-up[1] patch updating the driver interface specification
replacing the low-level filter interface with a single method sync() to avoid
stale filter state if the lists are not passed through a single call.

The suggestion to keep the introspection data for the lifetime of a node
is removed too.

Some driver implementation suggestions are added with neutron, dnsmasq and
iptables in mind.

[1] I7022d10fd22e6e141e59d0596402f43d2dcde056

Change-Id: I260223b364f3550391c99bdc6214a0355fe6b565
2017-05-17 16:36:38 +02:00
Jenkins f44e945ce6 Merge "Collect Bios, Memory and Processor Info from Dmidecode" 2017-05-12 11:43:38 +00:00
Anton Arefiev cf953cade1 Split service into API and Worker
Change-Id: Iaeb99ab1954a1d5303c9bd10b81f7f8d6aa7e731
2017-04-27 16:41:24 +03:00
Ramamani Yeleswarapu 916a485782 Collect Bios, Memory and Processor Info from Dmidecode
Proposing a spec to add additional bios, memory, and cpu data fields
to node properties from the dmidecode output collected by a new
collector in Ironic Python Agent.

Change-Id: I7be236e3dc96fea5ad310395c21332a33d7f4bb8
Partial-Bug: #1635057
2017-04-04 13:04:11 -07:00
Jenkins d425662f8b Merge "Multiple PXE filtering backends" 2017-03-24 15:26:11 +00:00
dparalen e30c6916ed Multiple PXE filtering backends
Change-Id: I7022d10fd22e6e141e59d0596402f43d2dcde056
Partial-Bug: 1665666
2017-03-23 12:20:46 +01:00
Jenkins 685a9d05bc Merge "Add upgrades and backwards compatibility section" 2017-03-10 13:14:04 +00:00
dparalen 2c937330a8 tox -edocs doesn't work with Python3
Implementing the same pinning of python version as in the ironic specs
patch #440604:

The tox -edocs command does not work with Python3 because the command
depends on a library called "feedformatter" which only supports Python
2 for now.

Change-Id: I703b4a3a4df8c3ceb23adb09632ae5171e6f997e
Closes-Bug: 1669466
2017-03-07 10:15:46 +00:00
Anton Arefiev 1524f01574 Add upgrades and backwards compatibility section
Change-Id: I8fb93681a7538773647d2a982acde90c387f0e2f
2017-03-01 14:04:55 +02:00
Jenkins a68360f960 Merge "Endpoint to list introspection statuses" 2017-02-06 10:54:57 +00:00
Jenkins e77b6dfc97 Merge "Spec for retrieving NUMA node information" 2017-02-03 17:16:02 +00:00
Jenkins 33b734ac84 Merge "Remove link to modindex" 2017-02-02 18:22:16 +00:00
Rajiv Kumar 1bddf85d42 Remove link to modindex
The documentation build does not generate any module index, thus
remove the link to the page. The page
https://specs.openstack.org/openstack/ironic-inspector-specs/py-modindex.html
does not exist.

Change-Id: I492ca2b5fcaa5f2773d7d66d97725feeafa1b054
2017-01-27 15:34:12 +05:30
Jenkins e32360e201 Merge "Collect NIC name given by BIOS" 2017-01-27 09:15:47 +00:00
Annie Lezil 54eb735659 Collect NIC name given by BIOS
Proposing a spec to add a extra field 'biosdevname' to network interface
inventory collected by 'default' collector of ironic-python-agent.

Change-Id: If4efd3ba5ed7bb2816696b853b1fc39d0b2340ef
Partial-Bug: #1635351
2017-01-24 21:19:41 +00:00
karthik s da809c2100 Spec for retrieving NUMA node information
Proposing a spec for retrieving NUMA node information during introspection.

Partial-Bug: #1635253

Co-Authored-By: Saravanan KR <skramaja@redhat.com>

Change-Id: I99aa9f0462f45a1cccec72801fbd14d1395b6386
Signed-off-by: karthik s <ksundara@redhat.com>
2017-01-19 17:28:41 +05:30
dparalen 818c8d3a92 Endpoint to list introspection statuses
This patch suggests a spec file describing such an endpoint.

APIImpact

Change-Id: I4efab67cbb798399d18ec82708bbed52dc9d3b70
Partial-Bug: #1525238
2016-12-07 17:37:06 +01:00
Flavio Percoco 9e6a07746e Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/73cd325f82163cdca702c317561c0464\n'

Change-Id: I6efa23d7fc3b921ad71a76a3699197b716cd3bed
2016-12-02 12:50:09 +01:00
Jenkins e209ad3a1e Merge "Add LLDP processing hook and new CLI commands" 2016-11-14 11:27:03 +00:00
Bob Fournier ac70bef7b8 Add LLDP processing hook and new CLI commands
It would be useful to display the contents of Link Layer Discovery
Protocol (LLDP) TLVs received from network switches that are cached
by IPA.  The LLDP data can help with deployment validation and
troubleshooting.  The spec presents a hook to process and store
the cached LLDP info and new 'openstack baremetal' commands to
display the processed LLDP data.

Change-Id: Ife9a1901b8f21be2a31969a5fb6bc777162f1e95
Related-Bug: 1626253
2016-11-04 10:50:33 -04:00