lsdk1906: flex-builder docker fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lsdk1906: flex-builder docker fails

1,228 Views
ZippZapp
Contributor II

$ cd ~/Projects/flexbuild_lsdk1906

$ source setup.env

$ flex-builder docker

results in error:

Unable to find image 'fbubuntu:18.04' locally
Trying to pull repository docker.io/library/fbubuntu ...
Trying to pull repository registry.fedoraproject.org/fbubuntu ...
Trying to pull repository quay.io/fbubuntu ...
Trying to pull repository registry.access.redhat.com/fbubuntu ...
Trying to pull repository registry.centos.org/fbubuntu ...
Trying to pull repository docker.io/library/fbubuntu ...
/usr/bin/docker-current: repository docker.io/fbubuntu not found: does not exist or no pull access.
See '/usr/bin/docker-current run --help'.

The same works fine with flexbuild_ls1028a_bsp0.3

I have tried re-downloading the lsdk1906 and unpacking it in other location, but still get the same error.

Additional info:

$sudo systemctl status docker

Jul 03 18:21:51 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:51.127437094+02:00" level=error msg="Attempting next endpoint for pull after error: error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: \"<!DOCTYPE HTML PUBLIC \\\"-//W3C//DTD HTML 3.2 Final//EN\\\">\\n<title>404 Not Found</title>\\n<h1>Not Found</h1>\\n<p>The requested URL was not found on the se>
Jul 03 18:21:51 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:51.772412126+02:00" level=error msg="Error trying v2 registry: name unknown: Repo not found"
Jul 03 18:21:51 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:51.772484017+02:00" level=error msg="Attempting next endpoint for pull after error: name unknown: Repo not found"
Jul 03 18:21:51 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:51.772552646+02:00" level=info msg="Translating \"name unknown: Repo not found\" to \"repository registry.access.redhat.com/fbubuntu not found\""
Jul 03 18:21:53 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:53.237418019+02:00" level=error msg="Error trying v2 registry: manifest unknown: manifest unknown"
Jul 03 18:21:53 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:53.237493073+02:00" level=error msg="Attempting next endpoint for pull after error: manifest unknown: manifest unknown"
Jul 03 18:21:53 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:53.237545020+02:00" level=info msg="Translating \"manifest unknown: manifest unknown\" to \"manifest for registry.centos.org/fbubuntu:18.04 not found\""
Jul 03 18:21:55 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:55.065125911+02:00" level=error msg="Not continuing with pull after error: errors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n"
Jul 03 18:21:55 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:55.065203836+02:00" level=info msg="Ignoring extra error returned from registry: unauthorized: authentication required"
Jul 03 18:21:55 localhost.localdomain dockerd-current[11471]: time="2019-07-03T18:21:55.065271959+02:00" level=info msg="Translating \"denied: requested access to the resource is denied\" to \"repository docker.io/fbubuntu not found: does not exist or no pull access\""
~
<

Please anyone - any ideas how to fix this?

Thanks

Labels (1)
0 Kudos
1 Reply

819 Views
ZippZapp
Contributor II

It seems as if the problem lies in flex-builder.

If I replace the flexbuild_launch_docker() function with the one from the flex-builder in bsp0.3 then it seems to work. I haven't fully tested this fix yet though to know for sure. Would be nice if someone from NXP could look at this.

Thanks

0 Kudos