Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
b19222e6
Commit
b19222e6
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Update IPA docs and test build with extra-hardware"
parents
d14aa37c
d765fbc5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/source/configuration/reference/ironic-python-agent.rst
+7
-29
7 additions, 29 deletions
doc/source/configuration/reference/ironic-python-agent.rst
playbooks/kayobe-seed-base/overrides.yml.j2
+3
-1
3 additions, 1 deletion
playbooks/kayobe-seed-base/overrides.yml.j2
with
10 additions
and
30 deletions
doc/source/configuration/reference/ironic-python-agent.rst
+
7
−
29
View file @
b19222e6
...
@@ -25,7 +25,7 @@ The following options cover building of IPA images via Diskimage-builder (DIB).
...
@@ -25,7 +25,7 @@ The following options cover building of IPA images via Diskimage-builder (DIB).
Consult the :diskimage-builder-doc:`Diskimage-builder documentation <>` for
Consult the :diskimage-builder-doc:`Diskimage-builder documentation <>` for
full details.
full details.
The default configuration builds a CentOS
7
ramdisk image which includes the
The default configuration builds a CentOS
8
ramdisk image which includes the
upstream IPA source code, and has a serial console enabled.
upstream IPA source code, and has a serial console enabled.
The images are built for Bifrost via ``kayobe seed deployment image build``,
The images are built for Bifrost via ``kayobe seed deployment image build``,
...
@@ -279,16 +279,6 @@ inspection.
...
@@ -279,16 +279,6 @@ inspection.
Example: Adding the ``extra-hardware`` collector
Example: Adding the ``extra-hardware`` collector
------------------------------------------------
------------------------------------------------
.. note::
The ``hardware`` Python package has dropped support for Python 2. If you
are using an IPA image that uses Python 2 by default, for example CentOS 7,
you will need to use a version of the ``hardware`` package that is no
greater than ``0.23.x``. You can specify the version using the
``DIB_IPA_HARDWARE_VERSION`` environment variable. This can be added
to the ``ipa_build_dib_env_extra`` dictionary in ``${KAYOBE_CONFIG_PATH}/ipa.yml``.
For example: ``DIB_IPA_HARDWARE_VERSION: "0.23.0"``.
The ``extra-hardware`` collector may be used to collect additional information
The ``extra-hardware`` collector may be used to collect additional information
about hardware during inspection. It is also a requirement for running
about hardware during inspection. It is also a requirement for running
benchmarks. This collector depends on the Python `hardware package
benchmarks. This collector depends on the Python `hardware package
...
@@ -303,29 +293,17 @@ The following example enables the ``extra-hardware`` collector:
...
@@ -303,29 +293,17 @@ The following example enables the ``extra-hardware`` collector:
ipa_collectors_extra:
ipa_collectors_extra:
- "extra-hardware"
- "extra-hardware"
The `StackHPC image elements
The ``ironic-python-agent-builder`` repository provides an `extra-hardware
<https://github.com/stackhpc/stackhpc-image-elements>`__ git repository
element
provides an ``ipa-extra-hardware`` element which may be used to install this
<https://docs.openstack.org/ironic-python-agent-builder/latest/admin/dib.html#ironic-python-agent-ipa-extra-hardware>`__
package. It may be used as follows if building an IPA image locally:
which may be used to install this package. It may be used as follows if
building an IPA image locally:
.. code-block:: yaml
.. code-block:: yaml
:caption: ``ipa.yml``
:caption: ``ipa.yml``
ipa_build_dib_elements_extra:
ipa_build_dib_elements_extra:
- "ipa-extra-hardware"
- "extra-hardware"
ipa_build_dib_git_elements:
- repo: "https://github.com/stackhpc/stackhpc-image-elements"
local: "{{ source_checkout_path }}/stackhpc-image-elements"
version: "master"
elements_path: "elements"
ipa_build_dib_env_extra:
# This is to workaround the fact that pip > 10 will produce an error if
# you try and uninstall a distuils installed package. Previous versions
# would remove the metadata only - leaving the code intact, see:
# https://bugs.launchpad.net/diskimage-builder/+bug/1768135
DIB_INSTALLTYPE_pip_and_virtualenv: package
Example: Passing additional kernel arguments to IPA
Example: Passing additional kernel arguments to IPA
---------------------------------------------------
---------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
playbooks/kayobe-seed-base/overrides.yml.j2
+
3
−
1
View file @
b19222e6
...
@@ -25,5 +25,7 @@ pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
...
@@ -25,5 +25,7 @@ pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
aio_bridge_ports:
aio_bridge_ports:
- dummy1
- dummy1
# Build seed deployment images (IPA)
# Build seed deployment images (IPA)
with extra-hardware element
ipa_build_images: true
ipa_build_images: true
ipa_build_dib_elements_extra:
- "extra-hardware"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment