intel / ACON

Apache License 2.0
56 stars 17 forks source link

[OpenID test] `aconcli run` failed #114

Closed billionairiam closed 3 months ago

billionairiam commented 3 months ago

This is the output that seems acond caused this:

Fingerprint of ACON-TD being connected: def528e21bc8
Error: Run: cannot login as user 1000: failed to parse access token from response: invalid character 'R' looking for beginning of value
Usage:
  aconcli run [manifest]... [flags]

Flags:
  -A, --all                load/start all images in the current ACON image repo
  -a, --auto               load dependencies automatically
  -c, --connect string     connect target url
      --env strings        set environment variables inside new containers
  -f, --file string        path to the executable for launching ACON TD/VM (default "/home/sgx/maliang/ACON_TEST/test/acon-startvm")
      --finalize           finalize the process of loading images to ACON TD/VM (default true)
  -h, --help               help for run
  -i, --interactive        run ACON TD/VM in foreground (usually for debugging)
  -l, --loadonly strings   load (but do not start) the specified images
  -n, --new                start a new ACON TD/VM
  -p, --proxy string       http proxy for ACON VM
  -t, --timetolive int     shut down the TD/VM after being idle for specified number of seconds (default 60)
  -u, --user string        user ID for OpenID authentication

Global Flags:
  -C, --directory string   change working directory before performing any operations
      --nologin            if set, login as an anonymous user
xiangquanliu commented 3 months ago

Hi @billionairiam, which test case are you using to cause run fail.

billionairiam commented 3 months ago

Hi @billionairiam, which test case are you using to cause run fail.

busybox

xxu36 commented 3 months ago

@billionairiam Is this issue the one you talked about yesterday, which seems related to testing environment?

xiangquanliu commented 3 months ago

Should be a DNS configuration issue, so pls generate the initrd with DNS support. I suggest we should document how to generate initrd with DNS support.

binxing commented 3 months ago

This is not an issue, provided that /init can initialize /etc/resolv.conf. /init will do so if generated by gen_init with F=1.