-
Notifications
You must be signed in to change notification settings - Fork 46
Readiness Check Guide
ByoungSeob Kim edited this page Jun 17, 2024
·
1 revision
- Since CB-Spider v0.8.13
- API : v0.8.13 / CCTM v0.8.13
[Check list]
- Rest API 호출 가능 여부 확인 =>
readyz
호출 자체가 테스트 - 메타DB 연결 이상 유무 확인 =>
DB.Ping
호출 테스트
curl -v http://localhost:1024/spider/readyz
* Trying 127.0.0.1:1024...
* Connected to localhost (127.0.0.1) port 1024 (#0)
> GET /spider/readyz HTTP/1.1
> Host: localhost:1024
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
< Vary: Origin
< Date: Thu, 02 May 2024 04:06:38 GMT
< Content-Length: 33
<
{"message":"CB-Spider is ready"}
* Connection #0 to host localhost left intact
curl -v http://localhost:1024/spider/readyz
* Trying 127.0.0.1:1024...
* Connected to localhost (127.0.0.1) port 1024 (#0)
> GET /spider/readyz HTTP/1.1
> Host: localhost:1024
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 503 Service Unavailable
< Content-Type: application/json; charset=UTF-8
< Vary: Origin
< Date: Thu, 02 May 2024 04:05:40 GMT
< Content-Length: 70
<
{"message":"unable to open database file: no such file or directory"}
* Connection #0 to host localhost left intact
curl -v http://localhost:1024/spider/readyz
* Trying 127.0.0.1:1024...
* connect to 127.0.0.1 port 1024 failed: Connection refused
* Trying ::1:1024...
* connect to ::1 port 1024 failed: Connection refused
* Failed to connect to localhost port 1024 after 0 ms: Connection refused
* Closing connection 0
curl: (7) Failed to connect to localhost port 1024 after 0 ms: Connection refused
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- Price Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]