现象:
Centos7
opstack block1创建卷正常
挂载到虚拟机实例,dashboard无报错,连接到失败,显示空白
查看volume.log报错:
2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher [req-70a7325b-cead-4dd7-a80a-23425552d29d e802515855974f019d7a3bcfcf77c259 bcf99fcaa2bb42778972c1f0959f6cbf - - -] Exception during message handling: Unexpected error while running command. Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgtadm --lld iscsi --op show --mode target Exit code: 96 Stdout: u'' Stderr: u'/usr/bin/cinder-rootwrap: Executable not found: tgtadm (filter match = tgtadm)\n' 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last): 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher incoming.message)) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1442, in initialize_connection 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher volume, connector) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 760, in create_export 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher volume_path) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/targets/iscsi.py", line 210, in create_export 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher **portals_config) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/targets/tgt.py", line 140, in create_iscsi_target 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher run_as_root=True) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 148, in execute 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher return processutils.execute(*cmd, **kwargs) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 389, in execute 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher cmd=sanitized_cmd) 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher ProcessExecutionError: Unexpected error while running command. 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgtadm --lld iscsi --op show --mode target 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher Exit code: 96 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher Stdout: u'' 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher Stderr: u'/usr/bin/cinder-rootwrap: Executable not found: tgtadm (filter match = tgtadm)\n' 2017-02-28 11:25:39.214 2989 ERROR oslo_messaging.rpc.dispatcher 2017-02-28 11:25:39.226 2989 ERROR oslo_messaging._drivers.common [req-70a7325b-cead-4dd7-a80a-23425552d29d e802515855974f019d7a3bcfcf77c259 bcf99fcaa2bb42778972c1f0959f6cbf - - -] Returning exception Unexpected error while running command. Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgtadm --lld iscsi --op show --mode target Exit code: 96 Stdout: u'' Stderr: u'/usr/bin/cinder-rootwrap: Executable not found: tgtadm (filter match = tgtadm)\n' to caller 2017-02-28 11:25:39.227 2989 ERROR oslo_messaging._drivers.common [req-70a7325b-cead-4dd7-a80a-23425552d29d e802515855974f019d7a3bcfcf77c259 bcf99fcaa2bb42778972c1f0959f6cbf - - -] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch\n result = func(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1442, in initialize_connection\n volume, connector)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 760, in create_export\n volume_path)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/targets/iscsi.py", line 210, in create_export\n **portals_config)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/targets/tgt.py", line 140, in create_iscsi_target\n run_as_root=True)\n', ' File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 148, in execute\n return processutils.execute(*cmd, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 389, in execute\n cmd=sanitized_cmd)\n', "ProcessExecutionError: Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgtadm --lld iscsi --op show --mode target\nExit code: 96\nStdout: u''\nStderr: u'/usr/bin/cinder-rootwrap: Executable not found: tgtadm (filter match = tgtadm)\\n'\n"] 2017-02-28 11:25:39.897 2989 INFO cinder.volume.manager [req-98f2f209-3f2e-450b-be11-be1008be529e e802515855974f019d7a3bcfcf77c259 bcf99fcaa2bb42778972c1f0959f6cbf - - -] Terminate volume connection completed successfully. 2017-02-28 11:27:48.642 2989 ERROR oslo_messaging.rpc.dispatcher [req-1f5b2425-6e2d-4781-89d5-e6dd291c57c4 e802515855974f019d7a3bcfcf77c259 bcf99fcaa2bb42778972c1f0959f6cbf - - -] Exception during message handling: Unexpected error while running command. Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgtadm --lld iscsi --op show --mode target Exit code: 96 Stdout: u'' Stderr: u'/usr/bin/cinder-rootwrap: Executable not found: tgtadm (filter match = tgtadm)\n'
解决处理:
官方文档的坑,安装cinder的cinder.conf中没有[lvm]标签,需要手动加入[lvm]标签
[lvm] volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver volume_group = cinder-volumes iscsi_protocol = iscsi iscsi_helper = lioadm
I like looking through a post that can make men and women think. Also, thank you for allowing me to comment.
Thanks for the auspicious writeup. It in truth was aentertainment account it. Glance advanced to far delivered agreeable from you!By the way, how could we keep in touch?
bookmarked!!, I like your site.
Generique Amoxicillin Pharmacie Gratuit Tablette Pour
Im grateful for the article post.Thanks Again. Will read on…
It’s an remarkable paragraph in support of all the online users;they will get advantage from it I am sure.
Good post. I am experiencing many of these issuesas well..
I truly appreciate this article.Thanks Again. Cool.
what does hydroxychloroquine treat hydroxychloroquine side effects
Generally I don’t read article on blogs, however I would like to say that this write-up very compelledme to take a look at and do so! Your writingstyle has been surprised me. Thanks, very great article.
Great blog article.Thanks Again. Great.
Thanks – Enjoyed this blog post, can I set it up so I get an email sent to me whenever there is a fresh update?
Good post. I learn something new and challenging on websites I stumbleupon on a daily basis. It’s always exciting to read through content from other authors and practice something from their sites.
Genuinely when someone doesn’t be aware of then its up to other peoplethat they will assist, so here it takes place.
En Omegle me he encontrado hasta Batman jalando coca, pero solo se activa cámara cuando es de compu. En celular solo es un chat anónimo
This site was… how do I say it? Relevant!! Finally I have found something which helped me. Appreciate it!
Im obliged for the blog.Much thanks again. Cool.
Howdy colleagues, how is the whole thing, and what you need to say about this part of writing, on my view its truly wonderful designed for me.
Thanks , I have recently been looking for information approximately this topic for ages and yours is the best I’ve found out till now. However, what concerning the conclusion? Are you certain about the source?
Jokerbet giriş güncel adresi, dilerseniz jokerbet tv ile süperlig, beinsport maçlarını şifresiz izleyebilirsiniz. Hemen tıkla deneme bonuslarını kaçırma.
You ought to be a part of a contest for one of the most useful sites online. I am going to recommend this website!
I value the article post. Much obliged.
ivermectin rx stromectol generic name flccc ivermectin
ivermectin cream 5 ivermectin 4 – ivermectin lotion
This is my first time pay a visit at here and i am really pleassant to read all at one place.
play slots online gambling online slot games
Great blog article.Thanks Again. Really Cool.
There’s certainly a great deal to know about this subject.I like all the points you’ve made.
Thanks for sharing, this is a fantastic article.Much thanks again. Fantastic.
I really like and appreciate your article post.Much thanks again. Will read on…
A motivating discussion is worth comment. I do believe that you should write more about this subject matter, it might not be a taboo subject but typically people don’t discuss these subjects. To the next! Cheers!!
Aw, this was an extremely nice post. Spending some time and actual effort to create a superb article… but what can I say… I procrastinate a lot and don’t manage to get nearly anything done.
Incredible. Wizard. You’re some sort of guru. Appreciate you.
Very good article. I absolutely love this site. Stick with it!
eagan apartments apartments for rent troy ny hilltop village apartments
Way cool! Some very valid points! I appreciate you writing this article and the rest of the site is extremely good.
Awesome article.Much thanks again. Fantastic.
magnificent issues altogether, you simply won a new reader. What could you recommend in regards to your put up that you just made a few days in the past? Any certain?
This blog was… how do you say it? Relevant!! Finally I’ve found something that helped me. Appreciate it.
Usually I don’t learn article on blogs, but I would like to say that this write-up very compelled me to try and do so! Your writing taste has been surprised me. Thanks, quite great article.
You have made some good points there. I looked on the internet for additional information about the issue and found most individuals will go along with your views on this website.
Very neat blog post.Thanks Again. Great.
Spot on with this write-up, I seriously believe this site needs much more attention. I’ll probably be back again to see more, thanks for the info.
Thank you ever so for you blog post.Much thanks again.
Major thanks for the blog post.Thanks Again. Cool.
Spot on with this write-up, I actually feel this site needs a great deal more attention. I’ll probably be back again to see more, thanks for the information!
I really liked your blog.Really thank you! Awesome.
buy prednisone – online ed medications buy accutane 20mg pills
Thanks so much for the blog.Really looking forward to read more. Great.
Oh my goodness! Amazing article dude! Many thanks, However I am experiencing issues with your RSS. I don’t understand the reason why I am unable to subscribe to it. Is there anybody getting similar RSS issues? Anybody who knows the solution can you kindly respond? Thanx!!
Thanks so much for the blog article.Thanks Again. Fantastic.
I really like and appreciate your blog article.Much thanks again. Keep writing.
You mentioned it perfectly. canadian pharmacy
You are so awesome! I don’t think I have read anything like this before. So wonderful to find someone with genuine thoughts on this topic. Seriously.. many thanks for starting this up. This web site is one thing that’s needed on the web, someone with a little originality.
I really enjoy the blog article. Much obliged.
This is my first time pay a visit at here and i am in fact impressed to read all at one place.
Say, you got a nice blog post. Great.
And the jobs I saw right here do not seem to show up on other job search engines.
Enjoyed every bit of your blog post.Thanks Again. Really Great.
Excellent web site you’ve got here.. It’s hard to find high quality writing like yours these days. I truly appreciate people like you! Take care!!
Major thankies for the article.Really looking forward to read more. Cool.
kamagra oral jelly for sale in south africa
I’m no longer positive the place you are getting your information, however great topic.I needs to spend some time learning much more or understanding more.Thanks for wonderful information I used to be on the lookout for thisinfo for my mission.
slots free online slots free online slotsLoading…
[url=http://cialisbestpilldrugstore.monster/]best canadian online pharmacy cialis[/url]
Say, you got a nice article.Thanks Again. Really Cool.
Thank you for your blog post.Thanks Again. Will read on…
Major thankies for the article post.Much thanks again. Fantastic.
Aw, this was a very good post. Finding the time and actualeffort to generate a great article? but what can I say?I hesitate a whole lot and don’t seem to get nearly anything done.My blog post; CoolCube Review
Great, thanks for sharing this blog article.Thanks Again. Will read on…
I really like and appreciate your blog post.Really looking forward to read more. Really Cool.
It’s really a great and helpful piece of info. I’m glad that you shared this useful info with us. Please stay us up to date like this. Thanks for sharing.
Thanks for the article post.Really thank you!
Now I am going to do my breakfast, after having my breakfast comingyet again to read more news.
karukku tamil book pdf You Tube Kids Sur Pc Portable Gratuitement asus zen pro book 15 2019 avis
Hi, I do believe this is an excellent blog. I stumbledupon it I will return once again since i have book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.
Say, you got a nice blog article.Much thanks again. Will read on…
in everyday years are usually emancipated you don at have to invest a great deal in relation to enjoyment specially with
It’s difficult to find knowledgeable people about this subject, however, you seemlike you know what you’re talking about! Thanks
Thanks for the article post.Really looking forward to read more. Will read on…
Really enjoyed this post.Really looking forward to read more. Want more.
wow, awesome post.Much thanks again. Awesome.
I love what you guys are usually up too. Such clever work and exposure! Keep up the great works guys I’ve you guys to my blogroll.
I am so grateful for your blog.Really thank you!
Wow! This blog looks exactly like my old one! It as on a completely different subject but it has pretty much the same layout and design. Outstanding choice of colors!
I really enjoy the blog article.Much thanks again. Really Great.
Thanks for the article. Great.
Hello my friend! I want to say that this article is awesome, nice written and include approximately all significant infos. I’d like to see more posts like this.
Wonderful post but I was wanting to know if you could write a litte more on this topic?I’d be very thankful if you could elaborate a little bit further.Cheers!
I really enjoy the post.Much thanks again. Will read on…
[url=https://buyviagra.shop/]can i order viagra from canada[/url]
Thanks for sharing, this is a fantastic article post.Really looking forward to read more. Much obliged.
I am so grateful for your blog post.Really looking forward to read more. Keep writing.
Wow, great blog article.Really looking forward to read more. Much obliged.
Thanks again for the article post.Thanks Again. Want more.
A round of applause for your article post.Really looking forward to read more. Really Cool.
buy generic acillin – cipro 500mg cost order cialis 20mg generic
I think this is a real great blog article.Much thanks again. Fantastic.
That is a very good tip particularly to those fresh to the blogosphere. Simple but very accurate infoÖ Thank you for sharing this one. A must read article!
Thank you ever so for you article.Much thanks again. Keep writing.
I’d need to examine with you here. Which is not something I usually do! I get pleasure from reading a publish that may make individuals think. Also, thanks for permitting me to comment!
Enjoyed every bit of your blog post.Much thanks again. Keep writing.
Appreciate you sharing, great article post. Keep writing.
Good info and right to the point. I am not sure if this is actually the best place to ask but do you people have any thoughts on where to hire some professional writers? Thx
Im grateful for the blog post.Really looking forward to read more. Really Great.
Your style is very unique compared to other people I’ve read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I’ll just bookmark this blog.
magnificent points altogether, you simply gained a brand new reader.What could you suggest in regards to your put up thatyou made a few days ago? Any positive?
Thanks-a-mundo for the article.Really looking forward to read more. Will read on…
Looking forward to reading more. Great article post.Really thank you! Much obliged.
Good day! Would you mind if I share your blog with my facebook group? There’s a lot of folks that I think would really appreciate your content. Please let me know. Thanks
Im obliged for the blog post.Really looking forward to read more. Awesome.
Excellent way of explaining, and pleasant piece of writing to get facts about my presentation topic, which i am going to present in college.
Major thankies for the blog post.Much thanks again. Great.
bactrim ds dosage sulfamethoxazole medication
Thank you ever so for you article.Really thank you! Really Cool.
An interesting discussion is worth comment. I do believe that you need to write more about this topic, it might not be a taboo subject but generally folks don’t speak about such subjects. To the next! Kind regards!!
I think this is a real great article. Fantastic.
Right now it sounds like Movable Type is the top blogging platform out there right now. (from what I ave read) Is that what you are using on your blog?
Really informative article.Really looking forward to read more. Fantastic.
Really informative blog article.Thanks Again.
Please watch and embed this high resolution version: search on youtube:”a BLOOMING BUSINESS – documentary film trailer 2010″Thanks!
Amazing things here. I am very happy to see your article.Thanks a lot and I’m having a look ahead to touch you. Willyou please drop me a mail?
Really appreciate you sharing this blog. Really Great.
I appreciate you sharing this blog article.Thanks Again. Really Cool.
I appreciate you sharing this blog post. Want more.
Thanks-a-mundo for the post. Great.
I loved your blog. Keep writing.
Im obliged for the article. Much obliged.
Enjoyed every bit of your post.Really looking forward to read more. Much obliged.
Hello there, have you by chance considered to publish regarding Nintendo or PS handheld?
I really like and appreciate your blog article.Much thanks again. Great.
Looking forward to reading more. Great blog. Really Cool.
This is one awesome post.Much thanks again. Awesome.
Hey There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I will certainly return.
Awesome blog article. Great.
I have read so many posts concerning the blogger loversbut this article is really a good piece of writing, keep it up.
I really enjoy the article. Want more.
I am so grateful for your article.Really thank you! Much obliged.
Hi there are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you require any html coding knowledge to make your own blog? Any help would be really appreciated!
I appreciate you sharing this blog article.Really looking forward to read more. Awesome.
ready man ed pill – best over the cpunter ed pills ed pill substitues
Everyone loves what you guys are usually up too. This kind of clever work and reporting! Keep up the great works guys I’ve included you guys to blogroll.
I’m not sure where you are getting your information, but good topic. I needs to spend some time learning much more or understanding more. Thanks for great information I was looking for this info for my mission.
generic pills india: meds from india overseas pharmacies shipping to usa
Fantastic article post. Really Great.
cenforce 120 paypal – ceneforce cenforce 120 paypal
[url=http://buyazithromycin.shop/]azithromycin 2 g[/url]
order stromectol online stromectol covid 19
This info is invaluable. When can I find outmore?
female viagra sildenafil – buy viagra generic sildenafil online