-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.11.3.0 create ceph primary storage error #3523
Comments
since 4.9.2 cloudstack
|
The scope of rbd storage must be cluster. Please select the specified cluster to add. |
add to cluster , error again:
|
I've found the problem that if the ceph secret key contains Specific symbol, it would cause split string error , my key is : AQATDjld4LBvBxAABbwFU5C/m/aTVkI95xrSzw== , then split hostname error. so , i regenerate key multiple times to get the key without '/' |
@digitalgust could also be a network setup issue. do you have details of your network setup? |
create RBD primary storage with para: the error message show : INSERT INTO storage_pool (storage_pool.id, storage_pool.name, storage_pool.uuid, storage_pool.pool_type, storage_pool.created, storage_pool.update_time, storage_pool.data_center_id, storage_pool.pod_id, storage_pool.used_bytes, storage_pool.capacity_bytes, storage_pool.status, storage_pool.storage_provider_name, storage_pool.host_address, storage_pool.path, storage_pool.port, storage_pool.user_info, storage_pool.cluster_id, storage_pool.scope, storage_pool.managed, storage_pool.capacity_iops, storage_pool.hypervisor) VALUES (0, _binary'TEST', _binary'74df82b7-8701-38f4-b758-78cfd5d06dcb', 'RBD', '2019-08-22 03:48:22', null, 1, 1, 0, 0, 'Initialized', _binary'DefaultPrimary', null /*host name parse should be 'mon.csdomain'*/ , _binary'[email protected]/cloud' /*path should be 'cloud'*/ , 6789, null, 1, null, 0, null, null) you can test it simply. |
I'm unable to reproduce this with 4.14.0.0 and latest ceph |
@digitalgust can you try with latest and close or comment further? |
CLOUDSTACK VERSION 4.15 I'm try to add ceph as a primary storage. logs are:
what I was done:
the files in /etc/libvirt/secrets/ following step do on each KVM node
Finaily, add ceph as primary storage again on UI works fine for me. |
@leolleeooleo this issue is closed - can you resubmit a new one? Looks like you've two issues, one related to DB (are you using v8.x mysql dependency or both 5.x and 8.x mysql java connector jars in the classpath). Based on the last comments, looks like you've found a workaround - can you test the latest 4.15 branch? |
I'm not sure which step I was missed. Then I regenerate ceph secret key and add it again. After I destroy the pool and undefine the secret which are create by I add CEPH primary storage at the first time. Maybe I forget one step what I have done.
Is the ceph-common needs by add CEPH as primary storage? Because I'm not sure the issue is, that I didn't submit a new one. I haven't change java dependency. It is dependent by yum install.
|
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
no more
OS / ENVIRONMENT
centos 7.6
SUMMARY
Add ceph as primary storage error when create zone
Column 'host_address' cannot be null
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: