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
the function of create_test_server_group should be used instead
create_test_aggregate
Change-Id: I383bc563d369144a5f918064309b73e7984b61ab
Closes-Bug: #1736331
This change add the implememtation of versioned notifications of server
rebuild action.
- Add notification for server.rebuild.end event
- Add notification for server.rebuild.error event
- Add notification for server.rebuild.start event
Change-Id: If168a95dc090f18e6464a03e5ceec9978b2c2df2
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
Add the DB layer Operations for server tags
- set/unset server tags
- get server tags
- add/delete single tag
- check whether server tag exists
Change-Id: I2338ece8e4ae880835f6e20ef1e9e71a228a9703
Implements: blueprint server-tags-support
Add a new table named 'server_tags' in mogan database. and
provide a migration script to upgrade the old datbase.
Change-Id: I509d4db82d2aaa4c75ba93812ff0055eb3bd56f7
Implements: blueprint server-tags-support
This API is redundant because all the status can be displayed in server
response.
Change-Id: I5013d6746d2f6c4380563f319b3bd1fba7671bd6
Closes-Bug: #1717406
In the BaremetalComputeAPINodesTest test, the resource setup and resource
cleanup have been bypassed.
Change-Id: I0a6ef2921201baa6c2751a888e09073a353c267c
Closes-Bug: #1717185
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