인스턴스 생성시 제목과 같은 오류가 발생하여 공식문서를 열심히 읽었으나

제가 구성한 설정과 다른점이 없어 헤메고 있었습니다.

로그는 아래와 같이 발생하였습니다.

 

horizon

Error: Failed to perform requested operation on instance "asdfasdf", the instance has an error status: Please try again later [Error: Build of instance faffaf01-f1cc-4eb4-b24b-abe953b8bb42 aborted: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-cf27]. 

 

/var/log/cinder/cinder-volume.log

2023-10-12 20:05:03.788 11458 ERROR cinder.service [-] Manager for service cinder-volume storage01@lvm is reporting problems, not sending heartbeat. Service will appear "down".

 

/var/log/apache2/cinder_error.log

2023-10-10 12:44:03.405648 2023-10-10 12:44:03.400 1550323 ERROR cinder.api.v3.attachments [req-9d9e1e92-aa50-4900-beb6-f65a25e757df 34bd4dd83ba644858f928a3f04f1afbd 14892b4963754c35a95d4d02b3b14b75 - default default] Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).).: cinder.exception_Remote.VolumeBackendAPIException_Remote: Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).

 

해서 다른 사람들의 구성을 살펴보았습니다. 다른 점이 없다고 생각했으나

echo 'include /var/lib/cinder/volumes/*' >> /etc/tgt/conf.d/cinder.conf

Yoga 버전의 cinder 공식 문서는 해당 문구가 누락되어 있었고, 이를 '스토리지 노드'에 추가하여 해결했습니다.

 

 

keystoneauth1.exceptions.discovery.DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to https://controller/identity: HTTPSConnectionPool(host='controller', port=443): Max retries exceeded with url: /identity (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection...

 

따위의 오류가 발생하여 약 일주일을 헤멨습니다

로그에도 auth_url을 확인하라고 쓰여있는데, 암만 공식 문서를 찾아봐도 다른 점이 없고, 도저히 자력으로 해결할 방법이 보이지 않아 OpenStack Korea Group에 도움을 요청하였습니다

 

분명히 공식 문서에

이렇게 쓰여있는데 이 부분을 http://controller:5000/identity로 수정하면 해결됩니다

 

다시 한 번 로그를 찬찬히 읽어보면 controller의 443포트를 두드리고 있으니 될리가 만무하죠

다른 모든 부분의 Keystone auth_url은 http://controller:5000인데 이 부분만 이렇게 작성되어있네요

저는 이제 Block Device Mapping 오류 해결하러 갑니다 ㅋㅋ 화이팅

+ Recent posts