Hi,

It seems there are something wrong when you build yardstick-image.
Maybe you can download yardstick-image directly:
         cd /home/opnfv/images
         wget http://artifacts.opnfv.org/yardstick/images/yardstick-image.img

Then execute yardstick env prepare again.
Hope that would work for you.

Regards,
Jack Chan

发件人: opnfv-tech-discuss-boun...@lists.opnfv.org 
[mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] 代表 vven...@codeaurora.org
发送时间: 2017年8月24日 13:26
收件人: opnfv-tech-discuss@lists.opnfv.org
主题: [opnfv-tech-discuss] [yardstick] yardstick env prepare - chroot error


Hi,

I am setting up yardstick using docker on Danube 3.0 and followed the 
instructions as per 
http://docs.opnfv.org/en/stable-danube/submodules/yardstick/docs/testing/user/userguide/04-installation.html
Setup the env variables in /etc/yardstick/openstack.creds inside docker with 
the below mentioned parameters.
Next when I setup “yardstick env prepare” though it says [Finished] without 
prompting any error, I see the error as below in /var/log/yardstick/uwsgi.log 
(Also attached ). Request someone to help on this.

+ chroot /mnt/yardstick /ubuntu-server-cloudimg-modify.sh 10.222.196.22
chroot: failed to run command '/ubuntu-server-cloudimg-modify.sh': Exec format 
error
+ error_trap
+ local rc=126



#!/bin/sh
export OS_NO_CACHE='true'
export OS_TENANT_NAME='admin'
export OS_PROJECT_NAME='admin'
export OS_USERNAME='admin'
export OS_PASSWORD='admin'
export OS_AUTH_URL='http://192.168.0.2:5000/v3'
export OS_IDENTITY_API_VERSION=3
export OS_DEFAULT_DOMAIN='default'
export OS_USER_DOMAIN_NAME='Default'
export OS_PROJECT_DOMAIN_NAME='Default'
export OS_AUTH_STRATEGY='keystone'
export OS_REGION_NAME='RegionOne'
export CINDER_ENDPOINT_TYPE='internalURL'
export GLANCE_ENDPOINT_TYPE='internalURL'
export KEYSTONE_ENDPOINT_TYPE='internalURL'
export NOVA_ENDPOINT_TYPE='internalURL'
export NEUTRON_ENDPOINT_TYPE='internalURL'
export OS_ENDPOINT_TYPE='internalURL'
export MURANO_REPO_URL='http://storage.apps.openstack.org/'
export MURANO_PACKAGES_SERVICE='glance'
export EXTERNAL_NETWORK=’admin_floating_net’

Thanks
-Venkat
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to