본문 바로가기
트러블슈팅

openstack 삽질기

by open_tracking 2020. 2. 21.

오픈스택 오류 해결 중

net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)

 

해결방안

yum install libibverbs

 

----------------------------------------------------

2020-02-21 11:08:00.494 7474 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/pool.py", line 144, in create
2020-02-21 11:08:00.494 7474 ERROR nova     return self.connection_cls(self.conf, self.url, purpose)
2020-02-21 11:08:00.494 7474 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 622, in __init__
2020-02-21 11:08:00.494 7474 ERROR nova     self.ensure_connection()
2020-02-21 11:08:00.494 7474 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 721, in ensure_connection
2020-02-21 11:08:00.494 7474 ERROR nova     self.ensure(method=self.connection.connect)
2020-02-21 11:08:00.494 7474 ERROR nova   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 832, in ensure
2020-02-21 11:08:00.494 7474 ERROR nova     raise exceptions.MessageDeliveryFailure(msg)
2020-02-21 11:08:00.494 7474 ERROR nova MessageDeliveryFailure: Unable to connect to AMQP server on controller:5672 after None tries: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2020-02-21 11:08:00.494 7474 ERROR nova

 

해결방안

[root@controller ~]# rabbitmqctl add_user openstack "패스워드" 
[root@controller ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*"

 

-----------------------------------------------------------------------------------------------

 

 

해당 오류는 su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova 로 해결

 

---------------------------------------------------------------------------------------------------------------------------

Failed to discover available identity versions when contacting https://controller:5000/v3. Attempting to parse version from URL.
SSL exception connecting to https://controller:5000/v3/auth/tokens: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:618)

 

해결방안 1

[root@controller ~]# unset OS_AUTH_URL OS_PASSWORD

해결방안 2

https 라고 설정한 부분이 있을 것이니..찾아서 s를 제거해야한다.

댓글