GitHub user BartJM added a comment to the discussion: NPE migrating volume to 
non-created storage pool

The situation where a storage pool was not created on the hypervisor occurred 
after we enabled a storage pool that was not yet in use but had been added to 
cloudstack and disabled.
Cloudstack did not create this storage pool in libvirt on the hypervisors when 
it was disabled or after enabling the storage pool.
When running a migration of a volume to the storage pool Cloudstack will  
attempt to create it but this failes with the error in my original comment.

Would need to check if I can attempt to reproduce in a test environment for 
better steps, but the steps taken were:
1. Create ceph storage pool
2. Disable ceph storage pool pending taking the cluster in production. (in our 
case around a month or two)
3. Enable the storage pool
4. Migrate a volume to the storage pool

After a restart of the Cloudstack agent the storage pool is created in libvirt 
without issue and migrating works.

GitHub link: 
https://github.com/apache/cloudstack/discussions/11669#discussioncomment-14439896

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to