Mogan should support to inject an admin password into a bare metal server.
DocImpact
APIImpact
Change-Id: Id3487b7aea699353aedd49a51d9a5a2e250943b9
Implements: bp admin-password-support
This adds root disk partitons support to allow users to specify
root, ephemeral, and swap size.
Implements: bp root-disk-partitions
Change-Id: I9562f39501c23579ba561f0cd4cbb8ef60674a6b
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
* add missed cache and auth_token oslo config entrypoints.
* make placement and shellinabox config options can be recognized.
Change-Id: Ic277ebfe02616db3aca7623d404cf64494d82993
Closes-Bug: #1709275
Introduce the quota management in keypair creation and deletion.
Change-Id: I8241b0bfb38a9c41b564df07a7799e4bc5438c0d
Implements: blueprint quota-support
remove support for specifying client auth in keystone_authtoken config section.
This was deprecated about a year ago and now can safely be removed.
This change reference to the ironic patch[1]
[1] https://review.openstack.org/#/c/469626/
Change-Id: I9d22dd41e603e618230e656e91496462bde1c0e0
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
In both Mogan and oslo_db, there are many places directly use the 'InnoDB'
as mysql engine, we don't need to define a specific config option in
Mogan.
Change-Id: I70be7dd6767cf5f4d3122fa7255a64ab5911c9e4
This change importing placement service, report nodes resources to
placement and use it as unique nodes resource provider service for
Mogan's scheduler.
Co-Authored-By: Zhenguo Niu <Niu.ZGlinux@gmail.com>
Change-Id: I1cb91a10cfc8139687ad44167f33f45fd3c08e5c
Partially Implements: bp track-resources-using-placement
This removes default_schedule_zone, change to just use default
availability zone.
Change-Id: I6c8529ca4f341488cb4cd8ad692bfe5010f7dc09
Closes-Bug: #1693957
We should avoid set compute node availability zone to str(None),
When it's None, just leave it to NULL.
Also, this change the default availability zone to mogan.
Change-Id: I25fdeeb1e2544c07089977fd3463572c0c96b510
This adds some simple metadata information, following up
patches will add more capabilities
Co-Authored-By: Shaohe Feng <shaohe.feng@intel.com>
Change-Id: Idaa3ab813b5355ce44e97fa069cd7b664f8b4761
This change added a function in mogan-engine to get the console info
from ironic.
Change-Id: I2b181ddfe2edcf0c7b84a1188d5042ad59886ee6
Partially-Implements: bp console-support
This patch introduces the quota operation in
creating and deleting instances process.
Change-Id: If6573fafc5acb805cf727acdc8f0f9872fc1a717
Implements: blueprint quota-support
Some configuration options were accepting both IP addresses
and hostnames. Since there was no specific OSLO opt type to
support this, we were using ``StrOpt``. The change [1] that
added support for ``HostAddressOpt`` type was merged in Ocata
and became available for use with oslo version 3.22.
This patch changes the opt type of configuration options to use
this more relevant opt type - HostAddressOpt.
[1] I77bdb64b7e6e56ce761d76696bc4448a9bd325eb
Change-Id: Ib44dd37fb3e7d3478ba158c77d22f3c1006bd8c3
This tries to save available nodes resources to DB, but we still
use node cache for scheduling, will add following up patches to
finish to whole refactor.
Note: This also change to use node_type from ironic node instead
of instance_type.
Change-Id: Ic43180a8c85e36ef8e04edb2b99044b1d715cbd1
Add BaseEngineDriver class, copy current ironic operations to
IronicDriver, modify mananger and base manger to separate driver
interface and manger.
Co-Authored-By: Zhenguo Niu <Niu.ZGlinux@gmail.com>
Change-Id: I1f503f925f24975a20ec5892b4aa107ae194fbca
Implements: blueprint engine-driver-framework
Support quota features in Mogan.
This patch will introduce the basic concepts
of quota, including Quota, QuotaUsage, Reservation,
QuotaDriver.
Change-Id: I654b3f60880d4ab817b1b457e47882be5adca831
Implements: bp quota-support
Support to create multi-instance in one request of mogan.
This commit finish the main flows and leave some network check
for another commit.
Implements: bp support-multiple-creation
Change-Id: I24fcc94c8acfb8b351579a5a96eb129c7a59efbe
The option determines the availability zone to be used when it is
not specified in the baremetal node. default_schedule_zone is used
for scheduling when it is not specified in the instance creation
request, if it is not set, any node can pass the scheuling az filter.
We use 'nova' as the default value to avoid issues in cross projects
scenario.
Change-Id: Ib8aee86ffc6c552891555fb553438ae65fc01b7a
The default is to preferably choose nodes with less ports.
If you prefer choosing more ports nodes, you can set the
'port_weight_multiplier' option to a positive number and
the weighing has the opposite effect of the default.
Change-Id: Ic936301a83658ebba5fb9a689505acb5a090aa71
This filter will check whether the node ports satisfy the
specified networks requirements including ports quantity
and types.
Change-Id: I793a3a78d6c59ae4eb57dc6bdd49af4eef545820