Re: [Openstack] Exception during message handling on Cinder
Hi, i have check that . my current topology is like this : controller(run cinder, ip : 10.10.10.10) - switch - compute node (ip : 10.10.10.30) i used iscsitarget (ietadm), here my cinder.config /[DEFAULT]/ /# LOG/STATE/ /verbose = True/ /debug = False/ /iet_conf = /etc/iet/ietd.conf/ /iscsi_helper = ietadm/ /iscsi_ip_address = 10.10.10.10/ /iscsi_target = 10.10.10.10/ /auth_strategy = keystone/ /volume_name_template = volume-%s/ /volume_group = cinder-volumes/ /#volume_name_template = cinder-volumes/ /state_path = /var/lib/cinder/ /volumes_dir = /var/lib/cinder/volumes/ /rootwrap_config = /etc/cinder/rootwrap.conf/ /api_paste_config = /etc/cinder/api-paste.ini/ /# RPC/ /rabbit_host = 10.10.10.10/ /rabbit_password = guest/ /rpc_backend = cinder.openstack.common.rpc.impl_kombu/ /# DATABASE/ /sql_connection = mysql://cinder:cinder@10.10.10.10/cinder/ /# API/ /osapi_volume_extension = cinder.api.contrib.standard_extensions/ On 7/11/2013 12:43 PM, Hameedullah Khan wrote: Please check your iscsi_ip_address. If that is not the issue can you please share more information? What iscsi implementation are you using? Are you using tgt or iscsitarget? Can you show your cinder.conf On Thu, Jul 11, 2013 at 8:57 AM, Mahardhika mahardika.gil...@andalabs.com mailto:mahardika.gil...@andalabs.com wrote: Hi, i've got it work when creating volume, but i can't attach to instance. error log from nova-compute : /Stderr: 'iscsiadm: No session found.\n'/ i have run : iscsiadm -m node -o show and it show it's values On 7/10/2013 6:08 PM, claudio marques wrote: Hi I also found a problem a while a go with creating or managing volumes. After some research I could solve it by doing the following: /vim /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py/ remove line 388 385 self.tgtadm.create_iscsi_target(iscsi_name, iscsi_target, 386 0, volume_path, chap_auth, 387 check_exit_code=False*) -- close here the method* 388 * old_name=old_name) -- (remove this line)* restart all cinder services / / /cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i restart; done/ If that doesn't help, try to see your iscsitarget is up and running. See the logs. Hope it help's Cheer's Claudio Marques clau...@onesource.pt mailto:clau...@onesource.pt http://www.onesource.pt/ Date: Wed, 10 Jul 2013 16:36:49 +0700 From: mahardika.gil...@andalabs.com mailto:mahardika.gil...@andalabs.com To: openstack@lists.launchpad.net mailto:openstack@lists.launchpad.net Subject: [Openstack] Exception during message handling on Cinder Hi, i've got this Error message in cinder-volume.log ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd. ERROR [cinder.volume.manager] volume volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd: create failed ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling i have check on cinder.conf, api-paste.ini files, let me know if you guys need my config file please help me out of this thanks -- Regards, Mahardhika Gilang ___ Mailing list: https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack Post to : openstack@lists.launchpad.net mailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack More help : https://help.launchpad.net/ListHelp -- Regards, Mahardhika Gilang ___ Mailing list: https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack Post to : openstack@lists.launchpad.net mailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Exception during message handling on Cinder
Hi, i've got this Error message in cinder-volume.log ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd. ERROR [cinder.volume.manager] volume volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd: create failed ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling i have check on cinder.conf, api-paste.ini files, let me know if you guys need my config file please help me out of this thanks -- Regards, Mahardhika Gilang *PT. Andalabs Technology * Gedung Gravira Jl. Cideng Barat no. 54 Jakarta Pusat 10150 HP : 0852 139 55861 Email : mahardika.gil...@andalabs.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Exception during message handling on Cinder
Hi I also found a problem a while a go with creating or managing volumes. After some research I could solve it by doing the following: vim /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py remove line 388 385 self.tgtadm.create_iscsi_target(iscsi_name, iscsi_target,386 0, volume_path, chap_auth,387 check_exit_code=False) -- close here the method388 old_name=old_name) -- (remove this line) restart all cinder services cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i restart; done If that doesn't help, try to see your iscsitarget is up and running. See the logs. Hope it help's Cheer's Claudio Marques claudio@onesource.pthttp://www.onesource.pt/ Date: Wed, 10 Jul 2013 16:36:49 +0700 From: mahardika.gil...@andalabs.com To: openstack@lists.launchpad.net Subject: [Openstack] Exception during message handling on Cinder Hi, i've got this Error message in cinder-volume.log ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd. ERROR [cinder.volume.manager] volume volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd: create failed ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling i have check on cinder.conf, api-paste.ini files, let me know if you guys need my config file please help me out of this thanks -- Regards, Mahardhika Gilang PT. Andalabs Technology Gedung Gravira Jl. Cideng Barat no. 54 Jakarta Pusat 10150 HP : 0852 139 55861 Email : mahardika.gil...@andalabs.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Exception during message handling on Cinder
Hi, i've got it work when creating volume, but i can't attach to instance. error log from nova-compute : /Stderr: 'iscsiadm: No session found.\n'/ i have run : iscsiadm -m node -o show and it show it's values On 7/10/2013 6:08 PM, claudio marques wrote: Hi I also found a problem a while a go with creating or managing volumes. After some research I could solve it by doing the following: /vim /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py/ remove line 388 385 self.tgtadm.create_iscsi_target(iscsi_name, iscsi_target, 386 0, volume_path, chap_auth, 387 check_exit_code=False*) -- close here the method* 388 * old_name=old_name) -- (remove this line)* restart all cinder services / / /cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i restart; done/ If that doesn't help, try to see your iscsitarget is up and running. See the logs. Hope it help's Cheer's Claudio Marques clau...@onesource.pt mailto:clau...@onesource.pt http://www.onesource.pt/ Date: Wed, 10 Jul 2013 16:36:49 +0700 From: mahardika.gil...@andalabs.com To: openstack@lists.launchpad.net Subject: [Openstack] Exception during message handling on Cinder Hi, i've got this Error message in cinder-volume.log ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd. ERROR [cinder.volume.manager] volume volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd: create failed ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling i have check on cinder.conf, api-paste.ini files, let me know if you guys need my config file please help me out of this thanks -- Regards, Mahardhika Gilang *PT. Andalabs Technology * Gedung Gravira Jl. Cideng Barat no. 54 Jakarta Pusat 10150 HP : 0852 139 55861 Email : mahardika.gil...@andalabs.com mailto:mahardika.gil...@andalabs.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, Mahardhika Gilang *PT. Andalabs Technology * Gedung Gravira Jl. Cideng Barat no. 54 Jakarta Pusat 10150 HP : 0852 139 55861 Email : mahardika.gil...@andalabs.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Exception during message handling on Cinder
Please check your iscsi_ip_address. If that is not the issue can you please share more information? What iscsi implementation are you using? Are you using tgt or iscsitarget? Can you show your cinder.conf On Thu, Jul 11, 2013 at 8:57 AM, Mahardhika mahardika.gil...@andalabs.comwrote: Hi, i've got it work when creating volume, but i can't attach to instance. error log from nova-compute : *Stderr: 'iscsiadm: No session found.\n'* i have run : iscsiadm -m node -o show and it show it's values On 7/10/2013 6:08 PM, claudio marques wrote: Hi I also found a problem a while a go with creating or managing volumes. After some research I could solve it by doing the following: *vim /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py* remove line 388 385 self.tgtadm.create_iscsi_target(iscsi_name, iscsi_target, 386 0, volume_path, chap_auth, 387 check_exit_code=False*) -- close here the method* 388 * old_name=old_name) -- (remove this line)* restart all cinder services * * *cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i restart; done* If that doesn't help, try to see your iscsitarget is up and running. See the logs. Hope it help's Cheer's Claudio Marques clau...@onesource.pt http://www.onesource.pt/ -- Date: Wed, 10 Jul 2013 16:36:49 +0700 From: mahardika.gil...@andalabs.com To: openstack@lists.launchpad.net Subject: [Openstack] Exception during message handling on Cinder Hi, i've got this Error message in cinder-volume.log ERROR [cinder.volume.iscsi] Failed to create iscsi target for volume id:volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd. ERROR [cinder.volume.manager] volume volume-7b84fb74-7278-4a5d-8f1e-735eae060bcd: create failed ERROR [cinder.openstack.common.rpc.amqp] Exception during message handling i have check on cinder.conf, api-paste.ini files, let me know if you guys need my config file please help me out of this thanks -- Regards, Mahardhika Gilang *PT. Andalabs Technology * Gedung Gravira Jl. Cideng Barat no. 54 Jakarta Pusat 10150 HP : 0852 139 55861 Email : mahardika.gil...@andalabs.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, Mahardhika Gilang *PT. Andalabs Technology * Gedung Gravira Jl. Cideng Barat no. 54 Jakarta Pusat 10150 HP : 0852 139 55861 Email : mahardika.gil...@andalabs.com ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp