Now when Mogan manage the baremetal node from driver,
Mogan didn't know it is a managed server.
We need add this information "managed_server=True" to
system metadata for internal use.
So this patch will finish two jobs:
1. Implements the system metadata in Mogan
2. Add manageable server information into system metadata
Co-Authored-By: Xinran WANG <xin-ran.wang@intel.com>
Change-Id: I89947796e120d89ec56f8f5daeb9774cf15b6bd0
Implements: blueprint system-metadata
Closes-Bug: #1727913
Mogan should support to inject an admin password into a bare metal server.
DocImpact
APIImpact
Change-Id: Id3487b7aea699353aedd49a51d9a5a2e250943b9
Implements: bp admin-password-support
locked_by can be used to check the lock status, there's no
need to keep locked field.
Change-Id: I3761ab710cf67d56163a39add4c51ee48f940a36
Closes-Bug: #1727944
We should support to return a list of servers according to users' requirements.
In this patch, marker, limit, sort_key and sort_dir were added in server list
API.
- marker is used to display a list of servers after marker
- limit is used to determinate the maximum number of servers to display
- sort_key is used to sort the returned server list by specified key value
- sort_dir is used to select a sort direction
DocImpact
APIImpact
Change-Id: Id70e965794c82a0a29e53d4364f65b0f39042c7c
Closes-Bug: #1726665
This API is redundant because all the status can be displayed in server
response.
Change-Id: I5013d6746d2f6c4380563f319b3bd1fba7671bd6
Closes-Bug: #1717406
As we can't support traits now when talking to placement, so
disable it to avoid to confuse users.
Change-Id: Ib739f0cae03bf12b1c7ae1af7c3a9ec94b40cce1
Currently we support to list compute nodes and aggregate nodes
with names, but server show will return the node uuid always,
which makes the admins have to go to ironic to get the relationship
between name and uuid, so this changes to return node name.
Change-Id: I6f1e5d0f9cfe277fe952d21b38ebfe68dde4f745
Closes-Bug: #1715036
This adds root disk partitons support to allow users to specify
root, ephemeral, and swap size.
Implements: bp root-disk-partitions
Change-Id: I9562f39501c23579ba561f0cd4cbb8ef60674a6b
Currently we don't support preserving ephemeral partition when
requesting to rebuild, we need to expose the ability to users.
Change-Id: Ia10ab6a8d6dd6beba8837e7d0414dc6984dd2426
Closes-Bug: #1714852
Currently we support to list compute nodes and aggregate nodes
with names, but server show will return the node uuid always,
which make the admins have to go ironic to get the relationship
between name and uuid, so this changes to return node name.
Change-Id: Ia0e5122aa29c4de2e870c5b71c420de49530ba92
Closes-Bug: #1715036
Replace server.nics with server.addresses to only return basic
addresses info with server API object, and we also provide an
API to get networks infomation.
Change-Id: If684252f8112e3879f096403d5b9daed2bd5951a
This patch introduce a new API:
'GET: /manageable_servers' to list the adoptable nodes
from drivers to operators.
As a reference, now we implement api in the Ironic driver.
APIImpact
Implements: bp manage-existing-bms
Change-Id: I56340ce534c3b8d4e855a4c753ecf90a07147d29
* Do not allow empty affinity zone
* A node can not be in different affinity zone
Partially Implements: bp server-group-api-extension
Change-Id: I0b96ddd16bd51975d1fadb93760854bb8c486be7
The disabled field is intended to not allow new servers
created from that flavor, so this makes it happen.
Partially Implements: bp new-flavor
Change-Id: I7a3509cef6f5dea5c7d6eac63fbb179a9850daae
This makes it only allow to update '/name', '/is_public',
'disabled' attributes.
Partially Implements: bp new-flavor
Change-Id: I8eb584ee47ce6bcdc2fe229485fa8540d48aa923
This tries to remove aggregate from resource provider in placement
when removing the aggregate.
Partially Implements: bp node-aggregate
Change-Id: Ia80a92ea8e19650b7b53d4d771e848079039aa28
This addes a new aggregates field to flavor including
aggregates metadata key/value pairs. Then we can extract
resources quantitive, qualative and group informations
from flavors.
Change-Id: Ia85ff44fa9aabf2ef172c65c9ba9a3f0ce611b50