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
We are using keystone session to build ironic client now, keystone
session support to re-auth for expired token, so we don't need to
re-auth again in client wrapper. This logic is removed from nova
in Ifbb6e19d4e2811ebaafc4e5899e46b13b4520f62.
Change-Id: Id319a01c8745b466aaf77b9087ffb2f3fd1e5533
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
We copied some codes/frameworks from Nova, but frogot to add
the original file informations, this tries to add them back.
Change-Id: I310d94fc334b6e72dc5eafa316f1b4842066ccbe