Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B07AB10F3C for ; Wed, 16 Oct 2013 11:49:45 +0000 (UTC) Received: (qmail 67845 invoked by uid 500); 16 Oct 2013 11:49:43 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 67602 invoked by uid 500); 16 Oct 2013 11:49:42 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 67586 invoked by uid 500); 16 Oct 2013 11:49:42 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 67582 invoked by uid 99); 16 Oct 2013 11:49:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 11:49:42 +0000 Date: Wed, 16 Oct 2013 11:49:42 +0000 (UTC) From: "Koushik Das (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-4682) VMs are getting deployed with shared service offering and local compute offering MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koushik Das resolved CLOUDSTACK-4682. ------------------------------------- Resolution: Fixed > VMs are getting deployed with shared service offering and local compute offering > ---------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4682 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4682 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Storage Controller > Affects Versions: 4.2.0, 4.2.1 > Environment: hyp:KVM > Reporter: prashant kumar mishra > Assignee: Koushik Das > Priority: Critical > Fix For: 4.2.1 > > Attachments: Logs_DB.rar > > > Steps to reproduce > --------------------------- > 1-prepare a CS setup with kvm host+zone wide primary storage > 2-mark Local storage enabled to true at zone level and restart MS > 3-create a local disk offering > 4-deploy a vm with shared service offering and local compute offering > expected > --------------- > vm deployment should fail because CS can't move volume between scope: HOST and ZONE > Actual > ---------- > vm deployment went successful with root disk on shared and data disk on local storage storage > My observation > ---------------------- > once i detach the data disk(created in step 4) ,was not able to attach data disk to vm(deployed in step 4) > with error > --------------- > 2013-09-16 13:01:53,697 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-9:job-35 = [ ad075b33-d308-4056-bc8a-f3a7d71ad60f ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd > com.cloud.utils.exception.CloudRuntimeException: Can't move volume between scope: HOST and ZONE > at com.cloud.storage.VolumeManagerImpl.needMoveVolume(VolumeManagerImpl.java:1605) > at com.cloud.storage.VolumeManagerImpl.attachVolumeToVM(VolumeManagerImpl.java:1880) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-09-16 13:01:53,702 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-9:job-35 = [ ad075b33-d308-4056-bc8a-f3a7d71ad60f ]) Complete async job-35 = [ ad075b33-d308-4056-bc8a-f3a7d71ad60f ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Can't move volume between scope: HOST and ZONE -- This message was sent by Atlassian JIRA (v6.1#6144)