python-openstackclient for ironic-discoverd fails like:
$ openstack baremetal introspection status <uuid>
ERROR: openstack 'utf8' codec can't decode byte 0xa5 in position 89:
invalid start byte
When set "DISCOVERD_URL" environment value as http://<my_ip>:5050,
this error doesn't occur.
So that, the reason of this error is using localhost as default url.
This patch set fix the default url to host's URL.
Change-Id: I59e6bf30c19eee65b52e8d2bd56c148cd3b29efa
Closes-Bug: #1439468
* 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
Tuned by 'keep_ports' option:
* all (the default) - do nothing
* present - delete ports not in introspection data
* added - delete all ports except for what was created by introspection
Change-Id: I54741e3101759f0bbf40d6fa99c66b5f6ec211f3
Closes-Bug: #1404279
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
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
* Split away HTTP API and make sure usage info is enough for users
* Drop release notes for unsupported 0.2
* Various link updates and small fixes
* Forward-port 1.0.1 release notes
Change-Id: Ifa2b306d4a6fff19abc1565dabe7f6609363dc08
We want to store the benchmark data collected by the eDeploy
ramdisk. As this data is somewhat tricky to seperate out from the
facts collected by eDeploy, and the other facts may prove useful
for other cases, this patch just stores all of the collected data.
The collected facts are stored in the extra column of the Ironic
database under the 'edeploy_facts' key. This will allow us to do
manual analysis of the benchmark data before moving the node to
the available state.
Change-Id: Iadc5d1160cea4834184375adfba3bec2bf3d3d5c
There is no reason not to trust Ironic in doing its job, and
this wait loop will cause false negative, if service restart
happens in the middle.
Also move call to finished() before updating node.extra with
newly_discovered for the same reason.
Change-Id: I601b2660635783c8f0c59e17ca3392c347eafa53
Partial-Bug: #1421678
This patch set stops to check the power state of the physical machine
before deploy.
Change-Id: Icde18ec2fffd269605e78b1d5a9a0c080929a5b5
Closes-Bug: #1414986
If a node already has some capabilities specified make sure the eDeploy
pluging don't overwrite it when adding the node profile match.
Change-Id: I0651d82d5bebd1f232ad46f9f8cd261908f21cfd
It is possible for ipmi_address, ilo_address, or drac_host to be
hostnames. However, we need an IPv4 address.
Closes-Bug: #1415040
Change-Id: I221e63ffe8881ad26f512fb29328ffcad8e26b45