문제상황

# openstack --os-placement-api-version 1.2 resource class list --sort-column name
Placement에 등록된 리소스 클래스(Resource Classes) 목록을 보여준다.
리소스 클래스란 "이 컴퓨트/노드가 제공할 수 있는 자원의 종류"를 의미한다.
즉, Placement DB에 등록된 "이 클라우드에서 스케줄링 가능한 자원 종류"를 확인하는 명령어
# openstack --os-placement-api-version 1.6 trait list --sort-column name
Placement에 등록된 트레이트(Traits) 목록을 보여준다.
Trait은 "리소스 제공자의 특성/속성"을 나타낸다.
- resource class = 자원의 양(What resource, how much)
- trait = 자원의 특성(What capabilities/qualities)
원인
tail -n 10 /var/log/keystone/keystone*.log 를 출력해보면,

Placement가 Keystone에 토큰 요청을 보냈는데 요청 본문에 user 정보(id 또는 name)가 없음
→ Keystone이 입력 스키마 검증에서 거부
→ Placement에게 503 응답(“Service unavailable”)
문제 해결
placement.conf 설정파일에서 [keystone_authtoken] 부분 확인
->> 오타 발견하여 수정
placement api 호출 시 에러 발생 X
'Trouble Shooting' 카테고리의 다른 글
| AWS EC2 멈춤 현상 (메모리 이슈) (3) | 2024.09.02 |
|---|---|
| pm2 사용하여 서버 실행 시 net::ERR_SSL_PROTOCOL_ERROR, net::ERR_CONNECTION_RESET 발생 (0) | 2024.09.02 |
| CORS 에러 처리 (0) | 2024.06.13 |
| [DB] Docker Postgres 실행 시 permission error (1) | 2024.06.08 |