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
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
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
We copied some codes/frameworks from Nova, but frogot to add
the original file informations, this tries to add them back.
Change-Id: I310d94fc334b6e72dc5eafa316f1b4842066ccbe
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 field will indicate whether we should delete or unbind the
port during server deletion or detaching interfaces.
Change-Id: I25834a82b83806bf87b4c7006a8d33d56e2ce976
Closes-Bug: #1715040
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 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
As we don't move server status to error when power action failed, the
status will be stuck in *ing forever.
Change-Id: Ie98ec4c5d2d848ca13dae4d891f762cd58650fad
Closes-Bug: #1690096
This change will allow the scheduler to select nodes with specified server
group in schedule_hints.
Partially Implements: bp support-schedule-hints
Change-Id: Idecd5e5f470eee12de0088b2332874b43f9dae52
We should extract resources aggregates information from flavor,
and pass it to placement with resources filters.
Partially Implements: bp node-aggregate
Change-Id: I96eeb7ab6636fa241e7d82bbddad8d70791c1f43
This change adds ServerGroup and ServerGroupList objects
Partially Implements: bp server-group-api-extension
Change-Id: Iaff5d00aa27d36852421233a8b8f466ce2088667
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
* list nodes for the specified aggregates
* add node to an aggregate
* remove node from an aggregate
Change-Id: I78ce523c7ba26860e02dcde84bcb84a6cc0c60ee
Introduce the quota management in keypair creation and deletion.
Change-Id: I8241b0bfb38a9c41b564df07a7799e4bc5438c0d
Implements: blueprint quota-support
This change clean the compute_node and compute_port versioned object
implementation and them db interfaces, after we totally switch to use
placement, we don't need to store any node info in Mogan's db.
Partially Implements: bp track-resources-using-placement
Change-Id: I515674d17a85a77a9380a60ef918dc6dbda8ed83
Currently, the port is not removed correctly when plug vif failed,
So we should fix it.
Change-Id: I095f0c3cc8fa281beb494a19f25cc20774df21f2
Closes-Bug: #1700437
The `resource_traits` field is intended to be used to reference
the resource qualities.
Partially Implements: bp new-flavor
Change-Id: I5fa154dbf8bc96d15c3cdd3699c671e5eccc1cdd
The `resources` field is intended to be used to reference baremetal
node resource classes and also other generic resources in the cloud
tracked by placement.
Partially Implements: bp new-flavor
Change-Id: I4e8fe15aed612e62cec96d1acad236cd0924d597