Skip to content

Instantly share code, notes, and snippets.

View knikolla's full-sized avatar
🐢

Kristi Nikolla knikolla

🐢
View GitHub Profile
@knikolla
knikolla / get_users_from_keycloak.py
Last active May 22, 2023 21:36
Query all Keycloak Users from the HTTP API
import json
import logging
import requests
from requests.auth import HTTPBasicAuth
logger = logging.getLogger()
def get_client_token():
client_token = None
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@knikolla
knikolla / mysql-slow.log
Created October 23, 2023 14:58
Database Queries During Devstack Setup.sh
This file has been truncated, but you can view the full file.
/usr/sbin/mysqld, Version: 8.0.34-0ubuntu0.22.04.1 ((Ubuntu)). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
# Time: 2023-10-22T17:01:01.741022Z
# User@Host: root[root] @ localhost [127.0.0.1] Id: 8
# Query_time: 0.000137 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 1
SET timestamp=1697994061;
select @@version_comment limit 1;
# Time: 2023-10-22T17:01:01.743559Z
# User@Host: root[root] @ localhost [127.0.0.1] Id: 8