<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">Unfortunately I am not sure because all I did is configure the cluster. Nothing else.</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 Wed, Sep 8, 2021 at 3:31 PM 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>
On środa, 8 września 2021 15:16:57 CEST Karera Tony wrote:<br>
> Hello Slawek,<br>
> <br>
> I really need your help.<br>
> <br>
> I have tried all I can but still the k8s-cluster gets stuck with this log<br>
> here<br>
> <br>
> root@k8s-cluster-1-vo5s5jvtjoa7-master-0 core]# cd<br>
> /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-<br>
kube_cluster_c<br>
> onfig-asfqq352zosg.log<br>
> c42dcbf1-7812-49a2-b312-96c24225b407-k8s-cluster-1-vo5s5jvtjoa7-<br>
kube_masters-<br>
> waugw6vksw5p-0-vrt2gkfugedg-master_config-xv3vlmr27r46.log<br>
> [root@k8s-cluster-1-vo5s5jvtjoa7-master-0 heat-config-script]# cat<br>
> a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-<br>
kube_cluster_c<br>
> onfig-asfqq352zosg.log [root@k8s-cluster-1-vo5s5jvtjoa7-master-0<br>
> heat-config-script]# cat<br>
> a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-<br>
kube_cluster_c<br>
> onfig-asfqq352zosg.log [root@k8s-cluster-1-vo5s5jvtjoa7-master-0<br>
> heat-config-script]# cat<br>
> a70c65af-34e2-4071-be18-2e4d66f85cf6-k8s-cluster-1-vo5s5jvtjoa7-<br>
kube_cluster_c<br>
> onfig-asfqq352zosg.log 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<br>
> 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<br>
> the right host or port?<br>
<br>
But why Your script is trying to connect to localhost? It's not the VM address <br>
I guess :)<br>
<br>
> + '[' ok = '' ']'<br>
> + sleep 5<br>
> <br>
> <br>
> Regards<br>
> <br>
> Tony Karera<br>
> <br>
> <br>
> <br>
> <br>
> On Mon, Aug 30, 2021 at 8:50 AM Slawek Kaplonski <<a href="mailto:skaplons@redhat.com" target="_blank">skaplons@redhat.com</a>><br>
> <br>
> wrote:<br>
> > Hi,<br>
> > <br>
> > You can use vlan as tenant network too. But You have to remember that vlan<br>
> > is<br>
> > provider network, which means that You need to have configured vlans on<br>
> > 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<br>
> > have<br>
> > possibility to choose vlan id for network (at least that's default policy<br>
> > 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<br>
> > 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<br>
> > 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>><br>
> > <br>
> > 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<br>
> > <br>
> > interface<br>
> > <br>
> > > >> differently<br>
> > > >> Regards<br>
> > > >> <br>
> > > >> Tony Karera<br>
> > > >> <br>
> > > >> <br>
> > > >> --<br>
> > > > <br>
> > > > Mohammed Naser<br>
> > > > VEXXHOST, Inc.<br>
> > <br>
> > --<br>
> > Slawek Kaplonski<br>
> > Principal Software Engineer<br>
> > Red Hat<br>
<br>
<br>
-- <br>
Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat</blockquote></div>