-
john___
I have a weird issue in a multiDC deployment...I setup the ufds replication 2 years ago and it was working fine. At somepoint the admin network routes on our dark-fiber got AFU'ed in our IGP and AZ2 couldn't contact AZ1. It seems that all of the sdcperson objects have propogated from AZ1 to AZ2 previously but for some reason the only user that isn't propogating to AZ2 is the poseidon user for manta.
-
john___
Although all is synced fine in AZ3. Has anyone ever seen this behavios in UFDS? Or could it be that I since I haven't run the manta setup steps in AZ2 that the posiedon user simply isn't going to be replicated yet? I do not remember running anything in AZ3 besides installing the manta zone on the headnode. So I am not sure why it is replicating there.
-
john___
Side note: /opt/smartdc/ufds/bin/ufds-reconcile-data reports that all data is in sync on all 3 AZ's in the ufds0 zone on each headnode.
-
john___
But `sdc-useradm search poseidon` only returns results in AZ1 and AZ3
-
john___
This is `barfield` BTW. For some reason the nickServe isn't letting me update my nick today.
-
bahamat
Yeah, there's a bug (maybe fixed now, I don't remember) where the manta install script would add poseidon to the local UFDS instead of to the primary.
-
bahamat
If you're only missing it in one DC, then you're going to have problems.
-
john___
I see, so maybe I did run it in AZ3 and it is pulling from the local primary?
-
john___
I guess UUID's would identify this
-
bahamat
The way UFDS replication (well, *all* ldap replication) works is by sending differential changes. There's no "reconcile everything" feature in LDAP.
-
john___
right that makes sense
-
bahamat
The only way to fix it is by using ldap commands directly in the local UFDS.
-
john___
the UUID is the same in both AZ1 and AZ3 it just doesn't exist in AZ2
-
john___
The local UFDS in the replication zone in AZ2?
-
bahamat
In the DC where it's missing.
-
john___
Thanks man!
-
john___
Thats easy enough.
-
john___
I was worried I had a bigger issue then that
-
john___
BTW I found the issue with my rabbitmq zone
-
john___
Was the external NIC in sdc-napi causing the issues. I had to delete it and unreserve the IP address. Then when I bounced the headnode net-agent updated napi and rabbit came right up
-
bahamat
I suspect that someone was aware of the UFDS bug at install time and attempted to correct it by removing the offending users, but then forgot to add the fixed one in to AZ2.
-
john___
That would make sense
-
john___
It would've been me but I've slept a lot since then
-
john___
Drank alot too :)
-
john___
Is the Linux CN project still active by chance?
-
bahamat
As for rabbit, ISTR there being a discussion about the extra IP being an issue.
-
bahamat
We're working on a new milestone release for LinuxCN.
-
john___
I updated all of the SAPI VM UUID's in /instances ... serveral had params.server_uuid set to 2 different missing server ID's.
-
bahamat
Things are a bit in flux because of the LXD announcement. We haven't decided what to do about that yet.
-
neuroserve
there was a 0.1 incus release earlier, I think
-
john___
Have you guys looked into `harvestor` as a potential pi?
-
john___
What LXD announcement? I must have missed it
-
john___
nueroserve: is this on github?
-
bahamat
No. I don't know what harvestor is.
-
john___
Its essentially a minimal container OS designed to back k8s
-
bahamat
Then it's unlikely to fit well with Triton
-
bahamat
We'd likely have to remove a ton of stuff until it resembles what we need.
-
john___
I figured as much
-
john___
I was just curious...seemed like it might make a good candidate
-
john___
What distro currently backs the linux CN?
-
bahamat
Debian
-
john___
oh nice
-
john___
my favorite anyway
-
john___
well for linux that is
-
neuroserve
-
john___
thansk
-
john___
I've got poseidon recreated in AZ2 but I cannot seem to add the "dclocalconfig" attr so that it is displayed when you run sdc-useradm get UUID
-
john___
Is this something that should be populated from sapi instead?
-
john___
replace-attr, add-attr etc completes successfully. but get never shows that aspect
-
john___
oh wait I may have just figured it out
-
john___
Nah I didn't. I thought that I could add it with a json manifest to sdc-ufds.
-
john___
So I am assuming that dclocalconfig on a ufds object comes from the local ufds master and not from the remote
-
john___
The remote appears to nest all of the localconfigs on a user as a json array []
-
john___
*dclocalconfigs