centos 下openstack的实例文件注入(nbd)

openstack在创建实例的时候,可以对实例进行文件注入,注入的内容为:

key  ssh公钥

network 网络参数,目前仅支持debian/ ubuntu 的 /etc/network/interfaces格式。其余的系统,请使用 dhcp

admin_password  注入超级用户 root 的密码

metadata 注入元数据meta.js

具体可以参见:nova/virt/disk/api.py

 

注入的时候,有几种方式,包括loop, guestfs, nbd, mount等,其中 mount 不安全。缺省使用:

img_handlers=”loop,nbd,guestfs”

对于qcow2 格式的镜像,必须需要使用guestfs或  nbd配合 qemu-nbd注入。但是 guestfs 的速度较慢。遗憾的是 CentOS/RedHat 6.2 中,内核没有编译nbd模块, qemu也没有编译 qemu-nbd程序。

 

解决办法:

1、手工编译 nbd 和 qemu-nbd

http://www.cyberciti.biz/faq/rhel5-installing-kernel-source-code/

http://jamyy.dyndns.org/blog/2012/02/3582.html

2、向RedHat递交bug 报告

此条目发表在OpenStack分类目录,贴了, 标签。将固定链接加入收藏夹。

centos 下openstack的实例文件注入(nbd)》有 193 条评论

  1. 陈沙克说:

    现在kvm,支持修改root的密码吗?我看feature list,还是不支持?

  2. refactor说:

    支持的。需要设置一个选项:

    –libvirt_inject_password default: ‘false’

    When set, libvirt will will inject the admin password into instances before startup. An agent is not required in the instance. The admin password is specified as part of the server create API call. If no password is specified, then a randomly generated password is used.

  3. Pingback引用通告: Espiar whatsapp

  4. Pingback引用通告: high risk merchant account pharmacy

  5. Pingback引用通告: avença mensal informatica

  6. Pingback引用通告: Buy HempWorx

  7. Pingback引用通告: Damenmode kurzgroesse kaufen

  8. Pingback引用通告: high risk travel merchant account

  9. Pingback引用通告: killer sales letter

  10. Pingback引用通告: science fair projects

  11. Pingback引用通告: ¢

  12. Pingback引用通告: silicon carbide

  13. Pingback引用通告: mechanistic PK studies

  14. Pingback引用通告: กู้เงิน แคนดง

  15. Pingback引用通告: à§Ô¹¡Ùé

  16. Pingback引用通告: clean dryer vent

  17. Pingback引用通告: Caco2 studies in India

  18. Pingback引用通告: Caco 2 assay

  19. Pingback引用通告: seo wordpress

  20. Pingback引用通告: In Vivo pharmacology

  21. Pingback引用通告: contract research organizations

  22. Pingback引用通告: child development essay topics

  23. Pingback引用通告: noosa electrician

  24. Pingback引用通告: buffing pad

  25. Pingback引用通告: bismuth oxide

  26. Pingback引用通告: credit card processor for cbd products

  27. Pingback引用通告: GVK BIO

  28. Pingback引用通告: Houston Uterine Fibroid Embolization Doctor

  29. Pingback引用通告: cheap seo

  30. Pingback引用通告: sen kaşındın amcık

  31. Pingback引用通告: Play escort

  32. Pingback引用通告: Need a Car Accident Lawyer In Houston

  33. Pingback引用通告: โรงงานครีม

  34. Pingback引用通告: helpful site

  35. Pingback引用通告: apex legends

  36. Pingback引用通告: hot rods

  37. Pingback引用通告: web reputation monitoring services

  38. Pingback引用通告: Manicure Laval

  39. Pingback引用通告: moss removal London

  40. Pingback引用通告: ts escorts

  41. Pingback引用通告: technology

  42. Pingback引用通告: seo service

  43. Pingback引用通告: where search cheap revia without prescription

  44. Pingback引用通告: https://placervillehomes.com

  45. Pingback引用通告: Custom CORNHOLE BOARD SET - Any Design www.cornholestop.com

  46. Pingback引用通告: Bluetooth Cornhole Lights www.cornholestop.com/lights

  47. Pingback引用通告: Doghouse Dave

  48. Pingback引用通告: How to Achieve Your Most Ambitious Goals

  49. Pingback引用通告: Komatsu aftermarket parts

  50. Pingback引用通告: university of miami cornhole boards

  51. Pingback引用通告: buy cialis

  52. Pingback引用通告: cialis pills

  53. Pingback引用通告: cialis

  54. Pingback引用通告: viagra

  55. Pingback引用通告: viagra online

  56. Pingback引用通告: cialis online

  57. Pingback引用通告: viagra pills

  58. Pingback引用通告: buy cialis pills

  59. Pingback引用通告: buy viagra

  60. Pingback引用通告: generic viagra

  61. Pingback引用通告: tadalafil

  62. Pingback引用通告: generic viagra

  63. Pingback引用通告: viagra sans ordonnance

  64. Pingback引用通告: canadian pharmacy viagra

  65. Pingback引用通告: buy ed pills online

  66. Pingback引用通告: generic cialis

  67. Pingback引用通告: cialis from canada

  68. Pingback引用通告: what is cialis

  69. Pingback引用通告: real viagra sex

  70. Pingback引用通告: does viagra work

  71. Pingback引用通告: otc viagra

  72. Pingback引用通告: amoxicillin medicine

  73. Pingback引用通告: cialis in action

  74. Pingback引用通告: cialis for daily use

  75. Pingback引用通告: levitra 20mg

  76. Pingback引用通告: how does viagra work

  77. Pingback引用通告: discount viagra

  78. Pingback引用通告: buy generic viagra

  79. Pingback引用通告: riley reid viagra

  80. Pingback引用通告: cheap viagra 100mg

  81. Pingback引用通告: instant online payday loans

  82. Pingback引用通告: warnings for viagra

  83. Pingback引用通告: atorvastatin cipla

  84. Pingback引用通告: viagra taboo

  85. Pingback引用通告: canada cialis

  86. Pingback引用通告: buy tadalafil

  87. Pingback引用通告: cialis samples

  88. Pingback引用通告: cheap viagra

  89. Pingback引用通告: canadian online pharmacy

  90. Pingback引用通告: fucking on viagra

  91. Pingback引用通告: augmentin for herpes

  92. Pingback引用通告: Amoxil

  93. Pingback引用通告: natural viagra for men

  94. Pingback引用通告: viagra online canada

  95. Pingback引用通告: the best ed pills

  96. Pingback引用通告: doxycycline vs cephalexin

  97. Pingback引用通告: ciprofloxacin pill

  98. Pingback引用通告: oxybutynin er 10mg tablets

  99. Pingback引用通告: tizanidine and joint pain

  100. Pingback引用通告: cheapest generic viagra

  101. Pingback引用通告: online pharmacies in canada

  102. Pingback引用通告: can abilify cause swollen feet

  103. Pingback引用通告: allopurinol lawsuits

  104. Pingback引用通告: how to get zithromax over the counter

  105. Pingback引用通告: amiodarone pulmonary toxicity

  106. Pingback引用通告: what is amitriptyline 25 mg

  107. Pingback引用通告: buy generic viagra

  108. Pingback引用通告: norvasc for blood pressure

  109. Pingback引用通告: amoxicillin 500mg for sale

  110. Pingback引用通告: buy generic viagra

  111. Pingback引用通告: side effects for abilify

  112. Pingback引用通告: ed meds online without doctor prescription

  113. Pingback引用通告: atorvastatin afib

  114. Pingback引用通告: azithromycin without prescription

  115. Pingback引用通告: cheap antiviral drugs

  116. Pingback引用通告: baclofen and diabetes

  117. Pingback引用通告: icd 10 code for baclofen pump removal

  118. Pingback引用通告: canadian online pharmacies

  119. Pingback引用通告: wellbutrin xl vs lexapro

  120. Pingback引用通告: canada drug pharmacy

  121. Pingback引用通告: can you abuse buspar

  122. Pingback引用通告: is buspar a beta blocker

  123. Pingback引用通告: coreg and dry mouth

  124. Pingback引用通告: buy viagra online

  125. Pingback引用通告: eliquis and celebrex

  126. Pingback引用通告: citalopram 10 mg tablet

  127. Pingback引用通告: cheap viagra

  128. Pingback引用通告: cost of generic viagra

  129. Pingback引用通告: best antibiotic oinment to use up nose

  130. Pingback引用通告: viagra results

  131. Pingback引用通告: over the counter antibiotic

  132. Pingback引用通告: zyrtec 50

  133. Pingback引用通告: brother takes viagra

  134. Pingback引用通告: no perscription cialis

  135. Pingback引用通告: marley generic viagra

  136. Pingback引用通告: where to buy zyrtec

  137. Pingback引用通告: viagra without a doctor prescription

  138. Pingback引用通告: generic viagra

  139. Pingback引用通告: best results cialis

  140. Pingback引用通告: viagra erection pictures

  141. Pingback引用通告: viagra generic drugs

  142. Pingback引用通告: buy zithromax no prescription

  143. Pingback引用通告: where can you buy amoxicillin over the counter

  144. Pingback引用通告: images of viagra sexual

  145. Pingback引用通告: cialis tadalafil 20 mg

  146. Pingback引用通告: viagra with friends wife

  147. Pingback引用通告: ed meds online without doctor prescription

  148. Pingback引用通告: buy viagra online

  149. Pingback引用通告: cialis coupon

  150. Pingback引用通告: tadalafil

  151. Pingback引用通告: buy cheap prescription viagra online

  152. Pingback引用通告: 100mg sildenafil prices

  153. Pingback引用通告: amoxicillin and breastfeeding

  154. Pingback引用通告: what is azithromycin for

  155. Pingback引用通告: is there a generic celebrex

  156. Pingback引用通告: cephalexin and sinus

  157. Pingback引用通告: menoxicam and cymbalta

  158. Pingback引用通告: viagra

  159. Pingback引用通告: clavulanic acid and amoxicillin

  160. Pingback引用通告: generic tadalafil

  161. Pingback引用通告: ed pills otc

  162. Pingback引用通告: azithromycin z pak

  163. Pingback引用通告: erection pills viagra online

  164. Pingback引用通告: natural ed medications

  165. Pingback引用通告: ed meds online

  166. Pingback引用通告: celebrex and blood pressure

  167. Pingback引用通告: hives from keflex

  168. Pingback引用通告: cymbalta drowsiness

  169. Pingback引用通告: viagra over the counter

  170. Pingback引用通告: lasix 100mg

  171. Pingback引用通告: keflex online

  172. Pingback引用通告: ketoconazole for sale

  173. Pingback引用通告: buy chloromycetin online

  174. Pingback引用通告: ampicillin for sale

  175. Pingback引用通告: hard erections cialis

  176. Pingback引用通告: what is cialis used for

  177. Pingback引用通告: buy prescription drugs

  178. Pingback引用通告: buy generic 100mg viagra online

  179. Pingback引用通告: 100mg viagra

  180. Pingback引用通告: viagra without a doctor prescription usa

  181. Pingback引用通告: п»їviagra pills

  182. Pingback引用通告: order zithromax without prescription

  183. Pingback引用通告: п»їviagra pills

  184. Pingback引用通告: buy ed pills

  185. Pingback引用通告: zithromax prescription

  186. Pingback引用通告: buy neurontin online uk

  187. Pingback引用通告: zithromax for sale online

  188. Pingback引用通告: india pharmacy without dr prescriptions

  189. Pingback引用通告: generic pills india

  190. Pingback引用通告: cialis ed pills

  191. Pingback引用通告: buying viagra online without prescription

  192. Pingback引用通告: clomid purchase online

  193. Pingback引用通告: amoxicillin 500 tablet

发表评论

邮箱地址不会被公开。 必填项已用*标注