Forums

Home / Forums

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

file_sync_manager.py error

Pages: 1 2

with "consul kv get --recurse" i had (a lot of files/info, but theese are what I think is wrong):
PetaSAN/Config:{"iqn_base": "iqn.2016-05.com.petasan", "iscsi1_subnet_mask": "25......    (not important)
PetaSAN/Config/Files/etc/hosts:MTcyLjE2LjMzLjEzICAgcGV0YXNhbi0wMw........ (ok or not ?)
PetaSAN/Config/Files/opt/petasan/config/cluster_info.json:....... (ok)
PetaSAN/Config/Files/opt/petasan/config/etc/hosts:MTcyLjE2LjMz.... (ok)
PetaSAN/Config/Filesconfig/etc/hosts:MTcyLjE2LjMzLjEzICAgcGV0YXNhbi0wMwoxMjcuMC4w... (probably wrong ?)

So, if the problem is the last one, i need to issue a:
consul kv delete PetaSAN/Config/Fileconfig/etc/hosts     ??
Thanks, Fabrizio

have you run the commands i posted  ? if not can you please try and see if it fixes your issue.

Yes, no more errors in my logfile, thank you.
PS: this is now the content of my consul:

consul kv get -recurse PetaSAN/Config/Files
PetaSAN/Config/Files/etc/hosts:MTcyLjE2LjMzLjEzICAgcGV0YXNhbi0wMwoxMjcuMC4wLjEgICBsb2NhbGhvc3QKMTcyLjE2LjMzLjExICAgcGV0YXNhbi0wMQoxNzIuMTYuMzMuMTIgICBwZXRhc2FuLTAyCjE3Mi4xNi4zMy4xNCAgIHBldGFzYW4tMDQKMTcyLjE2LjMzLjE1ICAgcGV0YXNhbi0wNQoxNzIuMTYuMzMuMTcgICBwZXRhc2FuLTA3CjE3Mi4xNi4zMy4xNiAgIHBldGFzYW4tMDYKMTcyLjE2LjMzLjE4ICAgcGV0YXNhbi0wOAoxNzIuMTYuMzMuMTkgICBwZXRhc2FuLTA5CjE3Mi4xNi4zMy4yMCAgIHBldGFzYW4tMTAK

 

I don't have cluster_info.json, is ok ?

 

Very good 🙂

no you do need cluster_info to be stored in consul

Pages: 1 2