Image 서비스 측정 활성화하기

Image 서비스 측정 활성화하기

Telemetry를 이용하여 Image 서비스 사용량을 측정하고 모아 보여줍니다. Controller 노드에서 다음 단계를 수행합니다.

Telemetry를 사용하는 Image 서비스 구성

  • /etc/glance/glance-api.conf/etc/glance/glance-registry.conf 파일을 편집하여 다음 작업을 완료합니다:

    • [DEFAULT], [oslo_messaging_notifications][oslo_messaging_rabbit] 섹션에서 notification와 RabbitMQ 메시지 브로커 접근를 구성합니다:

      [DEFAULT]
      ...
      rpc_backend = rabbit
      
      [oslo_messaging_notifications]
      ...
      driver = messagingv2
      
      [oslo_messaging_rabbit]
      ...
      rabbit_host = controller
      rabbit_userid = openstack
      rabbit_password = RABBIT_PASS
      

      RABBIT_PASSRabbitMQ 에서 openstack 계정에 대해 선택한 암호로 변경합니다.

설치 마무리

  • 이미지 서비스를 재시작합니다:

    # systemctl restart openstack-glance-api.service openstack-glance-registry.service
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.