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
This change set the project_id when importing a existing keypair and add
quota check. Actually, we should introduce user based quota for keypair
quota check and get rid of project_id, that should be done in future.
Change-Id: Idd7f2ce62de9372add50a3542e829602e3ce7612
Closes-Bug: #1717870
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
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
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
Now Mogan will release in Pike, there are some
logs missing in some operations,
those should be added for reliability.
Change-Id: I90df3a3a5bda67ea6dae8400d37d7b90d744c429
Closes-Bug: #1710107
We moved the admin role check to db api side, so common users will get
a NotFound error, if they try to get a disabled flavor. Also we check
whether the flavor disabled on api side, if so, we will raise a
FlavorDisabled error to admin users.
Change-Id: I4b4595bab266a7041b860e582c64a0198e50c322
We don't have default availabiliby zone for node, so it's appropriate
to use default_schedule_zone for scheduling if users don't specify
which az they want the server in.
Change-Id: Ieec7ec3144bb1f1595378eb0bde23f03b25b3498
Closes-Bug: #1709514
This tries to remove aggregate from resource provider in placement
when removing the aggregate.
Partially Implements: bp node-aggregate
Change-Id: Ia80a92ea8e19650b7b53d4d771e848079039aa28
* 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 adds support for listing node names from resource providers,
which will only available for admins.
Partially Implements: bp node-aggregate
Change-Id: I414bf176302fc076288e6a6fbfd88a7090541622
This make availability zone list based on aggregate metadata.
Partially Implements: bp node-aggregate
Change-Id: I74d705e2b09c08afadbeacee1f0efa5655ffbcd6
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
This change change the scheduler to use placement api to filter query
nodes with specified resource class of flavor, and clean the filters
and weighers in scheduler.
Change-Id: I89ad443f553510da6daf289b83f3c30d9d546ace
Partially Implements: bp track-resources-using-placement
The `disabled` field is intended to be used when phasing out
flavors. In this case, a delete wouldn't work because the flavor
needs to still be available for live servers using that flavor,
but we don't want to allow *new* servers created from that flavor.
Partially Implements: bp new-flavor
Change-Id: I12713bfe13f506a0d9bb79f733b00bd637ef227b
Select all available nodes before staring to create servers. If not
enough nodes for request instances, then abort the this process.
Closes-Bug: #1691699
Change-Id: I041927ed056859f30829b5fdcd0f7b486832424a
This removes default_schedule_zone, change to just use default
availability zone.
Change-Id: I6c8529ca4f341488cb4cd8ad692bfe5010f7dc09
Closes-Bug: #1693957
This addes the ability to inject files on instance launch. We follow
nova's way to use 'personality' to specify the files.
Change-Id: Ic74632b0922d2c7e2dd9b2907304e45ade7376c4