hi! Can I start Fleet with Percona XtraDB Cluster?...
# fleet
l
hi! Can I start Fleet with Percona XtraDB Cluster? I am trying create
Copy code
fleet prepare db
but get error:
Copy code
2023/07/10 17:53:29 FAIL 20220704101843_AddSoftwareIDInSoftwareCVE.go (adding software_id to software_cve: Error 1845: LOCK=NONE is not supported for this operation. Try LOCK=SHARED.), quitting migration.
How can fix this? mysql Ver 8.0.32-24.2 for Linux on x86_64 (Percona XtraDB Cluster (GPL), Release rel24, Revision 2119e75, WSREP version 26.1.4.3) fleet version 4.33.1
seems like this is a limitation of newer version of percona cluster https://docs.percona.com/percona-xtradb-cluster/8.0/limitation.html would this fix in future release in fleet?
z
@Kathy Satterlee
k
Hey @Lili! While MySQL clusters are not officially supported, I can bring this to the team to see if we can modify the way those locks are handled.
l
@Kathy Satterlee that will be good, thanks
@Kathy Satterlee @Zay Hanlon hello! can you please explain me how you resolve FLEET high availability question? which instruments are you using? how we can run mysql db in high availability mode?
k
Redis is in place to help with high speed data access. A MySQL read replica can also be used to help spread the load if you experience bottlenecks on the database side.
l
@Kathy Satterlee thanks, but if MySQL DB is failed, new agents cant's enroll to Fleet. After if MySQL start, agents enrolled but send to log files messages "INF periodic check of token failed, initiating rotation error="missing or invalid license"" . How we can avoid this errors?
@Kathy Satterlee hello! we still wait your help
k
Hi @Lili what version of Fleet are you running? Are you using Fleet Desktop? If so, do you have an update channel set for that?
l
@Kathy Satterlee orbit 1.12.1 , Fleet 4.34.1 • Go go1.20.1 . No we are dont use Fleet Desktop.
hi @Kathy Satterlee! logs "INF periodic check of token failed, initiating rotation error="missing or invalid license"" still going. orbit 1.17.0, fleet 4.38.0
z
@Grant Bilstad Can you take a look at this? ^
k
Hi @Lili, apologies for missing your response! Can you check your Fleet configuration to see if you have a value set for the transparency URL?
Copy code
fleet_desktop:
    transparency_url: <https://fleetdm.com/transparency>
The easiest way to grab the current config is with fleetctl:
Copy code
fleetctl get config --include-server-config
l
@Kathy Satterlee hello! i am run
Copy code
fleetctl get config --include-server-config
in the output i see this config:
Copy code
fleet_desktop:
    transparency_url: <https://fleetdm.com/transparency>
k
Would you mind sending over the full config? You're welcome to redact any sensitive information (just make a note if you do) and/or DM that to me.
l
@Kathy Satterlee i send to DM
k
Thanks again for sending that over. Everything looks good there. There are a couple of queries I'd like you to run in Fleet to look for any potential outliers: 1. Check for hosts not running the current fleetd:
Copy code
SELECT * FROM orbit_info where version !="1.17.0";
2. Check for hosts running Fleet Desktop:
Copy code
SELECT * FROM processes where name="fleet-desktop";
l
@Kathy Satterlee hello!
both query return this
@Kathy Satterlee hello!