On 11:49 Tue 15 Sep, Tiago Melo wrote:
Hi,
Could you try the following so we can pinpoint where it is failing:
@Tiago Melo:
I'll feedback to you later when I rebuild the source without
disabling dashboard.
--Thanks
Changcheng
>
> source
/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin/activate
.
> cd /home/nstcc3/work/src/aep_replicamap/src/pybind/mgr/dashboard/frontend
> npm ci
> node cd --env --pre
> npx ng build --localize
> node cd --res
> deactivate
>
> Please share the new error log.
>
> As an extra step, after trying the previous cmds you can remove
> -
"/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env"
> -
"/home/nstcc3/work/src/aep_replicamap/src/pybind/mgr/dashboard/frontend/node_modules"
> - "/home/nstcc3/work/src/aep_replicamap/src/pybind/mgr/dashboard/frontend/dist
"
> and run:
>
> cd /home/nstcc3/work/src/aep_replicamap/build/
> make mgr-dashboard-frontend-build
>
>
> -----Original Message-----
> From: Liu, Changcheng <changcheng.liu(a)intel.com>
> Sent: 15 de setembro de 2020 07:23
> To: dev(a)ceph.io
> Subject: dashboard build error
>
> Hi all,
> I hit below error when building Ceph under master branch( head
> commit: 6f1dc299) under Ubuntu 20.04 OS host.
> Besides disabe build MGR_DASHBOARD, does anyone know how to solve it?
>
> Error build log is below:
> 0 info it worked if it ends with ok
> 1 verbose cli [
> 1 verbose cli
'/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin/node',
> 1 verbose cli
'/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin/npm',
> 1 verbose cli 'run',
> 1 verbose cli 'build:localize',
> 1 verbose cli '--',
> 1 verbose cli '--progress=false'
> 1 verbose cli ]
> 2 info using npm(a)6.14.4
> 3 info using node(a)v12.16.2
> 4 verbose run-script [ 'prebuild:localize', 'build:localize',
'postbuild:localize' ]
> 5 info lifecycle ceph-dashboard@0.0.0~prebuild:localize: ceph-dashboard(a)0.0.0
> 6 info lifecycle ceph-dashboard@0.0.0~build:localize: ceph-dashboard(a)0.0.0
> 7 verbose lifecycle ceph-dashboard@0.0.0~build:localize: unsafe-perm in
lifecycle true
> 8 verbose lifecycle ceph-dashboard@0.0.0~build:localize: PATH:
/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/nstcc3/work/src/aep_replicamap/src/pybind/mgr/dashboard/frontend/node_modules/.bin:/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/lib/node_modules/.bin:/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin:/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin:/home/nstcc3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> 9 verbose lifecycle ceph-dashboard@0.0.0~build:localize: CWD:
/home/nstcc3/work/src/aep_replicamap/src/pybind/mgr/dashboard/frontend
> 10 silly lifecycle ceph-dashboard@0.0.0~build:localize: Args: [
> 10 silly lifecycle '-c',
> 10 silly lifecycle 'node cd --env --pre && ng build --localize
"--progress=false"'
> 10 silly lifecycle ]
> 11 silly lifecycle ceph-dashboard@0.0.0~build:localize: Returned: code: 126
signal: null
> 12 info lifecycle ceph-dashboard@0.0.0~build:localize: Failed to exec
build:localize script
> 13 verbose stack Error: ceph-dashboard(a)0.0.0 build:localize: `node cd --env
--pre && ng build --localize "--progress=false"`
> 13 verbose stack Exit status 126
> 13 verbose stack at EventEmitter.<anonymous>
(/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
> 13 verbose stack at EventEmitter.emit (events.js:310:20)
> 13 verbose stack at ChildProcess.<anonymous>
(/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
> 13 verbose stack at ChildProcess.emit (events.js:310:20)
> 13 verbose stack at maybeClose (internal/child_process.js:1021:16)
> 13 verbose stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:286:5)
> 14 verbose pkgid ceph-dashboard(a)0.0.0
> 15 verbose cwd
/home/nstcc3/work/src/aep_replicamap/src/pybind/mgr/dashboard/frontend
> 16 verbose Linux 5.4.0-26-generic
> 17 verbose argv
"/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin/node"
"/home/nstcc3/work/src/aep_replicamap/build/src/pybind/mgr/dashboard/node-env/bin/npm"
"run" "build:localize" "--" "--progress=false"
> 18 verbose node v12.16.2
> 19 verbose npm v6.14.4
> 20 error code ELIFECYCLE
> 21 error errno 126
> 22 error ceph-dashboard(a)0.0.0 build:localize: `node cd --env --pre &&
ng build --localize "--progress=false"`
> 22 error Exit status 126
> 23 error Failed at the ceph-dashboard(a)0.0.0 build:localize script.
> 23 error This is probably not a problem with npm. There is likely additional
logging output above.
> 24 verbose exit [ 126, true ]
>
> B.R.
> Changcheng
> _______________________________________________
> Dev mailing list -- dev(a)ceph.io
> To unsubscribe send an email to dev-leave(a)ceph.io
>