xds-server: SDK Installation failed from xds-cli

Description

When I install SDK from xds-cli command as follow, but it is fail.

xds-cli sdk install 5199b394 Installation failed (cannot init SetupFile path)

I use xds-server in Docker [1], and xds-cli by CUI.
SDK is copied into /xdt/sdk/poky-agl/ in docker, but xds-cli shows "SDK is not installed".

[environment]
xds-server side:
Docker container :
TAG : 5.0
IMAGE ID 75d0a72dbb72

xds-agent/cli side:
Ubuntu 16.04 (I use aws server)
install xds app by apt-get [2]
[log]
Automotive Grade Linux SDK installer version 5.0.0 ==================================================
You are about to install the SDK to "/xdt/sdk/poky-agl/5.0.0/aarch64/89551c4d8f737dba1c5c5a91a426691b". Proceed[Y/n]? Y Extracting SDK.................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
$ . /xdt/sdk/poky-agl/5.0.0/aarch64/89551c4d8f737dba1c5c5a91a426691b/environment-setup-aarch64-agl-linux
Installation failed (cannot init SetupFile path)

=> It's fail.

But SDK is copied.
[Server] /xdt/sdk/poky-agl/5.0.0/aarch64/89551c4d8f737dba1c5c5a91a426691b/
[Local] /home/ubuntu/xds-workspace/.xdt_0/sdk/poky-agl/5.0.0/aarch64/89551c4d8f737dba1c5c5a91a426691b

[1] http://docs.automotivelinux.org/docs/devguides/en/dev/reference/xds/part-1/2-1_install-xds-server-docker.html
[2] http://docs.automotivelinux.org/docs/devguides/en/dev/reference/xds/part-1/1_install-client.html

Environment

None

Activity

Show:

Harunobu Kurokawa 
April 5, 2018 at 1:47 PM

I confirmed it is resolved.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created April 3, 2018 at 2:04 AM
Updated April 18, 2018 at 4:27 PM
Resolved April 5, 2018 at 11:43 AM