Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

updatePod does not update start/end IPs #2797

Copy link
Copy link
@resmo

Description

@resmo
Issue body actions

I noticed an API break in 4.11 in which updatePod does not update the start and end IPs, introduced by #2048?

Also see #2735

ISSUE TYPE
  • Bug Report
COMPONENT NAME
API
CLOUDSTACK VERSION
4.11
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY
STEPS TO REPRODUCE
 $ cs listPods name=ansible-test-stxtc00039-64183073-pod                     
{
  "count": 1, 
  "pod": [
    {
      "allocationstate": "Enabled", 
      "endip": [
        "10.100.10.254"
      ], 
      "forsystemvms": [
        "0"
      ], 
      "gateway": "10.100.10.1", 
      "id": "b427733b-f0fd-408d-be31-7f2b4e3b2a95", 
      "name": "ansible-test-stxtc00039-64183073-pod", 
      "netmask": "255.255.255.0", 
      "startip": [
        "10.100.10.101"
      ], 
      "vlanid": [
        "vlan://untagged"
      ], 
      "zoneid": "ff7e77a4-103f-4c1c-9878-cea1573cd622", 
      "zonename": "ansible-test-stxtc00039-64183073-zone"
    }
  ]
}

update the startip

 $ cs updatePod id=b427733b-f0fd-408d-be31-7f2b4e3b2a95 startip=10.100.10.102
{
  "pod": {
    "allocationstate": "Enabled", 
    "endip": [
      "10.100.10.254"
    ], 
    "forsystemvms": [
      "0"
    ], 
    "gateway": "10.100.10.1", 
    "id": "b427733b-f0fd-408d-be31-7f2b4e3b2a95", 
    "name": "ansible-test-stxtc00039-64183073-pod", 
    "netmask": "255.255.255.0", 
    "startip": [
      "10.100.10.101"
    ], 
    "vlanid": [
      "vlan://untagged"
    ], 
    "zoneid": "ff7e77a4-103f-4c1c-9878-cea1573cd622", 
    "zonename": "ansible-test-stxtc00039-64183073-zone"
  }
}
EXPECTED RESULTS
startip gets updated to 10.100.10.102
ACTUAL RESULTS
startip is not updated
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.