欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

openstackcreatevm步驟-創(chuàng)新互聯(lián)

一、查看信息

站在用戶的角度思考問題,與客戶深入溝通,找到大安市網(wǎng)站設(shè)計與大安市網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗,讓設(shè)計與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個性化、用戶體驗好的作品,建站類型包括:成都網(wǎng)站設(shè)計、網(wǎng)站制作、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣、域名申請、虛擬空間、企業(yè)郵箱。業(yè)務(wù)覆蓋大安市地區(qū)。

1)鑒權(quán)

[root@rong ~]# cat keystonerc_admin 
unset OS_SERVICE_TOKEN
   export OS_USERNAME=admin
   export OS_PASSWORD='8d07f364025d414e'
   export OS_REGION_NAME=RegionOne
   export OS_AUTH_URL=http://192.168.222.128:5000/v3
   export PS1='[\u@\h \W(keystone_admin)]\$ '

export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_IDENTITY_API_VERSION=3
   [root@rong ~]# source keystonerc_admin 
[root@rong ~(keystone_admin)]#

openstack create vm步驟
2)查看規(guī)格,下列規(guī)格是默認有的

[root@rong ~(keystone_admin)]# openstack flavor list
+----+-----------+-------+------+-----------+-------+-----------+
| ID | Name    |  RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+-----------+-------+------+-----------+-------+-----------+
| 1  | m1.tiny  |  512 |   1 |     0 |   1 | True    |
| 2  | m1.small  |  2048 |  20 |     0 |   1 | True    |
| 3  | m1.medium |  4096 |  40 |     0 |   2 | True    |
| 4  | m1.large  |  8192 |  80 |     0 |   4 | True    |
| 5  | m1.xlarge | 16384 |  160 |     0 |   8 | True    |
+----+-----------+-------+------+-----------+-------+-----------+
[root@rong ~(keystone_admin)]#

openstack create vm步驟
3)查看鏡像

[root@rong ~(keystone_admin)]# openstack image list
+--------------------------------------+-----------+--------+
| ID                  | Name    | Status |
+--------------------------------------+-----------+--------+
| fd04d446-f1cb-4aa8-9f72-f414a71faefc | cirros   | active |
| 587655c8-87ea-4c3f-bdba-41a763667d57 | cirrosnew | active |
+--------------------------------------+-----------+--------+

openstack create vm步驟
由于默認的鏡像大小不對,創(chuàng)建虛擬機會報錯,這里上傳了新的鏡像,具體操作請看“故障處理”。
4)查看網(wǎng)絡(luò)

[root@rong ~(keystone_admin)]# openstack network list
+--------------------------------------+---------+--------------------------------------+
| ID                  | Name   | Subnets                |
+--------------------------------------+---------+--------------------------------------+
| 573ad869-aa73-4c8c-a57c-033590c4f8f1 | private | 1f5a428e-e7f4-430b-9bdd-adedf2692d5b |
| 6aa84627-9631-4c2c-8549-2fc7880d8d18 | public  | ae58274e-eaf3-467f-adc1-dec7b39a3084 |
+--------------------------------------+---------+--------------------------------------+

openstack create vm步驟
二、創(chuàng)建虛擬機
1)通過openstack界面創(chuàng)建
openstack create vm步驟

openstack create vm步驟

openstack create vm步驟
2)查看虛擬機
openstack create vm步驟

3)通過VNC進入虛擬機操作系統(tǒng)
openstack create vm步驟

openstack create vm步驟

三、故障排除
1)OpenStack報錯:Host is not mapped to any cell
通過命令創(chuàng)建虛擬機報錯:Host is not mapped to any cell,通過執(zhí)行nova-manage cell_v2 discover_hosts --verbose后,可以創(chuàng)建虛擬機。
參考:https://blog.51cto.com/3241766/2328408
2)openstack vnc報錯:failed to connect to server (code: 1006)
在vmware中使用火狐登陸openstack,通過VNC登陸,報錯failed to connect to server (code: 1006),通過在/etc/hosts中添加主機名和IP地址解析后,可以打開VNC。
參考:https://blog.51cto.com/01000/1926756
3)默認的cirror鏡像有問題導(dǎo)致創(chuàng)建虛擬機報錯
故障排除思路:剛開始通過命令創(chuàng)建虛擬機可以運行,但通過界面創(chuàng)建虛擬機報did not finish being created even after we waited 22 seconds的錯誤,查看磁盤也是錯誤的,還以為cinder沒配置好,但單獨創(chuàng)建磁盤又是正常的,再看了cinder的日志,發(fā)現(xiàn)lvm': Image is not in qcow2 format,查看默認的鏡像,發(fā)現(xiàn)鏡像只有4k,而cirros正常應(yīng)該是13M左右,于是上傳新的cirros,再次創(chuàng)建虛擬機,問題解決。

