Hi

Is there yardstick-image in /home/opnfv/images?

Anyway, if you are compiling for arm pod, yardstick-image should be rebuild.
Since I am not familiar with arm, maybe you can check with Alexandru Avadanii.

Regards,
Jack Chan

发件人: vven...@codeaurora.org [mailto:vven...@codeaurora.org]
发送时间: 2017年8月24日 16:48
收件人: chenjiankun; opnfv-tech-discuss@lists.opnfv.org
主题: RE: [opnfv-tech-discuss] [yardstick] yardstick env prepare - chroot error

Hi Jack,
Thanks for the reply. I see below images in /home/opnfv/images directory. I am 
compiling for arm pod. Please suggest.

root@57db44f0c4b5:/home/opnfv/images# ls
cirros-0.3.5-x86_64-disk.img  xenial-server-cloudimg-amd64-disk1.img
root@57db44f0c4b5:/home/opnfv/images#

But I followed the steps you suggested, still I see the same issue…’Image build 
failed with 126’ because of chroot error

Thanks
-Venkat


From: chenjiankun [mailto:chenjiank...@huawei.com]
Sent: Thursday, August 24, 2017 12:04 PM
To: vven...@codeaurora.org<mailto:vven...@codeaurora.org>; 
opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>
Subject: RE: [opnfv-tech-discuss] [yardstick] yardstick env prepare - chroot 
error

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>
 [mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] 代表 
vven...@codeaurora.org<mailto:vven...@codeaurora.org>
发送时间: 2017年8月24日 13:26
收件人: 
opnfv-tech-discuss@lists.opnfv.org<mailto: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