더북(TheBook)

4. 컴퓨트 노드 역시 컨트롤러 노드와 마찬가지로 /etc/cinder/cinder.conf 파일을 열어 [oslo_messaging_notifications] 섹션의 내용을 추가합니다.

root@compute:~# vi /etc/cinder/cinder.conf
…
[oslo_messaging_notifications]
driver = messagingv2


5. cinder-volume 서비스를 재시작하고 정상적으로 실행되는지 status를 확인합니다.

root@compute:~# service cinder-volume restart
root@compute:~# service cinder-volume status
 cinder-volume.service - OpenStack Cinder Volume
     Loaded: loaded (/lib/systemd/system/cinder-volume.service; enabled; vendor
preset: enabled)
     Active: active (running) since Wed 2016-06-29 09:25:25 KST; 3s ago
    Process: 3115 ExecStartPre=/bin/chown cinder:cinder /var/lock/cinder /var/log/
cinder /var/lib/cinder (code=exited, status=0/SUCCESS)
    Process: 3110 ExecStartPre=/bin/mkdir -p /var/lock/cinder /var/log/cinder /
var/lib/cinder (code=exited, status=0/SUCCESS)
   Main PID: 3119 (cinder-volume)
      Tasks: 2
     Memory: 121.0M
        CPU: 2.553s
     CGroup: /system.slice/cinder-volume.service
             ├─3119 /usr/bin/python /usr/bin/cinder-volume –config-file=/etc/
cinder/cinder.conf –log-file=/var/log/cinder/cinder-volume.log
             └─3133 /usr/bin/python /usr/bin/cinder-volume –config-file=/etc/
cinder/cinder.conf –log-file=/var/log/cinder/cinder-volume.log

Jun 29 09:25:28 compute sudo[3158]: pam_unix(sudo:session): session opened for user root by (uid=0)

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.