grep ERROR /var/log/nova/nova-compute.log
2020-03-07 01:08:45.770 39342 ERROR nova.compute.manager [req-bb578158-d197-49c6-b175-3aea0c9c5dad 25fccd945563495ba21acd0abea6fdbe 7f63d6be4a7c446a831f4a4d0bcc8201 - default default] [instance: e4234603-8aee-45f2-90ac-948761dd5b2a] Build of instance e4234603-8aee-45f2-90ac-948761dd5b2a aborted: Volume 3c39cc33-dd25-4eef-bd1c-b51dc9caa724 did not finish being created even after we waited 22 seconds or 7 attempts. And its status is error.: BuildAbortException: Build of instance e4234603-8aee-45f2-90ac-948761dd5b2a aborted: Volume 3c39cc33-dd25-4eef-bd1c-b51dc9caa724 did not finish being created even after we waited 22 seconds or 7 attempts. And its status is error.
 grep ERROR /var/log/cinder/volume.log
2020-03-07 01:20:43.686 4216 ERROR cinder.volume.flows.manager.create_volume [req-2bdb180a-5236-4c78-b9f9-45a55dae1784 25fccd945563495ba21acd0abea6fdbe 7f63d6be4a7c446a831f4a4d0bcc8201 - default default] Volume 8a015ea9-b34a-47a8-86b7-f40721b279cd: create failed
2020-03-07 01:20:43.708 4216 ERROR oslo_messaging.rpc.server [req-2bdb180a-5236-4c78-b9f9-45a55dae1784 25fccd945563495ba21acd0abea6fdbe 7f63d6be4a7c446a831f4a4d0bcc8201 - default default] Exception during message handling: ImageCopyFailure: Failed to copy image to volume: qemu-img: Could not open '/var/lib/cinder/conversion/tmpx_Egn4rong@lvm': Image is not in qcow2 format

通過winscp上傳新鏡像cirros-0.4.0-x86_64-disk.img:
openstack create vm步驟
通過命令上傳:

openstack image create "cirrosnew" \
--file cirros-0.3.5-x86_64-disk.img \
--disk-format qcow2 --container-format bare \
--public
[root@rong ~(keystone_admin)]# openstack image show cirrosnew
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field       | Value                                                                                            |
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum     | 443b7623e27ecf03dc9e01ee93f67afe                                                                              |
| container_format | bare                                                                                            |
| created_at    | 2020-03-07T10:11:31Z                                                                                    |
| disk_format    | qcow2                                                                                            |
| file       | /v2/images/587655c8-87ea-4c3f-bdba-41a763667d57/file                                                                    |
| id        | 587655c8-87ea-4c3f-bdba-41a763667d57                                                                            |
| min_disk     | 0                                                                                              |
| min_ram      | 0                                                                                              |
| name       | cirrosnew                                                                                          |
| owner       | 7f63d6be4a7c446a831f4a4d0bcc8201                                                                              |
| properties    | os_hash_algo='sha512', os_hash_value='6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78', os_hidden='False' |
| protected     | False                                                                                            |
| schema      | /v2/schemas/image                                                                                      |
| size       | 12716032                                                                                          |
| status      | active                                                                                           |
| tags       |                                                                                               |
| updated_at    | 2020-03-07T10:11:33Z                                                                                    |
| virtual_size   | None                                                                                            |
| visibility    | public                                                                                           |
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[root@rong ~(keystone_admin)]#

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

當(dāng)前文章:openstackcreatevm步驟-創(chuàng)新互聯(lián)
文章URL:http://aaarwkj.com/article42/dppjec.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供App設(shè)計、自適應(yīng)網(wǎng)站、關(guān)鍵詞優(yōu)化、Google網(wǎng)站維護、響應(yīng)式網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

外貿(mào)網(wǎng)站建設(shè)
日韩专区亚洲专区欧美专区| 日韩欧美二区三区在线| 国产综合亚洲欧美日韩| 久久久久久国产精彩视频| 97在线观看免费播放| 日本欧美一区二区二区视频免费 | 一本久道久久综合久久鬼色| 日本高清不卡中文字幕| 久久久久久精品妇女| 亚洲天堂av成人在线观看| 免费观看中国性生活片| 日韩一区二区三区四区精品| 天天操夜夜操白天操晚上操| 久久这里有精品免费观看| 色吊丝日韩在线观看| 人妻系列日本在线播放| 亚洲大片色一区在线观看| 中文字幕日本人妻乱码| 亚洲国产精品午夜福利在线播放| 中高龄夫妇五十路六十路| 久久人热视频这里只有精品| 日本av二区三区在线| 麻豆视频传媒入口在线播放| 日韩中文字幕 在线播放| 我的极品小姨在线观看| 午夜一区二区三区精品| 国产日韩欧美高清免费视频| 亚洲av天堂在线播放| 亚洲精品欧美综合第四区| 欧美伊香蕉久久综合网99| 久久人妻精品一区二区三区| 中文字幕丝袜精品久久| 88国产精品久久久久久| 国产亚洲欧美精品久久久久| 日韩一区二区三区四区精品| 蜜桃传媒18传媒在线| 国产伦一区二区三区三州| 一区二区三区四区四虎| 欧美日本一道本一区二区三区| 熟妇高潮一区二区在线观看| 成人福利网站午夜一区|