From 1f318b5ebb44c33a8d9188425ac07b5d7c858dcf Mon Sep 17 00:00:00 2001 From: Domen Date: Tue, 10 Jan 2023 13:17:44 +0100 Subject: [PATCH 1/3] update changelog to 1.1.0 version --- CHANGELOG.rst | 27 ++++++ changelogs/.plugin-cache.yaml | 129 +++++++++++++++++++++++++++ changelogs/changelog.yaml | 20 +++++ changelogs/fragments/release_110.yml | 14 +++ galaxy.yml | 2 +- plugins/modules/vm.py | 1 + 6 files changed, 192 insertions(+), 1 deletion(-) create mode 100644 changelogs/.plugin-cache.yaml create mode 100644 changelogs/fragments/release_110.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 118342640..e5171adbe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,33 @@ Scale_Computing.Hypercore Release Notes .. contents:: Topics +v1.1.0 +====== + +Release Summary +--------------- + +Feature release with minor changes and small bugfixes. + +Minor Changes +------------- + +- 'machine_type' option added to vm module. +- 'put' now implemented and added to 'action' option in api module. +- 'source' option added to api module. + +Bugfixes +-------- + +- CD_ROM should be created without passing the size option to vm_disk module. +- Changing the 'tiering_priority' does not require machine restart and values are now mapped properly. +- Idempotence for module snapshot_schedule. +- Issues with 'cloud_init' option now fixed, created IDE_DISK is not overriden. +- Make sure enlarging the virtual disk does not require machine restart. +- Makes sure that vm_disk module reports changes when ISO is detached. +- Option 'attach_guest_tools' now works as intended with Windows systems. +- Timeout is now properly applied and overrides the default. + v1.0.0 ====== diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml new file mode 100644 index 000000000..7511a4ae9 --- /dev/null +++ b/changelogs/.plugin-cache.yaml @@ -0,0 +1,129 @@ +objects: + role: {} +plugins: + become: {} + cache: {} + callback: {} + cliconf: {} + connection: {} + filter: {} + httpapi: {} + inventory: + hypercore: + description: Inventory source for Scale Computing HyperCore. + name: hypercore + version_added: 1.0.0 + lookup: {} + module: + api: + description: API interaction with Scale Computing HyperCore + name: api + namespace: '' + version_added: 1.0.0 + iso: + description: Manage ISO images on HyperCore API + name: iso + namespace: '' + version_added: 1.0.0 + iso_info: + description: Retrieve ISO images + name: iso_info + namespace: '' + version_added: 1.0.0 + node_info: + description: Returns information about the nodes in a cluster. + name: node_info + namespace: '' + version_added: 1.0.0 + remote_cluster_info: + description: Retrieve a list of remote clusters. + name: remote_cluster_info + namespace: '' + version_added: 1.0.0 + snapshot_schedule: + description: Manage snap schedule to configure the desired schedule of snapshot + creation. + name: snapshot_schedule + namespace: '' + version_added: 1.0.0 + snapshot_schedule_info: + description: Retrieve information about an automated VM snapshot schedule. + name: snapshot_schedule_info + namespace: '' + version_added: 1.0.0 + task_wait: + description: Wait for a HyperCore TaskTag to be finished. + name: task_wait + namespace: '' + version_added: 1.0.0 + vm: + description: Create, update or delete a VM. + name: vm + namespace: '' + version_added: 1.0.0 + vm_boot_devices: + description: Manage HyperCore VM's boot devices + name: vm_boot_devices + namespace: '' + version_added: 1.0.0 + vm_clone: + description: Handles cloning of the VM + name: vm_clone + namespace: '' + version_added: 1.0.0 + vm_disk: + description: Manage VM's disks + name: vm_disk + namespace: '' + version_added: 1.0.0 + vm_export: + description: Handles export of the virtual machine + name: vm_export + namespace: '' + version_added: 1.0.0 + vm_import: + description: Handles import of the virtual machine + name: vm_import + namespace: '' + version_added: 1.0.0 + vm_info: + description: Retrieve information about the VMs. + name: vm_info + namespace: '' + version_added: 1.0.0 + vm_nic: + description: Handles actions over network interfaces + name: vm_nic + namespace: '' + version_added: 1.0.0 + vm_nic_info: + description: Returns info about NIC + name: vm_nic_info + namespace: '' + version_added: 1.0.0 + vm_node_affinity: + description: Update virtual machine's node affinity + name: vm_node_affinity + namespace: '' + version_added: 1.0.0 + vm_params: + description: Manage VM's parameters + name: vm_params + namespace: '' + version_added: 1.0.0 + vm_replication: + description: Handles VM replications + name: vm_replication + namespace: '' + version_added: 1.0.0 + vm_replication_info: + description: Returns info about replication of a specific VM + name: vm_replication_info + namespace: '' + version_added: 1.0.0 + netconf: {} + shell: {} + strategy: {} + test: {} + vars: {} +version: 1.1.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 633c2c061..695acb7ea 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -76,3 +76,23 @@ releases: name: hypercore namespace: null release_date: '2022-10-07' + 1.1.0: + changes: + bugfixes: + - CD_ROM should be created without passing the size option to vm_disk module. + - Changing the 'tiering_priority' does not require machine restart and values + are now mapped properly. + - Idempotence for module snapshot_schedule. + - Issues with 'cloud_init' option now fixed, created IDE_DISK is not overriden. + - Make sure enlarging the virtual disk does not require machine restart. + - Makes sure that vm_disk module reports changes when ISO is detached. + - Option 'attach_guest_tools' now works as intended with Windows systems. + - Timeout is now properly applied and overrides the default. + minor_changes: + - '''machine_type'' option added to vm module.' + - '''put'' now implemented and added to ''action'' option in api module.' + - '''source'' option added to api module.' + release_summary: Feature release with minor changes and small bugfixes. + fragments: + - release_110.yml + release_date: '2023-01-10' diff --git a/changelogs/fragments/release_110.yml b/changelogs/fragments/release_110.yml new file mode 100644 index 000000000..be8f1fb56 --- /dev/null +++ b/changelogs/fragments/release_110.yml @@ -0,0 +1,14 @@ +release_summary: Feature release with minor changes and small bugfixes. +minor_changes: + - "'source' option added to api module." + - "'put' now implemented and added to 'action' option in api module." + - "'machine_type' option added to vm module." +bugfixes: + - "Timeout is now properly applied and overrides the default." + - "Option 'attach_guest_tools' now works as intended with Windows systems." + - "Idempotence for module snapshot_schedule." + - "Issues with 'cloud_init' option now fixed, created IDE_DISK is not overriden." + - "Makes sure that vm_disk module reports changes when ISO is detached." + - "Changing the 'tiering_priority' does not require machine restart and values are now mapped properly." + - "Make sure enlarging the virtual disk does not require machine restart." + - "CD_ROM should be created without passing the size option to vm_disk module." \ No newline at end of file diff --git a/galaxy.yml b/galaxy.yml index 553ab39f8..97ae455aa 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: scale_computing name: hypercore -version: 1.0.0 +version: 1.1.0 readme: README.md authors: - XLAB Steampunk diff --git a/plugins/modules/vm.py b/plugins/modules/vm.py index 7254da323..9b2af2adc 100644 --- a/plugins/modules/vm.py +++ b/plugins/modules/vm.py @@ -212,6 +212,7 @@ - Only relevant when creating the VM. This property cannot be modified. type: str choices: [ BIOS, UEFI, vTPM+UEFI ] + version_added: 1.1.0 notes: - C(check_mode) is not supported. """ From 648102004181fd53632b5e9994f65691077c9aee Mon Sep 17 00:00:00 2001 From: Domen Date: Tue, 10 Jan 2023 14:27:29 +0100 Subject: [PATCH 2/3] Changes to changelog --- CHANGELOG.rst | 6 +- changelogs/.plugin-cache.yaml | 129 --------------------------- changelogs/changelog.yaml | 6 +- changelogs/fragments/.gitignore | 1 + changelogs/fragments/release_110.yml | 6 +- 5 files changed, 10 insertions(+), 138 deletions(-) delete mode 100644 changelogs/.plugin-cache.yaml create mode 100644 changelogs/fragments/.gitignore diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e5171adbe..cf63a901d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,9 +16,9 @@ Feature release with minor changes and small bugfixes. Minor Changes ------------- -- 'machine_type' option added to vm module. -- 'put' now implemented and added to 'action' option in api module. -- 'source' option added to api module. +- Added 'machine_type' option to vm module. +- Added 'source' option to api module. +- Implemented 'put' and added to 'action' option in api module. Bugfixes -------- diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml deleted file mode 100644 index 7511a4ae9..000000000 --- a/changelogs/.plugin-cache.yaml +++ /dev/null @@ -1,129 +0,0 @@ -objects: - role: {} -plugins: - become: {} - cache: {} - callback: {} - cliconf: {} - connection: {} - filter: {} - httpapi: {} - inventory: - hypercore: - description: Inventory source for Scale Computing HyperCore. - name: hypercore - version_added: 1.0.0 - lookup: {} - module: - api: - description: API interaction with Scale Computing HyperCore - name: api - namespace: '' - version_added: 1.0.0 - iso: - description: Manage ISO images on HyperCore API - name: iso - namespace: '' - version_added: 1.0.0 - iso_info: - description: Retrieve ISO images - name: iso_info - namespace: '' - version_added: 1.0.0 - node_info: - description: Returns information about the nodes in a cluster. - name: node_info - namespace: '' - version_added: 1.0.0 - remote_cluster_info: - description: Retrieve a list of remote clusters. - name: remote_cluster_info - namespace: '' - version_added: 1.0.0 - snapshot_schedule: - description: Manage snap schedule to configure the desired schedule of snapshot - creation. - name: snapshot_schedule - namespace: '' - version_added: 1.0.0 - snapshot_schedule_info: - description: Retrieve information about an automated VM snapshot schedule. - name: snapshot_schedule_info - namespace: '' - version_added: 1.0.0 - task_wait: - description: Wait for a HyperCore TaskTag to be finished. - name: task_wait - namespace: '' - version_added: 1.0.0 - vm: - description: Create, update or delete a VM. - name: vm - namespace: '' - version_added: 1.0.0 - vm_boot_devices: - description: Manage HyperCore VM's boot devices - name: vm_boot_devices - namespace: '' - version_added: 1.0.0 - vm_clone: - description: Handles cloning of the VM - name: vm_clone - namespace: '' - version_added: 1.0.0 - vm_disk: - description: Manage VM's disks - name: vm_disk - namespace: '' - version_added: 1.0.0 - vm_export: - description: Handles export of the virtual machine - name: vm_export - namespace: '' - version_added: 1.0.0 - vm_import: - description: Handles import of the virtual machine - name: vm_import - namespace: '' - version_added: 1.0.0 - vm_info: - description: Retrieve information about the VMs. - name: vm_info - namespace: '' - version_added: 1.0.0 - vm_nic: - description: Handles actions over network interfaces - name: vm_nic - namespace: '' - version_added: 1.0.0 - vm_nic_info: - description: Returns info about NIC - name: vm_nic_info - namespace: '' - version_added: 1.0.0 - vm_node_affinity: - description: Update virtual machine's node affinity - name: vm_node_affinity - namespace: '' - version_added: 1.0.0 - vm_params: - description: Manage VM's parameters - name: vm_params - namespace: '' - version_added: 1.0.0 - vm_replication: - description: Handles VM replications - name: vm_replication - namespace: '' - version_added: 1.0.0 - vm_replication_info: - description: Returns info about replication of a specific VM - name: vm_replication_info - namespace: '' - version_added: 1.0.0 - netconf: {} - shell: {} - strategy: {} - test: {} - vars: {} -version: 1.1.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 695acb7ea..a3e03ba9c 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -89,9 +89,9 @@ releases: - Option 'attach_guest_tools' now works as intended with Windows systems. - Timeout is now properly applied and overrides the default. minor_changes: - - '''machine_type'' option added to vm module.' - - '''put'' now implemented and added to ''action'' option in api module.' - - '''source'' option added to api module.' + - Added 'machine_type' option to vm module. + - Added 'source' option to api module. + - Implemented 'put' and added to 'action' option in api module. release_summary: Feature release with minor changes and small bugfixes. fragments: - release_110.yml diff --git a/changelogs/fragments/.gitignore b/changelogs/fragments/.gitignore new file mode 100644 index 000000000..fe9c9dcfe --- /dev/null +++ b/changelogs/fragments/.gitignore @@ -0,0 +1 @@ +.plugin-cache.yaml \ No newline at end of file diff --git a/changelogs/fragments/release_110.yml b/changelogs/fragments/release_110.yml index be8f1fb56..4b78d5cf8 100644 --- a/changelogs/fragments/release_110.yml +++ b/changelogs/fragments/release_110.yml @@ -1,8 +1,8 @@ release_summary: Feature release with minor changes and small bugfixes. minor_changes: - - "'source' option added to api module." - - "'put' now implemented and added to 'action' option in api module." - - "'machine_type' option added to vm module." + - "Added 'source' option to api module." + - "Implemented 'put' and added to 'action' option in api module." + - "Added 'machine_type' option to vm module." bugfixes: - "Timeout is now properly applied and overrides the default." - "Option 'attach_guest_tools' now works as intended with Windows systems." From 3411bbd8e6ae6dbf5246da449a3eaccfb842545a Mon Sep 17 00:00:00 2001 From: Domen Date: Tue, 10 Jan 2023 14:31:24 +0100 Subject: [PATCH 3/3] Removing git ignore, adding new line --- changelogs/fragments/.gitignore | 1 - changelogs/fragments/release_110.yml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 changelogs/fragments/.gitignore diff --git a/changelogs/fragments/.gitignore b/changelogs/fragments/.gitignore deleted file mode 100644 index fe9c9dcfe..000000000 --- a/changelogs/fragments/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.plugin-cache.yaml \ No newline at end of file diff --git a/changelogs/fragments/release_110.yml b/changelogs/fragments/release_110.yml index 4b78d5cf8..ba27e6a67 100644 --- a/changelogs/fragments/release_110.yml +++ b/changelogs/fragments/release_110.yml @@ -11,4 +11,5 @@ bugfixes: - "Makes sure that vm_disk module reports changes when ISO is detached." - "Changing the 'tiering_priority' does not require machine restart and values are now mapped properly." - "Make sure enlarging the virtual disk does not require machine restart." - - "CD_ROM should be created without passing the size option to vm_disk module." \ No newline at end of file + - "CD_ROM should be created without passing the size option to vm_disk module." + \ No newline at end of file