<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#444444">Hello Slawek,</div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444">I really need your help.</div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444">I have tried all I can but still the k8s-cluster gets stuck with this log here </div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444">root@k8s-cluster-1-vo5s5jvtjoa7-master-0 core]# cd /var/log/heat-config/heat-config-script/<br>[root@k8s-cluster-1-vo5s5jvtjoa7-master-0 heat-config-script]# ls<br>a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-kube_cluster_config-asfqq352zosg.log<br>c42dcbf1-7812-49a2-b312-96c24225b407-k8s-cluster-1-vo5s5jvtjoa7-kube_masters-waugw6vksw5p-0-vrt2gkfugedg-master_config-xv3vlmr27r46.log<br>[root@k8s-cluster-1-vo5s5jvtjoa7-master-0 heat-config-script]# cat a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-kube_cluster_config-asfqq352zosg.log<br>[root@k8s-cluster-1-vo5s5jvtjoa7-master-0 heat-config-script]# cat a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-kube_cluster_config-asfqq352zosg.log<br>[root@k8s-cluster-1-vo5s5jvtjoa7-master-0 heat-config-script]# cat a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-kube_cluster_config-asfqq352zosg.log<br>Starting to run kube-apiserver-to-kubelet-role<br>+ echo 'Waiting for Kubernetes API...'<br>Waiting for Kubernetes API...<br>++ kubectl get --raw=/healthz<br>The connection to the server localhost:8080 was refused - did you specify the right host or port?<br>+ '[' ok = '' ']'<br>+ sleep 5<br>++ kubectl get --raw=/healthz<br>The connection to the server localhost:8080 was refused - did you specify the right host or port?<br>+ '[' ok = '' ']'<br>+ sleep 5<br></div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><font face="arial, sans-serif">Regards</font></div><div><font face="arial, sans-serif"><br></font></div><div dir="ltr"><font face="arial, sans-serif">Tony Karera</font></div><div dir="ltr"><br></div><div><br></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 30, 2021 at 8:50 AM Slawek Kaplonski <<a href="mailto:skaplons@redhat.com">skaplons@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
You can use vlan as tenant network too. But You have to remember that vlan is <br>
provider network, which means that You need to have configured vlans on Your <br>
network infrastructure too. And in case of tenant network, Neutron will <br>
automatically allocate one of the vlan ids to the network as user don't have <br>
possibility to choose vlan id for network (at least that's default policy in <br>
Neutron).<br>
So, You should check what vlan id is used by such tenant network, check if <br>
this vlan is properly confiugred on Your switches and then, if all is good, <br>
check where exactly such dhcp requests are dropped (are they going from <br>
compute node? are packets comming to the node with dhcp agent?). Base on that <br>
You can narrow down where the issue can be.<br>
<br>
On sobota, 28 sierpnia 2021 18:07:07 CEST Karera Tony wrote:<br>
> How can i make them both vxlan and vlan<br>
> <br>
> On Sat, 28 Aug 2021, 17:43 Mohammed Naser, <<a href="mailto:mnaser@vexxhost.com" target="_blank">mnaser@vexxhost.com</a>> wrote:<br>
> > Your issue is that tenant_network_types should be vxlan.<br>
> > <br>
> > On Sat, Aug 28, 2021 at 4:29 AM Karera Tony <<a href="mailto:tonykarera@gmail.com" target="_blank">tonykarera@gmail.com</a>> wrote:<br>
> >> Hello Team,<br>
> >> <br>
> >> Whenever I create an internal network with type vlan.<br>
> >> <br>
> >> The Instances don't get IPs but for external Network it's fine.<br>
> >> <br>
> >> <br>
> >> Below is the etc/kolla/config/neutron/ml2_conf.ini file<br>
> >> <br>
> >> <br>
> >> [ml2]<br>
> >> type_drivers = flat,vlan,vxlan<br>
> >> tenant_network_types = vlan,flat<br>
> >> mechanism_drivers = openvswitch,l2population<br>
> >> <br>
> >> [ml2_type_vlan]<br>
> >> network_vlan_ranges = physnet1<br>
> >> [ml2_type_flat]<br>
> >> flat_networks = physnet1<br>
> >> <br>
> >> Is there something I need to change or I need to configure the interface<br>
> >> differently<br>
> >> Regards<br>
> >> <br>
> >> Tony Karera<br>
> >> <br>
> >> <br>
> >> --<br>
> > <br>
> > Mohammed Naser<br>
> > VEXXHOST, Inc.<br>
<br>
<br>
-- <br>
Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat</blockquote></div>