Hi, Have you configured the switch ports to trunk mode ?
-Wei On Fri, 7 Jul 2023 at 07:58, Pratik Chandrakar <chandrakarpra...@gmail.com> wrote: > Hi Rohit, > I am facing another strange issue: the VM works properly only if the VM and > VR are only placed on the same host. If the VM placement is done on another > host then it doesn't get the IP, I tried to manually add the IP on the VM > but it didn't connect to the network. > I flushed the iptables rules, moved to podman from docker (for ceph OSD) on > the host, but still stuck on this issue. > > > On Thu, Jul 6, 2023 at 11:48 AM Rohit Yadav <rohit.ya...@shapeblue.com> > wrote: > > > Glad it helped Pratik. > > > > Regards. > > > > Regards. > > ________________________________ > > From: Pratik Chandrakar <chandrakarpra...@gmail.com> > > Sent: Tuesday, July 4, 2023 12:42:14 PM > > To: users@cloudstack.apache.org <users@cloudstack.apache.org> > > Subject: Re: Unable to ping System VM in Advanced Zone (without SG) > > > > Hi all, > > Finally, I am able to resolve the issue and especially thank Mr Rohit > Yadav > > for his blog https://rohityadav.cloud/blog/cloudstack-kvm/ > > I was running Ceph OSD and Cloudstack on the same host and docker was > > causing the issue. > > > > On Tue, Jun 20, 2023 at 10:35 AM Pratik Chandrakar < > > chandrakarpra...@gmail.com> wrote: > > > > > Yes > > > > > > On Fri, Jun 16, 2023 at 5:19 PM Wei ZHOU <ustcweiz...@gmail.com> > wrote: > > > > > >> Have you configured the vlan tag of public ip range ? > > >> > > >> -Wei > > >> > > >> On Friday, 16 June 2023, Pratik Chandrakar < > chandrakarpra...@gmail.com> > > >> wrote: > > >> > > >> > Hi, > > >> > I am pinging the Public IP. I tried to ping the gateway from CPVM > also > > >> but > > >> > was unable to connect to the gateway, whereas in the SG-enabled > setup, > > >> the > > >> > same IP and configuration work. I have checked the switch as well > and > > I > > >> am > > >> > getting the MAC of the System VMs. > > >> > Unable to identify this strange issue. > > >> > > > >> > > > >> > On Fri, Jun 16, 2023 at 11:48 AM Wei ZHOU <ustcweiz...@gmail.com> > > >> wrote: > > >> > > > >> > > Hi, > > >> > > > > >> > > System vms have multiple IPs, which IP do you ping to? > > >> > > > > >> > > -Wei > > >> > > > > >> > > On Thursday, 15 June 2023, Pratik Chandrakar < > > >> chandrakarpra...@gmail.com > > >> > > > > >> > > wrote: > > >> > > > > >> > > > Hi Wei, > > >> > > > Switch ports are in trunk mode. > > >> > > > VM on the same host is also not working even though its agent > > state > > >> is > > >> > > > showing up. > > >> > > > I think the Configuration is also correct because the same > > >> > configuration > > >> > > is > > >> > > > working for SG-enabled Zone. > > >> > > > > > >> > > > On Thu, Jun 15, 2023 at 3:30 PM Wei ZHOU <ustcweiz...@gmail.com > > > > >> > wrote: > > >> > > > > > >> > > > > Hi, > > >> > > > > > > >> > > > > If VMs on the same host work, but not on different hosts - > this > > >> is a > > >> > > > > typical issue of network misconfiguration. > > >> > > > > Please check if switch ports are trunk mode, hosts and > > cloudstack > > >> > > network > > >> > > > > configurations are correct. > > >> > > > > > > >> > > > > -Wei > > >> > > > > > > >> > > > > On Thu, 15 Jun 2023 at 11:46, Pratik Chandrakar < > > >> > > > > chandrakarpra...@gmail.com> > > >> > > > > wrote: > > >> > > > > > > >> > > > > > Hi all, > > >> > > > > > In the Advanced Zone-SG Enabled deployment there is no issue > > >> but on > > >> > > the > > >> > > > > > same setup when I deploy Advanced Zone-Without SG, I am not > > >> able to > > >> > > > ping > > >> > > > > > System VMs from other client machines/CS hosts. Both Console > > >> Proxy > > >> > > and > > >> > > > > > Secondary storage are UP and agent states are also UP in > case > > >> > > > Management > > >> > > > > > Server and System VMs are deployed on the same host whereas > > when > > >> > > System > > >> > > > > VMs > > >> > > > > > are deployed on other hosts then it does not show any state > in > > >> > > > Management > > >> > > > > > Server. I checked the logs but couldn't find any error on > both > > >> > > > management > > >> > > > > > and agent logs. > > >> > > > > > Environment Details are > > >> > > > > > ACS - 4.18 > > >> > > > > > Host - Ubuntu 22.04.2 > > >> > > > > > > > >> > > > > > Please guide me as I am unable to find any solution to this > > >> strange > > >> > > > > issue. > > >> > > > > > > > >> > > > > > -- > > >> > > > > > *Regards,* > > >> > > > > > *Pratik Chandrakar* > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > *Regards,* > > >> > > > *Pratik Chandrakar* > > >> > > > > > >> > > > > >> > > > >> > > > >> > -- > > >> > *Regards,* > > >> > *Pratik Chandrakar* > > >> > > > >> > > > > > > > > > -- > > > *Regards,* > > > *Pratik Chandrakar* > > > > > > > > > -- > > *Regards,* > > *Pratik Chandrakar* > > > > > > > > > > -- > *Regards,* > *Pratik Chandrakar* >