<div dir="ltr"><div>Hi Mike,test which is failed for me is:</div><div><b>tempest.api.volume.admin.test_volume_types.VolumeTypesTest</b></div><div><br></div><div>I am getting error in below function call in above test</div>
<div> "<b>self.volumes_client.wait_for_volume_status</b><b>(volume['id'],</b><b> 'available')</b><b>".</b></div><div><br></div><div>This function call is in below function:</div><div><b>@test.attr(type='smoke')<br>
</b></div><div><div><b>    def test_create_get_delete_volume_with_volume_type_and_extra_specs(self)</b></div></div><div><br></div><div><br></div><div>I saw in c-sch log and i found this major issue:</div><div><b>2014-08-01 14:08:05.773 11853 ERROR cinder.scheduler.flows.create_volume [req-ceafd00c-30b1-4846-a555-6116556efb3b 43af88811b2243238d3d9fc732731565 a39922e8e5284729b07fcd045cfd5a88 - - -] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid host was found. No weighed hosts available</b><br>
</div><div><br></div><div>Actually by analyzing the test i found:</div><div>1)it is creating a volume-type with extra_specs</div><div>2)it is creating a volume with volume type and here it is failing.</div><div><br></div>
<div><br></div><div><b>Below is my new local.conf file. </b></div><div><b>Am i missing anything in this?</b></div><div><div><br></div><div>[[local|localrc]]</div><div>ADMIN_PASSWORD=<span style="font-family:arial,sans-serif;font-size:13px">some_password</span></div>
<div>DATABASE_PASSWORD=$ADMIN_PASSWORD</div><div>RABBIT_PASSWORD=$ADMIN_PASSWORD</div><div>SERVICE_PASSWORD=$ADMIN_PASSWORD</div><div>SERVICE_TOKEN=ADMIN</div><div>FLAT_INTERFACE=eth0</div><div>FIXED_RANGE=<a href="http://192.168.2.80/29">192.168.2.80/29</a></div>
<div>HOST_IP=192.168.2.64</div><div>LOGFILE=$DEST/logs/stack.sh.log</div><div>SCREEN_LOGDIR=$DEST/logs/screen</div><div>SYSLOG=True</div><div>SYSLOG_HOST=$HOST_IP</div><div>SYSLOG_PORT=516</div><div>RECLONE=yes</div><div>
CINDER_ENABLED_BACKENDS=client:client_driver</div><div>TEMPEST_VOLUME_DRIVER=client_iscsi</div><div>TEMPEST_VOLUME_VENDOR="CLIENT"</div><div>TEMPEST_STORAGE_PROTOCOL=iSCSI</div><div>VOLUME_BACKING_FILE_SIZE=20G</div>
<div><br></div><div>[[post-config|$CINDER_CONF]]</div><div>[client_driver]</div><div>volume_driver=cinder.volume.drivers.san.client.iscsi.client_iscsi.ClientISCSIDriver</div><div>san_ip=192.168.2.192</div><div>san_login=some_name</div>
<div>san_password=some_password</div><div>client_iscsi_ips = 192.168.2.193</div></div><div><br></div><div><br></div><div><b>Below is my cinder.conf:</b></div><div><div>[keystone_authtoken]</div><div>auth_uri = <a href="http://192.168.2.64:5000/v2.0">http://192.168.2.64:5000/v2.0</a></div>
<div>signing_dir = /var/cache/cinder</div><div>admin_password = <span style="font-family:arial,sans-serif;font-size:13px">some_password</span></div><div>admin_user = cinder</div><div>admin_tenant_name = service</div><div>
cafile =</div><div>identity_uri = <a href="http://192.168.2.64:35357">http://192.168.2.64:35357</a></div><div><br></div><div>[DEFAULT]</div><div>rabbit_password = <span style="font-family:arial,sans-serif;font-size:13px">some_password</span></div>
<div>rabbit_hosts = 192.168.2.64</div><div>rpc_backend = cinder.openstack.common.rpc.impl_kombu</div><div>use_syslog = True</div><div>default_volume_type = client_driver</div><div>enabled_backends = client_driver</div><div>
enable_v1_api = true</div><div>periodic_interval = 60</div><div>lock_path = /opt/stack/data/cinder</div><div>state_path = /opt/stack/data/cinder</div><div>osapi_volume_extension = cinder.api.contrib.standard_extensions</div>
<div>rootwrap_config = /etc/cinder/rootwrap.conf</div><div>api_paste_config = /etc/cinder/api-paste.ini</div><div>sql_connection = mysql://root:<span style="font-family:arial,sans-serif;font-size:13px">some_password</span>@<a href="http://127.0.0.1/cinder?charset=utf8">127.0.0.1/cinder?charset=utf8</a></div>
<div>iscsi_helper = tgtadm</div><div>my_ip = 192.168.2.64</div><div>verbose = True</div><div>debug = True</div><div>auth_strategy = keystone</div><div><br></div><div>[client_driver]</div><div>client_iscsi_ips = 192.168.2.193</div>
<div>san_password = !manage</div><div>san_login = manage</div><div>san_ip = 192.168.2.192</div><div>volume_driver = cinder.volume.drivers.san.client.iscsi.client_iscsi.ClientISCSIDriver</div></div><div><br></div><div><br>
</div><div><br></div><div>Regards</div><div>Nikesh</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Aug 1, 2014 at 1:56 AM, Mike Perez <span dir="ltr"><<a href="mailto:thingee@gmail.com" target="_blank">thingee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 11:30 Thu 31 Jul     , Nikesh Kumar Mahalka wrote:<br>
> I deployed a single node devstack on Ubuntu 14.04.<br>
> This devstack belongs to Juno.<br>
><br>
> When i am running tempest api volume test, i am getting some tests failed.<br>
<br>
</div>Hi Nikesh,<br>
<br>
To further figure out what's wrong, take a look at the c-vol, c-api and c-sch<br>
tabs in the stack screen session. If you're unsure where to go from there after<br>
looking at the output, set the `SCREEN_LOGDIR` setting in your local.conf [1]<br>
and copy the logs from those tabs to <a href="http://paste.openstack.org" target="_blank">paste.openstack.org</a> for us to see.<br>
<br>
[1] - <a href="http://devstack.org/configuration.html" target="_blank">http://devstack.org/configuration.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mike Perez<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</font></span></blockquote></div><br></div>