[
https://issues.apache.org/jira/browse/CLOUDSTACK-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796703#comment-13796703
]
Koushik Das commented on CLOUDSTACK-4681:
-----------------------------------------
I again tried it, and was able to repro a slightly different issue but related
to the same root cause. Followed steps 1-5 and then deployed a VM (no data
disk). The vm got created in shared store but the service offering was with
local store.
The cluster and zone wide storage pool allocators were not considering the
local storage type and went ahead and returned shared pools. If the vm uses
local disk then cluster and zone storage allocators should not handle it and
return null or empty list.
I have the fix ready but this uncovered an issue in the deployment planner. See
the discussion here
http://www.mail-archive.com/[email protected]/msg16451.html. Will
commit the changes once this is fixed.
> data disk with local disk offering are geting created on shared storage .
> -----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4681
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4681
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Storage Controller
> Affects Versions: 4.2.1
> Environment: hypervisor:KVM
> Reporter: prashant kumar mishra
> Assignee: Koushik Das
> Priority: Critical
> Fix For: 4.2.1
>
> Attachments: Logs_DB.rar
>
>
> Steps to reproduce
> ----------------------------
> 1-prapare a CS setup with kvm host +zone wide primary
> 2-deploy a vm
> 3-enable local storage at zone level(do not restart MS )
> 4-create a local disk offering
> 5-create a service offering with storage type local
> 6-deploy a vm with local SO and local disk offering
> Expected
> --------------
> 1-since local storage is not visible to MS(did not restart MS) vm deployment
> should fail
> Actual
> -----------
> vm root and data disk are getting created on shared storage
> My observation
> ----------------------
> 1-After MS restart root disk and data disk are getting created on local
> storage.
--
This message was sent by Atlassian JIRA
(v6.1#6144)