# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted
[root@controller yum.repos.d]# cat /etc/ntp.conf # For more information about this file, see the man pages # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
driftfile /var/lib/ntp/drift
# Permit time synchronization with our time source, but do not # permit the source to query or modify the service on this system. restrict default nomodify notrap nopeer noquery
# Permit all access over the loopback interface. This could # be tightened as well, but to do so would effect some of # the administrative functions. restrict 127.0.0.1 restrict ::1
# Hosts on local network are less restricted. #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap restrict 192.168.10.0 mask 255.255.255.0 nomodify notrap
# Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org iburst #server 3.centos.pool.ntp.org iburst
# Key file containing the keys and key identifiers used when operating # with symmetric key cryptography. keys /etc/ntp/keys
# Specify the key identifiers which are trusted. #trustedkey 4 8 42
# Specify the key identifier to use with the ntpdc utility. #requestkey 8
# Specify the key identifier to use with the ntpq utility. #controlkey 8
# Enable writing of statistics records. #statistics clockstats cryptostats loopstats peerstats
# Disable the monitoring facility to prevent amplification attacks using ntpdc # monlist command when default restrict does not include the noquery flag. See # CVE-2013-5211 for more details. # Note: Monitoring will not be disabled with the limited restriction flag. disable monitor
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and you haven't set the root password yet, the password will be blank, so you should just press enter here.
Enter current password for root (enter for none): OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation.
Set root password? [Y/n] y New password: Re-enter new password: Password updated successfully! Reloading privilege tables.. ... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment.
Remove anonymous users? [Y/n] y ... Success!
Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y ... Success!
By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.
Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success!
Reloading the privilege tables will ensure that all changes made so far will take effect immediately.
Reload privilege tables now? [Y/n] y ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB installation should now be secure.
Thanks for using MariaDB! [root@controller ~]#
测试连接
1 2 3 4 5 6 7 8 9 10 11 12 13
[root@controller ~]# mysql -uroot -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 16 Server version: 10.3.20-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
CREATE DATABASE keystone ; grant all privileges on keystone.* to`keystone`@`localhost` identified by 'keystone' ; grant all privileges on keystone.* to`keystone`@`%` identified by 'keystone' ;
[root@controller ~]# openstack project list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 651d9bdcaa5a43fdbd8e1ec4d6f2ad72 | project | | bf3b21acb3c84e0eb98bcc48482fa97b | admin | +----------------------------------+---------+ [root@controller ~]#
创建角色与查阅角色列表
创建角色
1
openstack role create user
1 2 3 4 5 6 7 8 9 10 11
[root@controller ~]# openstack role create user +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | None | | domain_id | None | | id | 18f6de3d3a764e129ba470a6dfa81580 | | name | user | | options | {} | +-------------+----------------------------------+ [root@controller ~]#
查看角色
1 2 3 4 5 6 7 8 9
[root@controller ~]# openstack role list +----------------------------------+--------+ | ID | Name | +----------------------------------+--------+ | 1684f6f551c54e998ae4b5b65a43b31b | member | | 18f6de3d3a764e129ba470a6dfa81580 | user | | 67a8ca9b683d47b28b6489f3a9a55444 | reader | | eec344646434440394a984fb13da12e3 | admin | +----------------------------------+--------+
查看阅域列表,用户列表
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[root@controller ~]# openstack domain list +---------+---------+---------+--------------------+ | ID | Name | Enabled | Description | +---------+---------+---------+--------------------+ | default | Default | True | The default domain | +---------+---------+---------+--------------------+ [root@controller ~]# [root@controller ~]# [root@controller ~]# openstack user list +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 6980aba2962c40529e666791f406b6a5 | admin | +----------------------------------+-------+ [root@controller ~]#
镜像服务 Glance 安装
安装与配置Glance镜像服务
安装软件包
1
yum install openstack-glance
创建glance数据库 并授权
mysql -uroot -p
1 2 3
CREATE DATABASE glance ; grant all privileges on glance.* to`glance`@`localhost` identified by 'glance' ; grant all privileges on glance.* to`glance`@`%` identified by 'glance' ;
[root@controller ~]# mysql -uroot -p111111 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 16 Server version: 10.3.20-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use glance Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
[root@controller ~]# systemctl status openstack-glance-api ● openstack-glance-api.service - OpenStack Image Service (code-named Glance) API server Loaded: loaded (/usr/lib/systemd/system/openstack-glance-api.service; enabled; vendor preset: disabled) Active: active (running) since 二 2024-11-19 22:18:26 CST; 48s ago Main PID: 10781 (glance-api) CGroup: /system.slice/openstack-glance-api.service ├─10781 /usr/bin/python2 /usr/bin/glance-api ├─10793 /usr/bin/python2 /usr/bin/glance-api ├─10794 /usr/bin/python2 /usr/bin/glance-api ├─10795 /usr/bin/python2 /usr/bin/glance-api └─10796 /usr/bin/python2 /usr/bin/glance-api
11月 19 22:18:26 controller systemd[1]: Started OpenStack Image Service (code-named Glance) API server. 11月 19 22:18:27 controller glance-api[10781]: /usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: PkgResourcesDeprecationWarning: Parameters to load are de...separately. 11月 19 22:18:27 controller glance-api[10781]: return pkg_resources.EntryPoint.parse("x=" + s).load(False) Hint: Some lines were ellipsized, use -l to show in full. [root@controller ~]#
[root@controller ~]# openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +--------------------------------------+--------+--------+ | 267bb42d-a5c6-4c54-b0ff-358f5d9ce765 | cirros | active | +--------------------------------------+--------+--------+ [root@controller ~]#
放置服务 Placenment 安装
安装与配置Placement放置服务
安装placement
1
yum -y install openstack-placement-api
创建placement数据库并授权
mysql -uroot -p
1 2 3
CREATE DATABASE placement ; grant all privileges on placement.* to`placement`@`localhost` identified by 'placement' ; grant all privileges on placement.* to`placement`@`%` identified by 'placement' ;
[root@controller ~]# su placement -s /bin/sh -c "placement-manage db sync" /usr/lib/python2.7/site-packages/pymysql/cursors.py:170: Warning: (1280, u"Name 'alembic_version_pkc' ignored for PRIMARY key.") result = self._query(query) [root@controller ~]# mysql -uplacement -pplacement Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 10 Server version: 10.3.20-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use placement Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
CREATE DATABASE nova ; grant all privileges on nova.* to`nova`@`localhost` identified by 'nova' ; grant all privileges on nova.* to`nova`@`%` identified by 'nova' ;
CREATE DATABASE nova_api ; grant all privileges on nova_api.* to`nova`@`localhost` identified by 'nova' ; grant all privileges on nova_api.* to`nova`@`%` identified by 'nova' ;
CREATE DATABASE nova_cell0 ; grant all privileges on nova_cell0.* to`nova`@`localhost` identified by 'nova' ; grant all privileges on nova_cell0.* to`nova`@`%` identified by 'nova' ;
openstack user create --domain default --password nova nova
1 2 3 4 5 6 7 8 9 10 11 12
[root@controller ~]# openstack user create --domain default --password nova nova +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | domain_id | default | | enabled | True | | id | 72c22357fd6a409ba071cfbf4242550d | | name | nova | | options | {} | | password_expires_at | None | +---------------------+----------------------------------+ [root@controller ~]#
注意 这里的密码要与nova.conf中[keystone_authtoken]中的密码一致
授予nova用户 操作poject项目的admin权限
1
openstack role add --project project --user nova admin
创建nova服务及服务端点
创建服务 名称为 nova 类型为 compute
1
openstack service create --name nova compute
1 2 3 4 5 6 7 8 9 10
[root@controller ~]# openstack service create --name nova compute +---------+----------------------------------+ | Field | Value | +---------+----------------------------------+ | enabled | True | | id | 404a7df0d3f04c2e84cc64d9d7d6c4d3 | | name | nova | | type | compute | +---------+----------------------------------+ [root@controller ~]#
创建服务端点
1 2 3
openstack endpoint create --region RegionOne nova public http://controller:8774/v2.1 openstack endpoint create --region RegionOne nova internal http://controller:8774/v2.1 openstack endpoint create --region RegionOne nova admin http://controller:8774/v2.1
su nova -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose"
1 2 3 4 5 6 7 8
[root@controller ~]# su nova -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" Found 2 cell mappings. Getting computes from cell 'cell1': baf6cbee-8e4f-4d7e-b090-10283b7c84eb Checking host mapping for compute host 'computer': be6af44e-6b09-40ab-a94a-a4aeed309562 Creating host mapping for compute host 'computer': be6af44e-6b09-40ab-a94a-a4aeed309562 Found 1 unmapped computes in cell: baf6cbee-8e4f-4d7e-b090-10283b7c84eb Skipping cell0 since it does not contain hosts. [root@controller ~]#
[root@controller ~]# neutron-status upgrade check +---------------------------------------------------------------------+ | Upgrade Check Results | +---------------------------------------------------------------------+ | Check: Gateway external network | | Result: Success | | Details: L3 agents can use multiple networks as external gateways. | +---------------------------------------------------------------------+ | Check: External network bridge | | Result: Success | | Details: L3 agents are using integration bridge to connect external | | gateways | +---------------------------------------------------------------------+ | Check: Worker counts configured | | Result: Warning | | Details: The default number of workers has changed. Please see | | release notes for the new values, but it is strongly | | encouraged for deployers to manually set the values for | | api_workers and rpc_workers. | +---------------------------------------------------------------------+ [root@controller ~]#
[root@controller ~]# su cinder -s /bin/sh -c "cinder-manage db sync" Deprecated: Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT". [root@controller ~]# [root@controller ~]# mysql -uroot -p111111 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 60 Server version: 10.3.20-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use cinder ; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
[root@controller ~]# openstack volume service list +------------------+------------+------+---------+-------+----------------------------+ | Binary | Host | Zone | Status | State | Updated At | +------------------+------------+------+---------+-------+----------------------------+ | cinder-scheduler | controller | nova | enabled | down | 2024-11-21T12:04:34.000000 | +------------------+------------+------+---------+-------+----------------------------+ [root@controller ~]#
[root@controller ~]# openstack volume service list +------------------+--------------+------+---------+-------+----------------------------+ | Binary | Host | Zone | Status | State | Updated At | +------------------+--------------+------+---------+-------+----------------------------+ | cinder-scheduler | controller | nova | enabled | up | 2024-11-21T13:19:43.000000 | | cinder-volume | computer@lvm | nova | enabled | up | 2024-11-21T13:19:45.000000 | +------------------+--------------+------+---------+-------+----------------------------+
[root@controller ~]# source admin-login [root@controller ~]# openstack network list +--------------------------------------+---------+--------------------------------------+ | ID | Name | Subnets | +--------------------------------------+---------+--------------------------------------+ | 6da5eae9-60cb-408f-a2f4-788d0720cc1d | vlr-net | 10e7be73-bf6d-487a-b82d-7057d946d119 | +--------------------------------------+---------+--------------------------------------+ [root@controller ~]#
查看现有子网列表
1
openstack subnet list
1 2 3 4 5 6 7
[root@controller ~]# openstack subnet list +--------------------------------------+--------+--------------------------------------+-----------------+ | ID | Name | Network | Subnet | +--------------------------------------+--------+--------------------------------------+-----------------+ | 10e7be73-bf6d-487a-b82d-7057d946d119 | subnet | 6da5eae9-60cb-408f-a2f4-788d0720cc1d | 192.168.16.0/24 | +--------------------------------------+--------+--------------------------------------+-----------------+ [root@controller ~]
查看现有网络接口列表
1
openstack port list
1 2 3 4 5 6 7
[root@controller ~]# openstack port list +--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+ | ID | Name | MAC Address | Fixed IP Addresses | Status | +--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+ | c8ad710f-8b76-4e25-829b-4b7eb7016ae2 | | fa:16:3e:fa:e9:45 | ip_address='192.168.16.50', subnet_id='10e7be73-bf6d-487a-b82d-7057d946d119' | ACTIVE | +--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+ [root@controller ~]#
[root@controller ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:0c:29:a5:01:47 brd ff:ff:ff:ff:ff:ff inet 192.168.10.10/24 brd 192.168.10.255 scope global ens33 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fea5:147/64 scope link valid_lft forever preferred_lft forever 3: ens34: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqc80a0e28-da state UP group default qlen 1000 link/ether 00:0c:29:a5:01:51 brd ff:ff:ff:ff:ff:ff inet 192.168.16.10/24 brd 192.168.16.255 scope global ens34 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fea5:151/64 scope link valid_lft forever preferred_lft forever 7: tapb53981a7-e0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master brqc80a0e28-da state UP group default qlen 1000 link/ether de:8e:41:5b:a4:0a brd ff:ff:ff:ff:ff:ff link-netnsid 0 8: brqc80a0e28-da: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:0c:29:a5:01:51 brd ff:ff:ff:ff:ff:ff inet 192.168.16.10/24 brd 192.168.16.255 scope global brqc80a0e28-da valid_lft forever preferred_lft forever inet6 fe80::f81a:deff:feff:e939/64 scope link valid_lft forever preferred_lft forever [root@controller ~]#
openstack 中的网桥名是以”brq”开头的一串数值
查看网桥情况
1 2 3 4 5
[root@controller ~]# brctl show bridge name bridge id STP enabled interfaces brqc80a0e28-da 8000.000c29a50151 no ens34 tapb53981a7-e0 [root@controller ~]#
2024-11-22 21:59:30.410 1555 INFO nova.compute.claims [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Claim successful on node computer 2024-11-22 21:59:30.559 1555 INFO nova.virt.libvirt.driver [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Ignoring supplied device name: /dev/vda. Libvirt can't honour user-supplied dev names 2024-11-22 21:59:30.618 1555 INFO nova.virt.block_device [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Booting with volume-backed-image d68df76e-f6fd-4095-871f-5c67342d11b5 at /dev/vda 2024-11-22 21:59:37.426 1555 ERROR nova.volume.cinder [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] Initialize connection failed for volume c61c7ca2-cdac-414a-966f-9e07588f9bf6 on host computer. Error: The server has either erred or is incapable of performing the requested operation. (HTT (Request-ID: req-13c48459-5d05-4760-a39f-583c2db7a22a) Code: 500. Attempting to terminate connection.: ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-13c48459-5d05-4760-a39f-583c2db7a22a) 2024-11-22 21:59:37.495 1555 ERROR nova.compute.manager [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Instance failed block device setup: ClientException: The server has either erred or is incapable of performing the requested operation. (H0) (Request-ID: req-13c48459-5d05-4760-a39f-583c2db7a22a) ....... 2024-11-22 21:59:37.570 1555 ERROR nova.compute.manager [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] 实例48839aab-7365-45cb-a7b7-6a282ca51457的构建已中止:The server has either erred or is incapable of performing the requested operation. (00) (Request-ID: req-13c48459-5d05-4760-a39f-583c2db7a22a): BuildAbortException: \u5b9e\u4f8b48839aab-7365-45cb-a7b7-6a282ca51457\u7684\u6784\u5efa\u5df2\u4e2d\u6b62\uff1aThe server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-13c48459-5d05-4760-a39f-583c2db7a22a) 2024-11-22 21:59:37.571 1555 INFO os_vif [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] Successfully unplugged vif VIFBridge(active=False,address=fa:16:3e:cc:e5:1b,bridge_name='brqc80a0e28-da',has_traffic_filtering=True,id=3a334cc8-addd-438b-8a68-f6fa4ed76412,network=Network(c80a0e28-daa4-470-8fe5162e8c2d),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tap3a334cc8-ad') 2024-11-22 21:59:37.888 1555 INFO nova.compute.manager [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Took 0.32 seconds to deallocate network for instance. 2024-11-22 21:59:37.943 1555 INFO nova.compute.manager [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Detaching volume c61c7ca2-cdac-414a-966f-9e07588f9bf6 2024-11-22 21:59:37.993 1555 ERROR nova.virt.block_device [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] [instance: 48839aab-7365-45cb-a7b7-6a282ca51457] Unable to call for a driver detach of volume c61c7ca2-cdac-414a-966f-9e07588f9bf6 due to the instance being registered to the remote hos.: BuildAbortException: \u5b9e\u4f8b48839aab-7365-45cb-a7b7-6a282ca51457\u7684\u6784\u5efa\u5df2\u4e2d\u6b62\uff1aThe server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-13c48459-5d05-4760-a39f-583c2db7a22a) 2024-11-22 21:59:38.307 1555 INFO nova.scheduler.client.report [req-e9cd51ee-a634-49a9-9c4d-dd17a0f78e08 6980aba2962c40529e666791f406b6a5 bf3b21acb3c84e0eb98bcc48482fa97b - default default] Deleted allocation for instance 48839aab-7365-45cb-a7b7-6a282ca51457
Hi,I also met this bug under Pike(seems Ocata don't have this problem).I choose image below "Select Boot Source" and can create instance normally if choose Create New Volume with no.However,if choose yes with Create New Volume and type a number for saying 10.Then will got error Boot failed not a bootable disk in console and can see in the log with this error similar with #40.Also,I'm sure cinder is correctly configured because this 10G can be created and show in-use with that instance. Also,if I first create an instance then create volume in dashboard or ssh,can attach this volume to the instance successfully.