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
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
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
Now in some process, Mogan catch the exception and
then raise a new wsme.exc.ClientSideError with an
additional http_code, but Mogan has defined the
http_code in some exception.
So we didn't need raise a new exception,
just raise the mogan exception if it has the http_code.
Change-Id: I9150301a43046af8a2e7290ccfebad8ca4118f90
Close-Bug: #1699075
For now, we don't implementation the functionality of saving and
displaying floatingip to end users. This patch add that and improve the
check of association and disassociation floating ips.
Change-Id: I2b19dabb89b9915f5e3aec875bff3ef6c011c73a
Closes-Bug: #1698995
The 'message' attribute has been deprecated and removed
from Python3.
For more details, please check:
https://www.python.org/dev/peps/pep-0352/
Change-Id: If69389968f92b2b32f876c10ce9b4a00306c4d2a
Now Mogan can support network_ids in request of creation servers.
This feature introduces the support for specifying the port_ids
in request body too.
Change-Id: I7f25a97da6e45f06f9ef2def68eeaf294659a932
Implements: bp specify-neutron-port-when-creating-instances
This reverts commit 5938805af9.
As we plan to refactor the flavor and will get rid of the nics attribute
so this check will be done by scheduler filters
Change-Id: Ib916951cd2260146840b1fa7fd20aa4317bf8c01