Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Failed Dependency on setting up network

Pages: 1 2 3

After installation of a fresh install of 3.0.1 and cluster joins, I restarted node 1 for reboot test and network will not start unless I start it manually.

the python links are good, but on start up, I get:

syslog:Dec 23 17:48:12 prod-dbnk-cphsvr1 systemd[1]: Dependency failed for ifup for eth2.7.
syslog:Dec 23 17:48:12 prod-dbnk-cphsvr1 systemd[1]: ifup@eth2.7.service: Job ifup@eth2.7.service/start failed with result 'dependency'.

If I complete this cycle on console, it all starts up.

systemctl restart networking
systemctl restart petasan*

Let me know if I can provide anything.

1) Double check your hardware/connections/ip configuration..etc

2) If still you have issue, first thing after reboot, please post:

ip addr list
/opt/petasan/config/cluster_info.json
/opt/petasan/config/node_info.json
/opt/petasan/log/PetaSAN.log

if you are not able to ssh due to no ips at all, add ip via
ip addr add
instead of restarting any services, then scp the above

  1. It was fine rebooting until I did ' apt update ; apt upgrade -y '.
  2. I have it up, I will send that when I get back to working on that system.

In the mean time, what is the best way to post file in here?

can you also show

dpkg -l

you can share files on cloud storage (dropbox/google drive..) and post url

 

Here is a link to the files you are requesting. I will add the dpkg now.

 

https://drive.google.com/drive/folders/1UWsFAVKHo8ePqceDk38F_Es-47OElr6U?usp=sharing

Could this also be a function of unsynced time?

Since I corrected the clocks, everything seems to be working as advertised.

It was fine rebooting until I did ' apt update ; apt upgrade -y '.

do you mean you got errors on your boot screen ? kernel errors / systemd errors ? network interfaces not up ? or was this just the Ceph cluster was not healthy ? if the later then yes the clock sync is important specially when you reboot multiple nodes at the same time, the cluster cannot get agreement on who has latest data, If the time sync among booting nodes does not correct itself quickly, make sure you hardware clock on your motherboards are all working correctly.

No errors on boot screen that I could see. Just the error message in the logs, so I would guess that it was on boot.
Given the location in the boot, I think it would be systemd subsystem.

Network interfaces would not start up and then none of the ceph services would start as there was no networking. (Ceph was unhealthy as is was missing the node and the OSD, MGR, and the MDS).

I would think that NIC would come up so as to get time from the NTP server before starting any ceph sesrvices.

This is not clear:  after apt upgrade, you rebooted and the network interfaces would not start, yet after adjusting the time everything worked ?

I agree, but that is what seem to have happened. If I reboot a node, everything is working now.

After "apt upgrade" and reboot (many of them), the interface would not start unless I started them manually and then manually started all services.
After adjusting the time, all nodes restart without issues.

Will let you know after the next round of updates.

Pages: 1 2 3