This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.
Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.
Change-Id: I41b2db35cdf21917ac20ed0866af3b9c94789f0b
This file is included from the main documentation, so make it
smaller. Remove a separate MISSION.rst, nobody is going to read it.
Update the links to look more uniform.
Change-Id: I9b88faaad5ad0ccc85a7660d8cd7e8d20f3ed120
The most important bits are updating shade references to remove
the openstack-infra. The other git urls will work through the
redirect, but cleaning them up is just nicer.
This removes two comments that reference files that no longer
exist due to config generation.
Also, fix some random use of github for cloning openstack repos,
since the github mirror is best-effort only.
Change-Id: I55a1d9db940cf5fa2c35421db7add015ae334563
Needed-By: https://review.opendev.org/654056
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
Change-Id: I66ec684f89a842f73f5854ad70c35c8a3d8334dc
It is included into doc/source/index, so its heading levels have to be
compatible with ones there. The same goes for MISSION.
Also fixes incorrect link syntax.
Change-Id: I71f575b72abad0c5992be841ac3ee5ea1094537d
Some of the documentation linking is broken, and will need
to be fixed as the documentation is revamped for the doc
migration.
Change-Id: I23a5f8a7c0cc7b0ce19052a2383e20b96e195996
Reordering documenation for a cleaner presentation
of details, and centralization of howto information.
Change-Id: I758161b46cb19b8871e59cd2b3fcddbfc009b785
Instaling and using Ansible from source for bifrost has several
drawbacks, mainly due to how Ansible's 'ansible/hacking/env-setup'
script mangles with PATH and PYTHONPATH, which complicates running it as
part of other scripts. Besides, cloning the whole repo and it's
submodules is somewhat longer.
The main reason why we were doing that at all was a necessity to install
some additional Ansible modules from newer Ansible versions, which we
dropped right into the source of Ansible code - but this does not have to
be so.
Luckily for us, all Ansible versions we target to support can load
modules from 'library' directory next to playbooks/roles,
and we already use that for 'os_ironic_facts' module.
The need to install a particular module can be assessed by running
ad-hoc 'ansible' command against localhost with the module in question
and without any arguments ('ansible localhost -m <module>'):
- if the module is available in Ansible, the stderr will contain
"changed" substring (as part of the standard module output)
- if the module is absent form Ansible, "changed" string will be absent
from stderr too, in which case we can download the module from github
directly into 'playbooks/library' directory.
This patch removes possibility of installing Ansible from source, and
always installs a released Ansible version via pip.
If not installed into venv, Ansible will be installed in user's ~/.local
directory via 'pip install --user'.
The missing but needed modules are downloaded as described above.
Some level of backward compatibility is provided:
- when the ANSIBLE_GIT_BRANCH has form of 'stable-X.Y', the
env-setup.sh script will do the next best thing and install latest
available Ansible version of X.Y.w.z
Also, ANSIBLE_PIP_VERSION can now accept a full pip version specifier:
- if ANSIBLE_PIP_VERSION starts with a digit, this exact version will be
installed (as 'ansible==X.Y.W.Z')
- otherwize this whole variable is assigned as Ansible version specifier
for pip, e.g
env ANSIBLE_PIP_VERSION="<2.2" env-setup.sh
will result in pip being called as
pip install -U "ansible<2.2"
Closes-Bug: #1663562
Change-Id: I2c9f47abbbb6740d03978f684ad2c876749655b7
AMT drivers have been removed from ironic tree. As a result,
ironic-conductor installed by bifrost with default settings
(enable_pxe_drivers=true) does not start as 'pxe_amt' driver can not be
found.
AMT drivers are now exclusively part of ironic-staging-drivers,
and setting them up (including dependencies installation) must be
handled by tasks installing those.
Change-Id: Ie85f8b7453bd99e824f63e41003db8089026d8c1
This change introduces fixes, which allows install Ironic on remote
server. This may not complete list of changes required for all
operations.
Also added group 'target' to inventory file, which is same as localhost
by default, and host in this group can be replaced by remote host.
Change-Id: I59c942d2556c5e1b7eee661fb8cf13c4ae02b2d1
SUSE support has been added a while ago and openSUSE Leap is being
tested in the OPNFV CI so add it to the list of supported
distributions.
Change-Id: Ie004ea88d02a35c57786b2249c2fbd94ac99ea7d
* Adding keystone support reference to documentation.
* Adding Xenial to the list of supported Ubuntu distributions.
Change-Id: Id093d2e474c6e9501599431342d208886d04444c
The filename was incorrectly implemented as network_info.json instead
of network_data.json. Support for reading the correct file already
exists in glean. As such, we need to write both files for user
compatability in the short term, and remove the second file at a
later point in time.
A release note has been added detailing this as well.
Co-Authored-By: Julia Kreger <juliaashleykreger@gmail.com>
Change-Id: I4150f86fbc141dcd6fd12094acab1ca43d76910c
- When referering to the ANSIBLE_INSTALL_ROOT, the stack subdir is not
to be used
- Improve setup verification by giving an example of ironic command to pass
Change-Id: Ib0471e5170d64684e9a6137da5e9b0ccad35a668
Setting the OS_AUTH_TOKEN to empty space as stated on the docs
and env-vars no longer works, it errors out a message from requests
library.
Changing to dummy 'fake-token' fixes this.
Change-Id: Ia02aa3c56e7231a33a02474d01e9a7a2e6bfc223
Closes-Bug: #1612577
We currently use fairly similar playbooks for the regular test vs
the dhcp test. Consolidate these into one playbook to make things
easier to maintain in the future. Add a deprecation warning
indicating that the existing test playbooks will be removed in
the Ocata cycle.
Change-Id: Ib78821d4ebfe4125405e301b5f19b31b1e3cdbc8
The playbook unprovisions the nodes, giving each node a configurable amount
of time to change to provision state 'available'. Then it deploys
the nodes, giving each node a configurable amount of time to change to
provision state 'active'
Change-Id: I1e477c2dee3d0c40f467cd9e1906fd3dfa7cc1bd
This change helps with the remote problem where ansible is installed
on a machine using the same script by User A and User B is also
trying to use ansible using the same method. The change lets each
user have his own copy of ansible installed in a directory of
his/her choosing.
Change-Id: I8fddaaa8cad291da840ac44c4b1e9a7a93f92aee
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Partial-Bug: #1589672
The public key parameter should be set and
point to the public key that you wish to
inject into systems built with ironic.
Otherwise, the ansible deploy call fails.
Change-Id: I986bb9cabf44ad8940a8e57a37435e3880bc5c01
In order to avoid dependency issues, etc., we would like
the ability to use bifrost with a python venv. Provide
experimental support in the install role for venv but
leave it off by default.
Implements: blueprint bifrost-venv-use
Change-Id: I3d6e01825358fcd766ae890bde10fa14fb0b28be
This change adds flag 'inventory_dhcp_static_ip' to the
deploy-nodes-dynamic role.
If set to true, it will read the new 'provisioning_ipv4_address'
key from the inventory machine section and use that as assigned
IP for the machine mac.
If set to false, dnsmasq will assign IPs from the configured DHCP
range.
An inventory machine example specifying provisioning_ipv4_address:
"compute00.hpuseast.ic.openstack.org": {
"ansible_ssh_host": "15.126.48.52",
"ipv4_address": "15.126.48.52",
"provisioning_ipv4_address": "10.23.212.5",
"uuid": "30303536-3734-5355-4532-333745314C41",
"driver_info": {
"power": {
"ipmi_address": "1.1.1.1",
"ipmi_username": "xxx"
"ipmi_password": "moarxxx"
}
}
Change-Id: I9083cd34096aad04136564c2ded024527c88c711
Added drivers support details, as well as the stance on the
OneView driver since it requires explicit global configuration.
Change-Id: Idd4a0b6e3717a584f9c4b44f2f5939d67d413eaf
In the event that Debian is selected or defaulted to for an image
build operation, then that image should be jessie based.
Added logic to check and set if so, and permit user override.
Change-Id: I2c54cd4ec11fe85c246c25c3bcc219a22ef26b12
In this patch will add basic steps, such as git clone the code
into README.rst for beginners to have a step by step guide.
Change-Id: I1d701a509fd0fc1fa5533ca61f31038bca56aaa1
Partial-Bug: #1519582
Upon reflection, we have determined that we need to provide
a greater amount of context to those contributing in order to
drive a higher quality end result.
Change-Id: I8f0a24d929db78a45fdda2e30091aeb945c2802b
Miscellaneous cleanups, including:
- Fixed typos
- Consistent markup of literals
- Fixed markup of internal & external hyperlinks
- Reflowed text where appropriate to be more
considerate to readers viewing the plaintext version
- Consistent capitalization for ironic
- Update supported versions to reflect recent work
Change-Id: I4ef35599d552a19d98c4a51893f443a54307c160
Support to enable building an IPA image for testing
and script to leverage testing image building.
Change-Id: I31263909d2cb275491e57d7ed8c3f08a86462699
Removal and split of the group_vars all file resulted in a general
clean-up and optomization of dependency information with-in the
roles as defaults are required and a number of them were being
supplied from group_vars/all.
Additionally split out the group_vars/all file into
group_vars/baremetal and group_vars/localhost files with
improved comments to help direct a user wanting to perform
deeper customization.
Due to variable loading processes, additionally unwire the bifrost-
create-bootable-image role, as it is no longer developed upon and
the default vars are conflicting with the variables used across
role.
Additionally updated READMEs where appropriate.
Co-Authored-By: stephane <stephane@alum.mit.edu>
Change-Id: Ia6226a8573753ff02da19dcb3c2b5abfb9b3c297
Removed legacy roles that utilize the baremetal.csv and looping
to achieve the desired results which was extremely limiting and the
predicessor to the dynamic inventory module and roles which
allow greater flexibility.
Additionally updated the deploy and enroll yaml files to redirect
users to the newer process and updated the README to remove
references to the older process.
Change-Id: Ia394652686608c012a848c0329195fba9abd45d1