resmo opened a new issue #2797: updatePod does not update start/end IPs
URL: https://github.com/apache/cloudstack/issues/2797
 
 
   I noticed an API break in 4.11 in which updatePod does not update the start 
and end IPs.
   
   Also see #2735
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.11
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   N/A
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
    $ 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"
     }
   }
   ~~~
   
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   startip gets updated to 10.100.10.102
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   startip is not updated
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to