- start the cluster
MON=1 OSD=1 MDS=0 MGR=0 RGW=1 ../src/vstart.sh -n -d
- create an http topic:
aws --endpoint-url http://localhost:8000 sns create-topic --name=fishtopic \
--attributes='{"push-endpoint": "http://localhost:10900"}'
#!/usr/bin/env python3 | |
""" | |
License: MIT License | |
Copyright (c) 2023 Miel Donkers | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer |
MON=1 OSD=1 MDS=0 MGR=0 RGW=1 ../src/vstart.sh -n -d
cjson
and socket
packages if Request.RGWOp == "get_obj" then
local json = require("cjson")
local socket = require("socket")
local unix = require("socket.unix")
set -e | |
name=$1 | |
id=$2 | |
mkdir -p "$name" | |
cd "$name" ||exit | |
wget "http://qa-proxy.ceph.com/teuthology/$name/$id/teuthology.log" -O "teuthology$id.log" |
MON=1 OSD=1 MDS=0 MGR=0 ../src/test/rgw/test-rgw-multisite.sh 2 \
--jaeger_tracing_enable=true --jaeger_agent_port=6831 --debug-trace=20
$ podman run \
-e COLLECTOR_OTLP_ENABLED=true \
-p 6831:6831/udp \
ON=1 OSD=1 MDS=0 MGR=0 RGW=1 ../src/vstart.sh -n -d
aws --region=default --endpoint-url http://localhost:8000 sns create-topic --name=fishtopic \
--attributes='{"push-endpoint": "amqp://localhost", "amqp-exchange": "ex1", "persistent": "true"}'
# zshrc | |
# set path | |
export PATH=$HOME/bin:/usr/local/bin:$HOME/go/bin:$HOME/.local/bin:/app/bin/:$PATH | |
# golang | |
export GOPROXY=https://proxy.golang.org,direct | |
export GOBIN=$HOME/go/bin | |
# for other themes, see: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |