RHV REST API requests give different outputs than in RHEV 3.6.z
Issue
After an upgrade to RHV 4.x script/software is not working properly and an output of REST API request is different.
Following elements no longer exist:
- NIC network and port_mirroring properties
- NIC active property
- disk type property
- disk size property
- capabilities.permits
- storage_manager
- storage_type
- timezone
- guest_info
- CPU id attribute
- attributes in CPU topology
- attributes in VCPU
- attributes in memory overcommit
- attributes in console
- attributes in VIRTIO SCSI
- attribute for power management agent type
- attributes in power management agent options
- attributes in IP address
- attributes in MAC address
- attributes in boot devic
- attribute for operating system type
- force parameter from the request to retrieve a host
- host power management configuration
- multiple boot
- disks.clone
- disks.detach_only
- vmpool
- logical_unit
- snapshots.collapse_snapshots
- storage
- host_storage
- permissions.clone
- source
- tag.parent
- scheduling built-in names and thresholds
- bricks.replica_count
- bricks.stripe_count
- statistics type
- vcpu_pin
- scheduling_policy.policy
- reported_configurations.in_sync
- capabilities
- disks
Some methods don't work, however, they were working for RHEV 3.x.y
Environment
RHV 4.x.y
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
