<div dir="ltr">Hi Ammad, <div><br></div><div>Yes, fcos34. Let me try with fcos33. Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 19 Oct 2021 at 14:52, 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,</div><div dir="auto"><br></div><div dir="auto">Which fcos image you are using ? It looks like you are using fcos 34. Which is currently not supported. Use fcos 33.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 19, 2021 at 2:16 PM Vikarna Tathe <<a href="mailto:vikarnatathe@gmail.com" target="_blank">vikarnatathe@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">Hi All, <div><br></div><div>I was able to login to the instance. I see that kubelet service is in activating state. When I checked the journalctl, found the below. </div><div><br></div><div><i>Oct 19 05:18:34 kubernetes-cluster-6cdrblcpckny-master-0 systemd[1]: Started Kubelet via Hyperkube (System Container).<br>Oct 19 05:18:34 kubernetes-cluster-6cdrblcpckny-master-0 bash[6521]: Error: statfs /sys/fs/cgroup/systemd: no such file or directory<br>Oct 19 05:18:34 kubernetes-cluster-6cdrblcpckny-master-0 systemd[1]: kubelet.service: Main process exited, code=exited, status=125/n/a<br>Oct 19 05:18:34 kubernetes-cluster-6cdrblcpckny-master-0 systemd[1]: kubelet.service: Failed with result 'exit-code'.<br>Oct 19 05:18:44 kubernetes-cluster-6cdrblcpckny-master-0 systemd[1]: kubelet.service: Scheduled restart job, restart counter is at 18.<br>Oct 19 05:18:44 kubernetes-cluster-6cdrblcpckny-master-0 systemd[1]: Stopped Kubelet via Hyperkube (System Container).</i><br></div><div><br></div><div>Executed the below command to fix this issue.</div><div><b>mkdir -p  /sys/fs/cgroup/systemd</b></div><div><br></div><div><br></div><div>Now I am getiing the below error. Has anybody seen this issue. </div><div><br></div><div><i>failed to get the kubelet's cgroup: mountpoint for cpu not found.  Kubelet system container metrics may be missing.<br>failed to get the container runtime's cgroup: failed to get container name for docker process: mountpoint for cpu not found. <br>failed to run Kubelet: mountpoint for  not found</i><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 18 Oct 2021 at 14:09, Vikarna Tathe <<a href="mailto:vikarnatathe@gmail.com" target="_blank">vikarnatathe@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_quote"><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"><br>Hi Ammad, <div><br></div><div>Thanks for responding. </div><div><br></div><div>Yes the instance is getting created, but i am unable to login though i have generated the keypair. There is no default password for this image to login via console.</div><div><br></div><div>openstack server list<br>+--------------------------------------+--------------------------------------+---------+------------------------------------+----------------------+----------+<br>| ID                                   | Name                                 | Status  | Networks                           | Image                | Flavor   |<br>+--------------------------------------+--------------------------------------+---------+------------------------------------+----------------------+----------+<br>| cf955a75-8cd2-4f91-a01f-677159b57cb2 | k8s-cluster-01-2nyejxo3hyvb-master-0 | ACTIVE  | private1=10.100.0.39, 10.14.20.181 | fedora-coreos-latest | m1.large |<br></div><div><br></div><div><br></div><div>ssh -i id_rsa <a href="mailto:core@10.14.20.181" target="_blank">core@10.14.20.181</a><br>The authenticity of host '10.14.20.181 (10.14.20.181)' can't be established.<br>ECDSA key fingerprint is SHA256:ykEMpwf79/zTMwcELDSI0f66Sxbri56ovGJ+RRwKXDU.<br>Are you sure you want to continue connecting (yes/no/[fingerprint])? yes<br>Warning: Permanently added '10.14.20.181' (ECDSA) to the list of known hosts.<br><a href="mailto:core@10.14.20.181" target="_blank">core@10.14.20.181</a>: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 18 Oct 2021 at 14:02, Ammad Syed <<a href="mailto:syedammad83@gmail.com" target="_blank">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="ltr">Hi,<div><br></div><div>Can you check if the master server is deployed as a nova instance ? if yes, then login to the instance and check cloud-init and heat agent logs to see the errors.</div><div><br></div><div>Ammad</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 18, 2021 at 12:03 PM Vikarna Tathe <<a href="mailto:vikarnatathe@gmail.com" target="_blank">vikarnatathe@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">Hello All,<div><br></div><div>I am trying to create a kubernetes cluster using magnum. Image: fedora-coreos. </div><div><br></div><div><br></div><div>The stack gets stucked in CREATE_IN_PROGRESS. See the output below. </div><div>openstack coe cluster list<br>+--------------------------------------+----------------+---------+------------+--------------+--------------------+---------------+<br>| uuid                                 | name           | keypair | node_count | master_count | status             | health_status |<br>+--------------------------------------+----------------+---------+------------+--------------+--------------------+---------------+<br>| 9381cd12-af60-40b1-b1c4-d3dcc93e926e | k8s-cluster-01 | ctrlkey |          2 |            1 | CREATE_IN_PROGRESS | None          |<br>+--------------------------------------+----------------+---------+------------+--------------+--------------------+---------------+<br></div><div><br></div><div>openstack stack resource show k8s-cluster-01-2nyejxo3hyvb kube_masters<br>+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br>| Field                  | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |<br>+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br>| attributes             | {'refs_map': None, 'removed_rsrc_list': [], 'attributes': None, 'refs': None}                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |<br>| creation_time          | 2021-10-18T06:44:02Z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |<br>| description            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |<br>| links                  | [{'href': '<a href="http://10.14.20.159:8004/v1/f453bf8a2afa4fbba30030738f4dd216/stacks/k8s-cluster-01-2nyejxo3hyvb/38eeba52-76ea-41b5-9358-6bf54ada8d17/resources/kube_masters" target="_blank">http://10.14.20.159:8004/v1/f453bf8a2afa4fbba30030738f4dd216/stacks/k8s-cluster-01-2nyejxo3hyvb/38eeba52-76ea-41b5-9358-6bf54ada8d17/resources/kube_masters</a>', 'rel': 'self'}, {'href': '<a href="http://10.14.20.159:8004/v1/f453bf8a2afa4fbba30030738f4dd216/stacks/k8s-cluster-01-2nyejxo3hyvb/38eeba52-76ea-41b5-9358-6bf54ada8d17" target="_blank">http://10.14.20.159:8004/v1/f453bf8a2afa4fbba30030738f4dd216/stacks/k8s-cluster-01-2nyejxo3hyvb/38eeba52-76ea-41b5-9358-6bf54ada8d17</a>', 'rel': 'stack'}, {'href': '<a href="http://10.14.20.159:8004/v1/f453bf8a2afa4fbba30030738f4dd216/stacks/k8s-cluster-01-2nyejxo3hyvb-kube_masters-2mhjajuxq5ut/3da2083f-0b2c-4b9d-8df5-8468e0de3028" target="_blank">http://10.14.20.159:8004/v1/f453bf8a2afa4fbba30030738f4dd216/stacks/k8s-cluster-01-2nyejxo3hyvb-kube_masters-2mhjajuxq5ut/3da2083f-0b2c-4b9d-8df5-8468e0de3028</a>', 'rel': 'nested'}] |<br>| logical_resource_id    | kube_masters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |<br>| physical_resource_id   | 3da2083f-0b2c-4b9d-8df5-8468e0de3028                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |<br>| required_by            | ['kube_cluster_deploy', 'etcd_address_lb_switch', 'api_address_lb_switch', 'kube_cluster_config']                                                                                                                                                                                                                                                                                                                                                                                                                                                       |<br>| resource_name          | kube_masters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |<br>| resource_status        | CREATE_IN_PROGRESS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |<br>| resource_status_reason | state changed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |<br>| resource_type          | OS::Heat::ResourceGroup                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |<br>| updated_time           | 2021-10-18T06:44:02Z                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |<br>+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br></div><div><br></div><div>Vikarna</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>-- <br><div dir="ltr">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>
</blockquote></div>