Commit Graph

119 Commits

Author SHA1 Message Date
Takashi Kajinami 319970f832 Update bug tracker url
The ironic-inspector project has been migrated back to launchpad when
the whole ironic project was migrated back.

Change-Id: I956d00a7a6e72312c7b736750331c0dbe96bc326
2024-03-13 19:36:54 +09:00
zhangboye a380fe330f update source link in readme
Change-Id: If954bc5e1b89a968bb8281ab6e2e12e8da6939ca
2019-10-15 19:08:28 +08:00
melissaml 50a5aa1d2c 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: I116c1ad13c375db45e11444bb8592994bf8d0832
2018-04-24 09:57:43 +08:00
Julia Kreger 47e4e40030 Update launchpad to storyboard references
Change-Id: I9c23727e2c9ecbb21e253fcc8a66ca1e64109cdc
2018-03-28 13:55:05 +00:00
Daniel Abad 4bba04213c Fix typo in README.md
Because we are referring to a baremetal node's credentials,
'its' denotes possession instead of being a verb (it's)

Change-Id: Ie934dbec2f806f8421a83705f6ba80cfe3e2d073
2018-03-02 10:02:37 +00:00
shangxiaobj d0edef14f1 Replace http with https for doc links
Use https instead of http for docs links in ironic-inspector

Change-Id: Ibc6700af5114ef64d3fe9803a4433d19b1223456
2018-01-02 06:25:34 +00:00
shangxiaobj 9954f19a33 Replace http with https for doc links in ironic-inspector
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: Ic6ae704cc097e5f27d7f37e5a773f55f0c79a617
2017-12-23 01:22:23 +00:00
chenxing c28dd315bf Update the documentation link for doc migration
Change-Id: Ie3d175b4d910f49f8a54812926131448ff1ab4d5
2017-08-03 14:29:06 +00:00
dparalen c08fa16631 Docs migration conclusion
Change-Id: I3137d491822f5323d87ea4f988e7061ca1a215ba
Closes-Bug: 1702142
2017-07-24 17:30:50 +01:00
Jenkins c53d5d6c1c Merge "Update external links in the documentation" 2017-01-31 12:48:35 +00:00
Dmitry Tantsur d6c3ca1986 Update external links in the documentation
* Add a link to ironic-inspector-client documentation
* Remove the link to blueprints, we no longer use them
* Update the link to Ironic inspection documentation

Change-Id: Ia0ec933e8fe213ffea4a8ac389b6d2028ea7e9ec
2017-01-27 10:25:32 +01:00
Dmitry Tantsur 9a5cc11213 Remove heading "Team and repository tags"
Otherwise it becomes a top-level heading in the rendered docs.

Change-Id: Ic8c27dfb118448cb80480434514afa50b385b3d0
2017-01-26 14:49:38 +01:00
Flavio Percoco 715f4e29b2 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/97af6096980fd1e7aee0412831aa7441\n'

Change-Id: I9a5c5b26a770d714e1a48adea5dc38b28cfff505
2016-12-01 12:12:42 +02:00
Dmitry Tantsur 19c34f669b Mention docs in the README now that they're published
Change-Id: Ifb233a6136d18aa1b215f23e43b9349a0858a11e
2015-12-03 13:32:21 +01:00
Dmitry Tantsur 99732e5297 Numerous improvements in the documentation
* Flatten the directory structure (we don't have that many doc files)
* Dropped HTTP-API from the root so that we don't maintain 2 copies
* Fixed links all over the place
* Leave one copy of README text in the root and include it in docs
* Update 'tox -epep8' to also check docs

Change-Id: Ic14cb73668544be27c6b96b384f93b239e49acfd
2015-12-02 18:07:22 +01:00
Serge Kovaleff 292e8c9cfd Generate Sphinx docs
Change-Id: I540b28d6173b30baf6ee2e6e14d8ba5ffb67b660
Closes-Bug: #1514803
2015-11-27 11:56:36 +02:00
Dmitry Tantsur 6631b8ffab Fix database schema for mysql and switch the gate to testing it
MySQL can't use TEXT fields for primary keys. This change switches all them
to VARCHAR(255). This change should not be breaking for SQLite, as it
does not distinguish between these two data types.

README is updated with up-to-date information about the connection option.

Change-Id: I0153855c1827b55067a7c04310bfad7eb71f35fe
Closes-Bug: #1501746
2015-10-01 15:53:35 +02:00
Sam Betts b57cf89945 Add troubleshooting section for Ubuntu DNS issues
This patch adds a section to troubleshooting in the README, covering a
problem caused by local DNS caching in Ubuntu.

Change-Id: I8c06b6fb378fcb22b929c25577b96760a7c85046
2015-09-28 14:37:40 +01:00
John Trowbridge 7b7130ab33 Add a warning about sudoers file
Change-Id: Ide366308c85b0af966afd03d0d9c678826748ee6
2015-09-25 12:17:24 -04:00
Sam Betts 5552d0d83a Update README with extra_hardware plugin changes
The patch that added eDeploy conversion to the extra_hardware plugin
forgot to update the README to reflect the changes, this patch updates
the extra_hardware section in the README to explain the new
functionality of the plugin.

Change-Id: Ie04db11643a7376c68cfbbf7ae2a1d74f55fa70a
2015-09-25 15:06:04 +01:00
Jenkins fee35efed9 Merge "Fix rootwrap configuration documentation" 2015-09-25 09:27:28 +00:00
Dmitry Tantsur 8d0a04d670 Fix rootwrap configuration documentation
Mention rootwrap.d and modifying rootwrap.conf in case of different
main configuration directory.

Change-Id: I02e8faaaf213af34f094e4ac8726ebf2abb2208a
2015-09-24 17:24:01 +02:00
Sam Betts aa3b8ba777 Add alembic migrations for the inspector database
This patch adds a new command ironic-inspector-dbsync which can be used
to sync the ironic inspector database using alembic migrations. It adds
a migration to match the current required db schema.

Change-Id: I21188b3f5003c8ab43d82903473e2a6ef7f755a0
Closes-Bug: #1495620
2015-09-23 14:44:46 +01:00
Yuiko Takada 52ef561c9f Use rootwrap to execute iptables instead of requiring root
This patch set adds support for rootwrap in order to execute iptables.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: I7c424c17222f119730b8c5ac0daafd9906282e4d
Closes-bug: #1495844
2015-09-23 13:27:15 +02:00
Jenkins 178326c62d Merge "Add missing plugins for introspection rules" 2015-09-23 10:51:36 +00:00
Dmitry Tantsur ad788cff44 Stop recommending using DIB from source
Now that 1.1.2 is released, we can actually use it to build agent.

Change-Id: I0f55b055b157ecd55cd65a38ee5ed852bf4e334f
2015-09-22 10:35:03 +02:00
Dmitry Tantsur 6c686e81ce Add missing plugins for introspection rules
Conditions:
* in-net: checks if address is in a network

Actions:
* set-capability: sets a capability
* extend-attribute: append value to a list attibute

Helper method NodeInfo.replace_field is added to simplify writing
similar action plugins.

Implements: blueprint rules
Change-Id: I7e47b3500624df1f2cb15445d05e1c9bca6dc9ae
2015-09-18 17:42:42 +02:00
Jenkins 8487a84a77 Merge "Add instructions how to try IPA as a ramdisk" 2015-09-15 09:18:26 +00:00
Dmitry Tantsur eb9b3da67a Add introspection rules support
This patch introduces a simple JSON-based DSL to run on introspected
data. Conditions and actions are provided via new plugin entry points.

This patch is missing PUT operation on a rule, this can be added later.

Also not all planned conditions and actions are added in this patch,
will also follow up.

Implements: blueprint rules
Change-Id: If4d17b5f1462d03879cb4c2ff4e5cb3ea364b697
2015-09-14 14:56:09 +02:00
Dmitry Tantsur 1bdf87ce5c Add instructions how to try IPA as a ramdisk
Change-Id: I337a03a99f5d27bbc721c5209bef7d23ab4b9dbf
2015-09-14 12:46:36 +02:00
Dmitry Tantsur 676a581411 Revisit required provision states
* Recommend using ENROLL for setting IPMI credentials
* Deprecate using maintenance mode, will be dropped once we stop
  supporting Ironic Kilo
* Drop bits related to Ironic Juno, we no longer support it
* Clarify error message about wrong provision state, stop mentioning
  maintenance mode there

Change-Id: I3a9d3ba24a32c7844cd6fd5e4f8ec4b15b2d9d20
Closes-Bug: #1479331
2015-09-07 19:12:11 +02:00
Jenkins ca553ff7a5 Merge "Rename plugin root_device_hint -> raid_device" 2015-08-28 08:04:57 +00:00
Dmitry Tantsur 7343cad09f Rename plugin root_device_hint -> raid_device
We'll soon have root_device_hints plugin, so it will become confusing.
Also added a test that we can use it under new name.

Change-Id: I049e049002cb25afc5aadb9a7a9e5d026a6810fd
2015-08-26 15:59:57 +02:00
Dmitry Tantsur 2ab0770b1e Clean up README
* Add standard tas recognized by release-tools
* Stop mentioning Tuskar UI, as it's being refactored now

Change-Id: I18fc8f184376b0d643c53eb2928f5bb32662fb76
2015-08-25 18:44:32 +02:00
Dmitry Tantsur 6f8342955e Require ironic API version 1.6
This is Kilo, so make it clear in README that we actually still
support it (only stand alone case).

Change-Id: I9a5bd97a2a33a12311626bb3fae878bfb5c9d53c
2015-07-29 14:23:42 +02:00
Sam Betts 70378b44c6 Improve support matrix readablity
Change-Id: Iad64c908d926577560f56b263c48f9602938f4bb
2015-07-17 11:46:02 +01:00
Dmitry Tantsur 3b8b8f0601 Clarify version support matrix
Change-Id: Ibafdf2b6033caab7f07dc333430bf000bc22a2f9
2015-07-15 16:08:33 +02:00
Dmitry Tantsur a7788a7a9a Move client out of tree
New home is https://github.com/openstack/python-ironic-inspector-client

Change-Id: I9b252f7007f568bfd19906662d7fb8b2e53574f6
Closes-Bug: #1464707
2015-06-18 16:50:03 +02:00
Dmitry Tantsur dc70218bc5 Final discoverd -> inspector rename/move pass
Change-Id: I12b431525f755172d398d1b6e60ad2b69edb52d4
2015-06-15 15:34:00 +02:00
John Trowbridge 0f2e3964a9 Rename edeploy plugin
Since this plugin is now usable in a more generic way, the name is
changed from edeploy to extra_hardware.

Depends-On: Ie9e017df735a95350991ce419fa3b64249819d70
Change-Id: I690c5c00bc2b0ad1a3f329c9366910f2488e7a0a
2015-06-12 08:00:09 -04:00
Dmitry Tantsur 8d97cdd77b Launchpad project was renamed
Change-Id: I256e54f6dd52fede2fc8995457f4913a91239434
2015-06-03 10:53:14 +02:00
Dmitry Tantsur 823aa71972 Repair devstack plugin after rename
Also move documentation here from always broken etherpad.

Depends on https://review.openstack.org/#/c/186772/
for Ironic inspection to work.

Change-Id: I795aa9405e6141cc82ad0f37b90a3cc6f0d402c0
2015-06-01 11:15:41 +02:00
Dmitry Tantsur d6404d2f99 Rename discoverd -> inspector
As agreed on the summit I'm renaming the python modules
and doing some adjustments:
* This is a breaking change, so version is bumped to 2.0.0
* Used this chance to split conf options over proper sections
* RELEASES.rst is gone; it's too hard to keep it up-to-date;
  anyway git does better job at doing history
* Dropped deprecated option ports_for_inactive_interfaces
* Dropped old /v1/discover endpoint and associated client call
* No longer set on_discovery and newly_discovered in Node.extra
  (deprecated since 1.0.0, superseded by the get status API)
* Default firewall chain name is "ironic-inspector" and
  is configurable

Notes:
* Some links will be updated after real move.
* Stable branches will probably use the old name.
* Some usage of discovery word is left in context of
  "discovered data"
* DIB element will probably be deprecated, so leaving it
  alone for now.
* Some usages of word "discovery" in the README will be updated
  later to make this patch a bit smaller
* Ramdisk code will be moved to IPA, so not touching it too much

Change-Id: I59f1f5bfb1248ab69973dab845aa028df493054e
2015-05-29 09:06:56 +02:00
Dmitry Tantsur 43530a5330 README: More updates for Troubleshooting section
* mention DHCP logs and tcpdump
* clarify mention Red Hat systems
* small tweaks

Change-Id: I68713f278d0a132588edcf09d338e7c7d9891fb6
2015-04-10 15:29:55 +02:00
Dmitry Tantsur d463c590bf Pre-release documentation update
* move out release notes to RELEASES.rst
* create troubleshooting guide
* document interaction with Ironic state machine
* document how discoverd creates/deletes ports
* mention Ironic inspection

Closes-Bug: #1439971
Closes-Bug: #1439276
Change-Id: I11cfcf215083385bbf02f160c858c6da19a91c0e
2015-04-08 11:30:46 +02:00
Dmitry Tantsur 69cf5306aa Add ability to save logs received from the ramdisk
Change-Id: I44abe5f41c83eafd5042434bf2556b8309f4a42a
Partial-Bug: #1439647
2015-04-03 17:07:28 +02:00
Dmitry Tantsur d80c7d5ee5 Enable ramdisk_error plugin by default
Change-Id: I98eac405f289474c7bee6b9fe72f61240d1d7715
Partial-Bug: #1439647
2015-04-02 17:25:01 +02:00
Dmitry Tantsur 0d839308cf Proper errors handling for client
* Introduce a specific exception class (subclasses requests.HTTPError
  to be backward compatible)
* Fetch error message from response body
* i18nize existing errors

Change-Id: I71922895c3177720789c6933da79b8882bfa7127
Closes-Bug: #1428680
2015-03-27 15:33:29 +01:00
YuikoTakada 9ec4f0fbc8 Switch to oslo.config
This patch set adds support for generating config files
using oslo-config-generator.

Old invocation without --config-file is no longer supported.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: If640e6dc83c971a8f82f9b245a4496d298dfd042
Closes-Bug: #1398359
2015-03-24 15:57:14 +01:00
Dmitry Tantsur b9e8e1e73f More generic option for tuning adding ports
New option 'add_ports' with values 'all', 'active', 'pxe'.
Deprecate old option 'ports_for_inactive_interfaces' and drop
introduced in this cycle option 'only_pxe_booting_port'.

Change-Id: I40155fa1c4a54945cdc83506e741fc9be506b9db
Partial-Bug: #1404279
2015-03-23 17:25:52 +01:00