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 adds root disk partitons support to allow users to specify
root, ephemeral, and swap size.
Implements: bp root-disk-partitions
Change-Id: I9562f39501c23579ba561f0cd4cbb8ef60674a6b
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 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
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
Now Mogan can support network_ids in request of creation servers.
This feature introduces the support for specifying the port_ids
in request body too.
Change-Id: I7f25a97da6e45f06f9ef2def68eeaf294659a932
Implements: bp specify-neutron-port-when-creating-instances
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
TrivilalFix
Following OpenStack Style Guidelines:
[1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
[H203] Unit test assertions tend to give better messages for more
specific assertions. As a result, assertIsNone(xxx) is preferred over
assertEqual(None, xxx) and assertIs(xxx, None)
Change-Id: I8ea5708d2dd71ed29abdf21036f0d671eff2cd26
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
There's no need to issue a rpc request to manager to list az from DB,
we can just do it from api side, also this saves a rpc call.
Change-Id: Ie10db1f0df3a255d4bdbfb334936a9c03e3e900c
This patch introduces the quota operation in
creating and deleting instances process.
Change-Id: If6573fafc5acb805cf727acdc8f0f9872fc1a717
Implements: blueprint quota-support
Adds lock/unlock api for mogan.
This patch is the last of lock/unlock api in mogan server side.
And this patch aims to add lock state checking when executing
other operations.
Change-Id: I58075b21d76d00a1acf41ecf782531516ca959a9
Implements: bp lock-instances
Adds lock/unlock api for mogan.
This commit finish the main flows and leave some lock state
check for another commit.
Change-Id: Ib4bb8b87384b6a3eba845b3ddcd8bd6f1d3dc6c9
Implements: bp lock-instances
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