<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#444444">Hello Team,</div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444">I  tried to create another cluster with tls enabled and below are the results for podman ps . I have also attached the heat logs</div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444"> podman ps<br>CONTAINER ID  IMAGE                                                            COMMAND               CREATED         STATUS             PORTS       NAMES<br>e9c028723166  <a href="http://docker.io/openstackmagnum/heat-container-agent:wallaby-stable-1">docker.io/openstackmagnum/heat-container-agent:wallaby-stable-1</a>  /usr/bin/start-he...  34 minutes ago  Up 34 minutes ago              heat-container-agent<br>4128a9e951de  <a href="http://k8s.gcr.io/hyperkube:v1.18.16">k8s.gcr.io/hyperkube:v1.18.16</a>                                    kube-apiserver --...  30 minutes ago  Up 30 minutes ago              kube-apiserver<br>5430aa72e7f0  <a href="http://k8s.gcr.io/hyperkube:v1.18.16">k8s.gcr.io/hyperkube:v1.18.16</a>                                    kube-controller-m...  30 minutes ago  Up 30 minutes ago              kube-controller-manager<br>8f2c76272916  <a href="http://k8s.gcr.io/hyperkube:v1.18.16">k8s.gcr.io/hyperkube:v1.18.16</a>                                    kube-scheduler --...  30 minutes ago  Up 30 minutes ago              kube-scheduler<br>af5f1a661c65  <a href="http://quay.io/coreos/etcd:v3.4.6">quay.io/coreos/etcd:v3.4.6</a>                                       /usr/local/bin/et...  30 minutes ago  Up 30 minutes ago              etcd<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 5:37 PM Ammad Syed <<a href="mailto:syedammad83@gmail.com">syedammad83@gmail.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"><div dir="auto">Hi karera,</div><div dir="auto"><br></div><div dir="auto">I don’t think your the error is related to network side. Its because kublet is not installed properly in your kubernetes master node. You need to check logs that why hyperkube services are not started.</div><div dir="auto"><br></div><div dir="auto">You can check it in heat logs on mater node and you can check the status of kubelet container via podman ps commad.</div><div dir="auto"><br></div><div dir="auto">Ammad<br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed, Sep 8, 2021 at 8:28 PM Karera Tony <<a href="mailto:tonykarera@gmail.com" target="_blank">tonykarera@gmail.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"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">Hello Slawek,</div><div class="gmail_default" style="font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">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:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(68,68,68)"><br></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">Regards</font></div></div></div></div></div></div></div></div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)"><br></font></div><div dir="ltr"><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">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" target="_blank">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>
</blockquote></div></div>-- <br><div dir="ltr">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>
</blockquote></div>