<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>I am trying to install OpenStack Folsom on Fedora 18. So far I have installed:<br><br>$ openstack-status <br>== Glance services ==<br>openstack-glance-api: active<br>openstack-glance-registry: active<br>== Keystone service ==<br>openstack-keystone: active<br>== Cinder services ==<br>openstack-cinder-api: active<br>openstack-cinder-scheduler: active<br>openstack-cinder-volume: active<br>== Support services ==<br>libvirtd: active<br>tgtd: active<br>qpidd: active<br>memcached: inactive (disabled on boot)<br><br>When I tried to run cinder list, I get this error:<br>[(keystone_user)]$ cinder list<br>ERROR: Malformed request url (HTTP 400) (Request-ID: req-3692a984-8750-47a5-a673-1db9d5fd217a)<br><br><br>The instructons I have followed are as follows:<br><br># yum install openstack-cinder -y<br># openstack-db --init --service cinder<br># openstack-config --set /etc/cinder/cinder.conf DEFAULT auth_strategy keystone<br># openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_tenant_name admin<br># openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_user admin<br># openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_password admin<br># grep -q /etc/cinder/volumes /etc/tgt/targets.conf || sed -i '1iinclude /etc/cinder/volumes/*' /etc/tgt/targets.conf<br># service tgtd start <br># chkconfig tgtd on<br># truncate --size 20G ~/cinder-volumes<br># losetup -fv ~/cinder-volumes <br># vgcreate cinder-volumes /dev/loop0<br> No physical volume label read from /dev/loop0<br> Physical volume "/dev/loop0" successfully created<br> Volume group "cinder-volumes" successfully created<br># vgdisplay cinder-volumes <br> --- Volume group ---<br> VG Name cinder-volumes<br> System ID <br> Format lvm2<br> Metadata Areas 1<br> Metadata Sequence No 1<br> VG Access read/write<br> VG Status resizable<br> MAX LV 0<br> Cur LV 0<br> Open LV 0<br> Max PV 0<br> Cur PV 1<br> Act PV 1<br> VG Size 20.00 GiB<br> PE Size 4.00 MiB<br> Total PE 5119<br> Alloc PE / Size 0 / 0 <br> Free PE / Size 5119 / 20.00 GiB<br> VG UUID lZc93K-lcJc-5kpx-okRC-eFxc-bRdp-jPKVhJ<br># service openstack-cinder-api start<br># service openstack-cinder-scheduler start<br># service openstack-cinder-volume start<br># chkconfig openstack-cinder-api on<br># chkconfig openstack-cinder-scheduler on<br># chkconfig openstack-cinder-volume on<br># grep -i ERROR /var/log/cinder/*<br># grep CRITICAL /var/log/cinder/*<br><br>$ source keystonerc_admin <br>[(keystone_admin)]$ keystone service-create --name=cinder --type=volume --description="Cinder Volume Service"<br>+-------------+----------------------------------+<br>| Property | Value |<br>+-------------+----------------------------------+<br>| description | Cinder Volume Service |<br>| id | 35f0664f21c24e339dc5a59192033735 |<br>| name | cinder |<br>| type | volume |<br>+-------------+----------------------------------+<br>$ keystone endpoint-create --region RegionOne --service-id 35f0664f21c24e339dc5a59192033735 --publicurl 'http://192.168.122.215:8776/v1/\$(tenant_id)s)' --adminurl 'http://192.168.122.215:8776/v1/\$(tenant_id)s)' --internalurl 'http://192.168.122.215:8776/v1/\$(tenant_id)s)'<br>+-------------+----------------------------------------------+<br>| Property | Value |<br>+-------------+----------------------------------------------+<br>| adminurl | http://192.168.122.215:8776/v1/\$(tenant_id)s) |<br>| id | 5ce4f0a5f6874eb7a2a33265e2891a66 |<br>| internalurl | http://192.168.122.215:8776/v1/\$(tenant_id)s) |<br>| publicurl | http://192.168.122.215:8776/v1/\$(tenant_id)s) |<br>| region | RegionOne |<br>| service_id | 35f0664f21c24e339dc5a59192033735 |<br>+-------------+----------------------------------------------+<br><br>$ source keystonerc_user <br>[(keystone_user)]$ cinder list<br>ERROR: Malformed request url (HTTP 400) (Request-ID: req-6f1b6a0e-ca49-468e-85c0-1bbb063b3a2e)<br><br><br><br> </div></body>
</html>