Bug 1087506
| Summary: | rhevm-shell does not update network MTU | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Martin Pavlik <mpavlik> | ||||
| Component: | ovirt-engine-cli | Assignee: | Juan Hernández <juan.hernandez> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Shai Revivo <srevivo> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4.0 | CC: | acathrow, gklein, iheim, mpavlik, myakove, oramraz, Rhev-m-bugs, yeylon | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | network | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-04-15 06:17:53 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
When the CLI is used given the identifier of the cluster, like in the description, it will send the update to the /clusters/{cluster:id}/networks/{network:id} resource. The update operation of this resource doesn't support updating the MTU, only the usage of the network. In order to update the MTU the update has to go to the top level /networks/{network:id} resource, for example:
# update network NET1 --mtu 1000000001
Martin, can we close this bug as NOTABUG?
(In reply to Juan Hernández from comment #2) > When the CLI is used given the identifier of the cluster, like in the > description, it will send the update to the > /clusters/{cluster:id}/networks/{network:id} resource. The update operation > of this resource doesn't support updating the MTU, only the usage of the > network. In order to update the MTU the update has to go to the top level > /networks/{network:id} resource, for example: > > # update network NET1 --mtu 1000000001 > > Martin, can we close this bug as NOTABUG? Closing, without the cluster specification it works [RHEVM shell (connected)]# update network NET1 --mtu 1000000002 --datacenter-identifier Default id : f5d1f4ca-291f-41f9-ba47-b1678518a657 name : NET1 data_center-id: 00000002-0002-0002-0002-000000000350 mtu : 1000000002 stp : False usages-usage : vm |
Created attachment 886139 [details] log_collector Description of problem: rhevm-shell does not update MTU for a network, it just stays the same as in previous step [RHEVM shell (connected)]# show network NET1 id : f5d1f4ca-291f-41f9-ba47-b1678518a657 name : NET1 data_center-id: 00000002-0002-0002-0002-000000000350 mtu : 1000000000 stp : False usages-usage : vm [RHEVM shell (connected)]# update network NET1 --mtu 1000000001 --datacenter-identifier Default --cluster-identifier Default id : f5d1f4ca-291f-41f9-ba47-b1678518a657 name : NET1 cluster-id : 00000001-0001-0001-0001-00000000028c data_center-id: 00000002-0002-0002-0002-000000000350 display : False mtu : 1000000000 required : False status-state : operational stp : False usages-usage : vm [RHEVM shell (connected)]# show network NET1 id : f5d1f4ca-291f-41f9-ba47-b1678518a657 name : NET1 data_center-id: 00000002-0002-0002-0002-000000000350 mtu : 1000000000 stp : False usages-usage : vm Version-Release number of selected component (if applicable): Red Hat Enterprise Virtualization Manager Version: 3.4.0-0.13.beta3.el6ev rhevm-cli-3.4.0.6-2.el6ev.noarch How reproducible: always Actual results: rhevm-shell does not update MTU for a network, it just stays the same as in previous step Expected results: rhevm-shell does update MTU for a networ Additional info: