apache / apache/cloudstack

Linstor primary storages are not created for disabled hosts

オープン
#8,393 コメント 15 件 リアクション 0 件 担当者 1 名 @rp- が担当を希望しています GitHub で見る
3rd-party:linstor component:primary-storage component:storage has-3rdparty-components no-issue-activity status:has-work-around type:bug
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
primary storage
Linstor
~~~

##### CLOUDSTACK VERSION

~~~
4.18.1
~~~

##### CONFIGURATION

Linstor

##### OS / ENVIRONMENT

##### SUMMARY

When adding a linstor primary storage it not added for disabled host i.e missing the entries in the table 'storage_pool_host_ref'. Once the host is enabled later the host can't be used to deploy to this primary storage. The issue appears likewise when a host is added when a linstor primary storage is disabled.

##### STEPS TO REPRODUCE

~~~
1. Disable a host in a cluster
2. Add a linstor primary storage
3. Check the table storage_pool_host_ref or enable the host and try a new instance deployment ( check the logs to confirm) or use tags to force it.
~~~

##### EXPECTED RESULTS

~~~
Disabled host/primary storage needs to be considered while adding host/primary storage.
~~~

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。