Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Error occurs when I execute "nancy run" #166

Open
gzhexd opened this issue Apr 29, 2019 · 2 comments
Open

Error occurs when I execute "nancy run" #166

gzhexd opened this issue Apr 29, 2019 · 2 comments

Comments

@gzhexd
Copy link

gzhexd commented Apr 29, 2019

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
Copy link
Author

gzhexd commented Apr 29, 2019

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

@gzhexd
Copy link
Author

gzhexd commented May 5, 2019

Any one here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant