You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/11/08 09:05:37 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #5669: VMware: Migrate VR with additional Public IPs failed

weizhouapache opened a new issue #5669:
URL: https://github.com/apache/cloudstack/issues/5669


   Steps to reproduce the issue
   
   (1) create 2 public Ip ranges
   (2) create an isolated network, and a vm
   (3) acquire a public IP in new ip range (not same as Source NAT), create port forwarding rules to the vm. VR will have two public NICs (source NAT IP, and new public IP).
   ```
   # esxcli network vm port list -w 178877 |grep Portgroup
   
      Portgroup: cloud.private.untagged.0.1-vSwitch0
      Portgroup: cloud.public.51.200.1-vSwitch1
      Portgroup: cloud.guest.1206.200.1-vSwitch1
      Portgroup: cloud.public.670.200.1-vSwitch1
   ```
   
   (4) choose a destination host, remove the port group `cloud.public.670.200.1-vSwitch1` on it (this normally happens on vm migration across clusters while the port group does not exist on destination host).
   
   ```
   # esxcli network vswitch standard portgroup remove -p cloud.public.670.200.1-vSwitch1 -v vSwitch1
   ```
   
   (5) migrate VR  to destination host, failed with error
   ```
   2021-11-08 08:58:41,867 DEBUG [c.c.a.t.Request] (DirectAgent-129:ctx-1ca672fa) (logid:36218135) Seq 1-1048212813270500266: Processing:  { Ans: , MgmtId: 32986087031327, via: 1(10.0.33.238), Ver: v1, Flags: 10, [{"com.cloud.agent.api.MigrateAnswer":{"result":"false","details":"MigrationCommand failed due to Exception: java.lang.RuntimeException
   Message: Currently connected network interface 'Network adapter 5' uses network 'cloud.public.670.200.1-vSwitch1', which is not accessible.
   ","wait":"0","bypassHostMaintenance":"false"}}] }
   ```
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Vmware
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.16.0.0-RC3
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   vmware
   basic networkking
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   see title
   
   ##### 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 -->
   ~~~
   see description
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #5669: VMware: Migrate VR with additional Public IPs failed

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5669:
URL: https://github.com/apache/cloudstack/issues/5669#issuecomment-972633189


   Fixed by https://github.com/apache/cloudstack/pull/5670


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd closed issue #5669: VMware: Migrate VR with additional Public IPs failed

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #5669:
URL: https://github.com/apache/cloudstack/issues/5669


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org