aangelo9

Results 50 comments of aangelo9

1) Current Env Setup: - Windows 11 OS - VMWare Workstation Pro - Ubuntu x64 (22.04) Or in codebase variables: ``` WARN hserver.py _raise_invalid_host:790 Don't recognize host: host_os_name=Linux, am_host_os_name=None ```...

Understood, I will add some hacks and mark them with `TODO(gp): Remove this as per HelpersTask578` and update the setup document.

Current hack is: - Run Docker container as root user for external linux users. - Skip DinD for external linux users. Problem: - For Ubuntu, the user inside the container...

- Output for `i print_env`. ``` (client_venv.helpers) alvinoangelo@alvinoangelo:~/src/helpers1$ i print_env 12:46:00 - INFO hdbg.py init_logger:1018 > cmd='/home/alvinoangelo/src/venv/client_venv.helpers/bin/invoke print_env' 12:46:00 - WARN hserver.py _raise_invalid_host:782 Don't recognize host: host_os_name=Linux, am_host_os_name=None 12:46:00 -...

`CSFY_ENABLE_DIND` is set to 0. ``` version: '3' services: base_app: cap_add: - SYS_ADMIN environment: - CSFY_ENABLE_DIND=0 - CSFY_FORCE_TEST_FAIL=$CSFY_FORCE_TEST_FAIL - CSFY_HOST_NAME=alvinoangelo - CSFY_HOST_OS_NAME=Linux - CSFY_HOST_USER_NAME=alvinoangelo - CSFY_HOST_VERSION=6.8.0-57-generic - CSFY_REPO_CONFIG_CHECK=True - CSFY_REPO_CONFIG_PATH=...

I've tried that approach, but it still asks for sudo password and stays stuck when `ctrl+c`. ``` (client_venv.helpers) alvinoangelo@alvinoangelo:~/src/helpers1$ i docker_bash 13:44:10 - INFO hdbg.py init_logger:1018 > cmd='/home/alvinoangelo/src/venv/client_venv.helpers/bin/invoke docker_bash' #...

`getent group 1000` output: ``` (client_venv.helpers) alvinoangelo@alvinoangelo:~/src/helpers1$ getent group 1000 alvinoangelo:x:1000: ```

Yes, `CSFY_ENABLE_DIND` = 1 now. I figured out that this line was the one making the issue. ``` sudo echo '{ "storage-driver": "vfs" }' | sudo tee -a /etc/docker/daemon.json ```...

No it does not ask for password when run on host. It also mounted successfully. ``` (client_venv.helpers) alvinoangelo@alvinoangelo:~/src/helpers1$ cat /etc/docker/daemon.json { "storage-driver": "vfs" } ```

I ran into a ulimit error when testing: ``` (client_venv.helpers) alvinoangelo@alvinoangelo:~/src/helpers1$ i docker_bash 21:24:03 - INFO hdbg.py init_logger:1018 > cmd='/home/alvinoangelo/src/venv/client_venv.helpers/bin/invoke docker_bash' # docker_bash: base_image='', stage='dev', version='', use_entrypoint=True, as_user=True, generate_docker_compose_file=True, container_dir_name='.',...