RHEV 3.2 rhevm-shell update nic mtu flag misreported
Issue
RHEV 3.2 rhevm-shell "update nic XXXX ..." indicates that the MTU setting flag is '-ip-mtu', but it's really '-mtu':
[RHEVM shell (connected)]# update nic bond0 --host-identifier vzlb1017
async boot_protocol ip-address ip-netmask network-id vm
bonding-options-option correlation_id ip-gateway mac network-name
bonding-slaves-host_nic host ip-mtu name template
[RHEVM shell (connected)]# update nic bond0 --host-identifier vzlb1017 --ip-mtu "9000"
error: "mtu" is invalid argument segment.
[RHEVM shell (connected)]# update nic bond0 --host-identifier vzlb1017 --mtu "9000"
unknown error: %d format: a number is required, not str
[RHEVM shell (connected)]# update nic bond0 --host-identifier vzlb1017 --mtu 9000
error:
status: 400
reason: Bad Request
detail: Cannot edit Network while Host is Active, change the Host to Maintenance mode and try again
Environment
Red Hat Enterprise Virtualization
3.2, 3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.