unable to boot instance with cinder ceph

asked 2016-04-08 09:23:22 -0500

oaudry gravatar image

updated 2016-04-09 23:30:32 -0500

Bipin gravatar image

hello

with my rbd backend for cinder I cannot start an instance. I got the following error msg :

Unknown scheme 'file'

Glance is working fine with rdb. I can upload and list images Cinder is working fine with rdb. I can create, delete volume.

But I cannot create instance from an image in glance. Here my config :

on controller :

nova service-list

+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host        | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-consoleauth | os001 | internal | enabled | up    | 2016-04-08T13:32:31.000000 | -               |
| 2  | nova-conductor   | os001 | internal | enabled | up    | 2016-04-08T13:32:32.000000 | -               |
| 4  | nova-cert        | os001 | internal | enabled | up    | 2016-04-08T13:32:37.000000 | -               |
| 5  | nova-scheduler   | os001 | internal | enabled | up    | 2016-04-08T13:32:36.000000 | -               |
| 6  | nova-compute     | os002 | nova     | enabled | up    | 2016-04-08T13:32:41.000000 | -               |
| 7  | nova-compute     | os003 | nova     | enabled | up    | 2016-04-08T13:32:35.000000 | -               |
| 8  | nova-compute     | os006 | nova     | enabled | up    | 2016-04-08T13:32:40.000000 | -               |
| 9  | nova-compute     | os004 | nova     | enabled | up    | 2016-04-08T13:32:40.000000 | -               |
| 10 | nova-compute     | os005 | nova     | enabled | up    | 2016-04-08T13:32:40.000000 | -               |
| 11 | nova-compute     | os007 | nova     | enabled | up    | 2016-04-08T13:32:34.000000 | -               |
| 12 | nova-compute     | os008 | nova     | enabled | up    | 2016-04-08T13:32:41.000000 | -               |
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+

cinder service-list

+------------------+------------------+------+---------+-------+----------------------------+-----------------+
|      Binary      |       Host       | Zone |  Status | State |         Updated_at         | Disabled Reason |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
|  cinder-backup   |   os001    | nova | enabled |   up  | 2016-04-08T13:33:17.000000 |        -        |
| cinder-scheduler |   os001    | nova | enabled |   up  | 2016-04-08T13:33:16.000000 |        -        |
|  cinder-volume   | os002@ceph | nova | enabled |   up  | 2016-04-08T13:33:19.000000 |        -        |
|  cinder-volume   | os003@ceph | nova | enabled |   up  | 2016-04-08T13:33:19.000000 |        -        |
|  cinder-volume   | os004@ceph | nova | enabled |   up  | 2016-04-08T13:33:19.000000 |        -        |
|  cinder-volume   | os005@ceph | nova | enabled |   up  | 2016-04-08T13:33:19.000000 |        -        |
|  cinder-volume   | os006@ceph | nova | enabled |   up  | 2016-04-08T13:33:18.000000 |        -        |
|  cinder-volume   | os007@ceph | nova | enabled |   up  | 2016-04-08T13:33:19.000000 |        -        |
|  cinder-volume   | os008@ceph | nova | enabled |   up  | 2016-04-08T13:33:19.000000 |        -        |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+

nova.conf :

[DEFAULT]
vnc_keymap = fr
verbose = True
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
rpc_backend = rabbit
auth_strategy = keystone
my_ip = 10.
network_api_class = nova.network.neutronv2.api.API
security_group_api = neutron
linuxnet_interface_driver = nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
enabled_apis=osapi_compute,metadata

[database]
connection = mysql+pymysql://nova:@controller/nova

[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = 

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = 


[vnc]
vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

[glance]
host = controller

[cinder]
os_region_name = RegionOne

[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = neutron
password = 
service_metadata_proxy = True
metadata_proxy_shared_secret = 

cinder.conf

[DEFAULT]
verbose = True
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
rpc_backend = rabbit
auth_strategy = keystone
my_ip = 10.
enabled_backends=ceph

backup_driver = cinder.backup.drivers.ceph
backup_ceph_conf = /etc/ceph/ceph.conf
backup_ceph_user = cinder-backup
backup_ceph_chunk_size = 134217728
backup_ceph_pool = backups
backup_ceph_stripe_unit = 0
backup_ceph_stripe_count = 0
restore_discard_excess_bytes = true


[database]
connection = mysql+pymysql://cinder:@controller/cinder

[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = 

[keystone_authtoken]
auth_uri = http ...
(more)
edit retag flag offensive close merge delete