nancy icon indicating copy to clipboard operation
nancy copied to clipboard

Error occurs when I execute "nancy run"

Open gzhexd opened this issue 6 years ago • 2 comments

Error occurs when I execute "nancy run". OS : CentOS 7.5 Kernel : [root@localhost nancy]# uname -a Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

The detailed error log is as follows: [root@localhost nancy]# nancy run --db-dump file://$(pwd)/sample.dump.bz2 --workload-custom-sql "select i from hello_world where i between 10 and 20;" [2019-04-29T16:35:43+0800] NOTICE: The Postgres version is not specified. The default will be used: 11. [2019-04-29T16:35:43+0800] NOTICE: The directory for temporary files is not specified. Default will be used: /tmp. [2019-04-29T16:35:43+0800] NOTICE: No PostgreSQL config is provided. Default will be used. [2019-04-29T16:35:43+0800] Pulling the Docker image (postgresmen/postgres-nancy:11)... Trying to pull repository docker.io/postgresmen/postgres-nancy ... Digest: sha256:55cc152588836dab4770cc1ba2a84f4538fa578d803dfd73c7db87dc69a85c48 Status: Image is up to date for docker.io/postgresmen/postgres-nancy:11 WARNING: IPv4 forwarding is disabled. Networking will not work.

========================================================== How to connect to the container: docker exec -it pg_nancy_20190429_163543773547409_CST bash [2019-04-29T16:35:47+0800] Docker 1fd6a386dea3c14a9a917bc049a06f1318dae6eb07282637706d9c62c933c727 is running. [2019-04-29T16:35:47+0800] CPU_CNT: 4, RAM_MB: 1008.0, DISK_ROTATIONAL: false lsblk: dm-0: failed to get device path lsblk: dm-1: failed to get device path lsblk: dm-0: failed to get device path lsblk: dm-0: failed to get device path lsblk: dm-1: failed to get device path mkdir: cannot create directory '/machine_home/nancy_1fd6a386dea3c14a9a917bc049a06f1318dae6eb07282637706d9c62c933c727': Permission denied [2019-04-29T16:35:49+0800] Removing temporary files... [2019-04-29T16:35:49+0800] Remove docker container [2019-04-29T16:35:49+0800] Exit with error code '1'.

gzhexd avatar Apr 29 '19 08:04 gzhexd

As a side note, I'm using the root user.

gzhexd avatar Apr 29 '19 08:04 gzhexd

Any one here?

gzhexd avatar May 05 '19 04:05 gzhexd