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 6C4B9107C3 for ; Sun, 11 Aug 2013 19:11:55 +0000 (UTC) Received: (qmail 23638 invoked by uid 500); 11 Aug 2013 19:11:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 23599 invoked by uid 500); 11 Aug 2013 19:11:54 -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 23508 invoked by uid 500); 11 Aug 2013 19:11:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 23486 invoked by uid 99); 11 Aug 2013 19:11:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Aug 2013 19:11:48 +0000 Date: Sun, 11 Aug 2013 19:11:48 +0000 (UTC) From: "sadhu suresh (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4240) ceph:unable to attach a rbd datadisk to a ceph instance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4240?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] sadhu suresh updated CLOUDSTACK-4240: ------------------------------------- Fix Version/s: 4.2.0 =20 > ceph:unable to attach a rbd datadisk to a ceph instance > ------------------------------------------------------- > > Key: CLOUDSTACK-4240 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-424= 0 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.2.0 > Reporter: sadhu suresh > Fix For: 4.2.0 > > > step: > 1.add primary storage with protocol as RBD by providing the all the requ= ired details (like storage tag as RBD as well other ceph storage cluster de= tails) > 2.once its successfully added to CS,create "compute offering" by specify= ing the storage Tag "RBD" > 3.deploye A VM using above compute offering > 4. once its successful > 5,create a disk offering by mentioning the storage tag as "RBD" > 6.create volume using above diskoffering and try to attach volume to inst= ance createdin step:3 > Actual results: > attach data disk volume failed "Unable to find storage pool when create v= olumecs" > mysql> select * from storage_pool where id=3D20\G; > *************************** 1. row *************************** > id: 20 > name: rbd > uuid: 8e7c6fb5-c4d7-38f9-9cb1-d34d3bba4957 > pool_type: RBD > port: 6789 > data_center_id: 1 > pod_id: 1 > cluster_id: 3 > used_bytes: 0 > capacity_bytes: 150248366080 > host_address: 10.147.41.3 > user_info: admin:AQBV7AFSsLmZEBAAmGivAk_BV1iMvcaRHQfiXg=3D=3D > path: cloudstack > created: 2013-08-11 21:03:35 > removed: NULL > update_time: NULL > status: Up > storage_provider_name: DefaultPrimary > scope: CLUSTER > hypervisor: NULL > managed: 0 > capacity_iops: NULL > 1 row in set (0.00 sec) > select * from async_job; > id: 74 > user_id: 2 > account_id: 2 > session_key: NULL > instance_type: NULL > instance_id: NULL > job_cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd > job_cmd_originator: NULL > job_cmd_info: {"sessionkey":"oLMqb83SuNXD6lzMxicb57XsmUk\u003d","cm= dEventType":"VM.CREATE","ctxUserId":"2","serviceOfferingId":"3d58746c-6839-= 4f58-8ba2-4cfb8bfeea6b","httpmethod":"GET","zoneId":"6ec00b45-7913-4095-944= b-d0fa16adb84a","templateId":"a70d1aea-fe1d-11e2-9c5b-06a2f0000056","respon= se":"json","id":"29","networkIds":"175ee16b-5cb1-4a35-bce2-daeada124e64","h= ypervisor":"KVM","name":"onlc","_":"1376245769516","ctxAccountId":"2","ctxS= tartEventId":"310","displayname":"onlc"} > job_cmd_ver: 0 > callback_type: 0 > callback_address: NULL > job_status: 1 > job_process_status: 0 > job_result_code: 0 > job_result: org.apache.cloudstack.api.response.UserVmResponse/vir= tualmachine/{"id":"da617d9f-9d08-4067-9405-66c9875c6ae2","name":"onlc","dis= playname":"onlc","account":"admin","domainid":"a707b316-fe1d-11e2-9c5b-06a2= f0000056","domain":"ROOT","created":"2013-08-11T19:57:40-0400","state":"Run= ning","haenable":false,"zoneid":"6ec00b45-7913-4095-944b-d0fa16adb84a","zon= ename":"zone111","hostid":"68109a25-9ea8-42c2-a9f3-132eaf732236","hostname"= :"Rack1Pod1Host21","templateid":"a70d1aea-fe1d-11e2-9c5b-06a2f0000056","tem= platename":"CentOS 5.5(64-bit) no GUI (KVM)","templatedisplaytext":"CentOS = 5.5(64-bit) no GUI (KVM)","passwordenabled":false,"serviceofferingid":"3d58= 746c-6839-4f58-8ba2-4cfb8bfeea6b","serviceofferingname":"rbd1","cpunumber":= 1,"cpuspeed":100,"memory":128,"guestosid":"a735d8e0-fe1d-11e2-9c5b-06a2f000= 0056","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"= id":"f53b8743-1ef6-4ba0-9049-6956de7c2e24","networkid":"175ee16b-5cb1-4a35-= bce2-daeada124e64","networkname":"nw1","netmask":"255.255.255.0","gateway":= "10.1.2.1","ipaddress":"10.1.2.119","isolationuri":"vlan://1003","broadcast= uri":"vlan://1003","traffictype":"Guest","type":"Isolated","isdefault":true= ,"macaddress":"02:00:65:bc:00:09"}],"hypervisor":"KVM","instancename":"i-2-= 29-VM","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallyscalable= ":false,"jobid":"b91ad3a5-a9da-4cfe-b368-278eb775039e","jobstatus":0} > job_init_msid: 7296881000534 > job_complete_msid: 7296881000534 > created: 2013-08-11 23:57:41 > last_updated: 2013-08-12 00:06:50 > last_polled: 2013-08-12 00:06:49 > removed: NULL > uuid: b91ad3a5-a9da-4cfe-b368-278eb775039e > *************************** 14. row *************************** > id: 75 > user_id: 2 > account_id: 2 > session_key: NULL > instance_type: NULL > instance_id: NULL > job_cmd: org.apache.cloudstack.api.command.user.volume.CreateV= olumeCmd > job_cmd_originator: NULL > job_cmd_info: {"id":"33","response":"json","sessionkey":"oLMqb83SuN= XD6lzMxicb57XsmUk\u003d","cmdEventType":"VOLUME.CREATE","ctxUserId":"2","di= skOfferingId":"cae9cf06-9709-48b8-8b6c-62bd0bdc53bc","name":"cs","httpmetho= d":"GET","_":"1376246191450","ctxAccountId":"2","ctxStartEventId":"313","zo= neId":"6ec00b45-7913-4095-944b-d0fa16adb84a"} > job_cmd_ver: 0 > callback_type: 0 > callback_address: NULL > job_status: 1 > job_process_status: 0 > job_result_code: 0 > job_result: org.apache.cloudstack.api.response.VolumeResponse/vol= ume/{"id":"0b353b34-f2a4-41a0-ae88-1af19e6ca32d","name":"cs","zoneid":"6ec0= 0b45-7913-4095-944b-d0fa16adb84a","zonename":"zone111","type":"DATADISK","s= ize":1073741824,"miniops":0,"maxiops":0,"created":"2013-08-11T20:04:44-0400= ","state":"Allocated","account":"admin","domainid":"a707b316-fe1d-11e2-9c5b= -06a2f0000056","domain":"ROOT","storagetype":"shared","diskofferingid":"cae= 9cf06-9709-48b8-8b6c-62bd0bdc53bc","diskofferingname":"csdata","diskofferin= gdisplaytext":"csdata","destroyed":false,"isextractable":true,"tags":[],"di= splayvolume":true,"jobid":"db07bfb7-d2b8-4ae6-bd10-f0f64332d639","jobstatus= ":0} > job_init_msid: 7296881000534 > job_complete_msid: 7296881000534 > created: 2013-08-12 00:04:44 > last_updated: 2013-08-12 00:04:45 > last_polled: NULL > removed: NULL > uuid: db07bfb7-d2b8-4ae6-bd10-f0f64332d639 > *************************** 15. row *************************** > id: 76 > user_id: 2 > account_id: 2 > session_key: NULL > instance_type: NULL > instance_id: NULL > job_cmd: org.apache.cloudstack.api.command.user.volume.AttachV= olumeCmd > job_cmd_originator: NULL > job_cmd_info: {"response":"json","id":"0b353b34-f2a4-41a0-ae88-1af1= 9e6ca32d","sessionkey":"oLMqb83SuNXD6lzMxicb57XsmUk\u003d","cmdEventType":"= VOLUME.ATTACH","ctxUserId":"2","virtualMachineId":"da617d9f-9d08-4067-9405-= 66c9875c6ae2","httpmethod":"GET","_":"1376246428222","ctxAccountId":"2","ct= xStartEventId":"318"} > job_cmd_ver: 0 > callback_type: 0 > callback_address: NULL > job_status: 2 > job_process_status: 0 > job_result_code: 530 > job_result: org.apache.cloudstack.api.response.ExceptionResponse/= null/{"uuidList":[],"errorcode":530,"errortext":"Unable to find storage poo= l when create volumecs"} > job_init_msid: 7296881000534 > job_complete_msid: 7296881000534 > created: 2013-08-12 00:08:39 > last_updated: 2013-08-12 00:08:40 > last_polled: NULL > removed: NULL > uuid: 7758a32e-37d1-4c9a-ac3a-626d085cb218 > 15 rows in set (0.00 sec) > =20 > mysql> select * from disk_offering where id in (12,14)\G; > *************************** 1. row *************************** > id: 12 > domain_id: NULL > name: rbd1 > uuid: 3d58746c-6839-4f58-8ba2-4cfb8bfeea6b > display_text: ceph > disk_size: 0 > type: Service > tags: RBD > recreatable: 0 > use_local_storage: 0 > unique_name: NULL > system_use: 0 > customized: 1 > removed: NULL > created: 2013-08-11 21:10:24 > sort_key: 0 > display_offering: 1 > customized_iops: NULL > min_iops: NULL > max_iops: NULL > bytes_read_rate: NULL > bytes_write_rate: NULL > iops_read_rate: NULL > iops_write_rate: NULL > *************************** 2. row *************************** > id: 14 > domain_id: NULL > name: csdata > uuid: cae9cf06-9709-48b8-8b6c-62bd0bdc53bc > display_text: csdata > disk_size: 1073741824 > type: Disk > tags: cloudstack > recreatable: 0 > use_local_storage: 0 > unique_name: NULL > system_use: 0 > customized: 0 > removed: NULL > created: 2013-08-11 23:31:29 > sort_key: 0 > display_offering: 1 > customized_iops: 1 > min_iops: NULL > max_iops: NULL > bytes_read_rate: NULL > bytes_write_rate: NULL > iops_read_rate: NULL > iops_write_rate: NULL > 2 rows in set (0.00 sec) > ERROR: > No query specified -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira