Skip to content

update_OS_instance.py failure when saving the compute instance details to a JSON file #20

@lgabriel-oracle

Description

@lgabriel-oracle

An error occurred executing the code: Object of type AmdVmPlatformConfig is not JSON serializable

# python update_OS_instance.py --input_json_file input_params.json
***************************************************************************

Validating the input parameters
***************************************************************************

Stopping the compute instance to prevent changes to the data
Stopping instance ocid1.instance.oc1
Instance ocid1.instance.oc1 is now stopped
***************************************************************************

Capturing instance details
***************************************************************************

Capturing a custom image from deployed OS
Custom image creation initiated successfully with ID: ocid1.image.oc1
***************************************************************************

Capturing attached block storage
***************************************************************************

Performing boot volume backup and wait for the task to complete
Initiated backup creation for Boot Volume ID ocid1.bootvolume.oc1. Backup ID: ocid1.bootvolumebackup.oc1
Backup for Boot Volume ID ocid1.bootvolume.oc1 completed successfully.
Backup created with name: ab3ggda
***************************************************************************

Performing attached block volume backup and wait for the task to complete
***************************************************************************

Saving the compute instance details to a JSON file
An error occurred executing the code: Object of type AmdVmPlatformConfig is not JSON serializable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions