coreos / fedora-coreos-tracker

Issue tracker for Fedora CoreOS
https://fedoraproject.org/coreos/
264 stars 59 forks source link

Unable to ssh Fedora CoreOs Vm Created thorugh Vcloud Director #1095

Open Devops-Techstack opened 2 years ago

Devops-Techstack commented 2 years ago

Describe the bug Unable to ssh Fedora CoreOs Vm Created thorugh Vcloud Director.Below error i see in Web console .

image

Under the same VCD network i can connect to RHEL/Centos machine .

System details

Ignition config { "ignition": { "version": "3.1.0" }, "networkd": {}, "passwd": { "users": [ { "name": "core", "sshAuthorizedKeys": [ "ssh-rsa ...." ] } ] }, "storage": {}, "systemd": {} }

Additional information Add any other information about the problem here.

lucab commented 2 years ago

Thanks for the report. Your node is booting into an emergency shell, so likely there is some provisioning problem. However your node console is not properly setup for your environment. You can try adjusting console settings as shown in https://docs.fedoraproject.org/en-US/fedora-coreos/emergency-shell/, and then further investigate the underlying provisioning issue.

Devops-Techstack commented 2 years ago

So do i need to set console parameter set from ignition data , as with minimal ignition data also i am getting same error .

bgilbert commented 2 years ago

The reason you're not seeing a proper error message on the console is that it's being sent to the (nonexistent) serial port. If you manually remove console=ttyS0,115200 from the kernel arguments before booting, you'll be able to see the underlying error.

Devops-Techstack commented 2 years ago

Hi, Thanks for the information . So for me Network manager service is failing after the first boot .I am trying to assign static IP to my fedora coreos machine using the below ignition data but it doesn't work . variant: fcos version: 1.4.0 storage: files:

dustymabe commented 2 years ago

I'm pretty sure NM_CONTROLLED=no isn't valid for NetworkManager keyfiles.

Here's our example configs for setting up a static IP: https://docs.fedoraproject.org/en-US/fedora-coreos/sysconfig-network-configuration/#_butane_config

Devops-Techstack commented 2 years ago

For me even if i try to assign static IP through above ignition data , i am not able to ping any of the public Ip or google.com. I see in ifconfig command the IP is getting assigned now .

Devops-Techstack commented 2 years ago

I am provisioning these Fedora core os machines from Vcloud director vmware .So instead of static Ip configuration is there any other set up we need to do for accessing public IP

dustymabe commented 2 years ago

Are you setting a default gateway (i.e. default route)?. In the template in the docs it looks like address1=${ip}/${prefix},${gateway}.