threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

contianer_shell not working with jsx installation in container with MacOS #725

Closed Pishoy closed 5 years ago

Pishoy commented 5 years ago
MacBookPro:tmp codescalers$ /tmp/jsx container_shell 
DOWNLOADED INSTALLTOOLS TO /tmp/InstallTools.py
export docker:3bot to /JS8/sandbox/var/containers/3bot/exports/1.tar, will take a while
import docker:/JS8/sandbox/var/containers/3bot/exports/1.tar to temp, will take a while
sha256:041d27d6a8c0f925ba512c1c1debc262f2d970591be39ba70f0a8792965580fe
 - Docker machine gets created: 
b79e9f65540859fe0c08347e32d10d87d6e063f734c237ca5553869eb911fb8a
 - Docker machine OK
 - Start SSH server
cat: /root/.BASEINSTALL_OK: No such file or directory
 * Starting OpenBSD Secure Shell server sshd                             [ OK ] 
getaddrinfo 3bot: nodename nor servname provided, or not known
getaddrinfo 3bot: nodename nor servname provided, or not known
getaddrinfo 3bot: nodename nor servname provided, or not known
 - cleanup:cd /
 - cleanup:rm -f /tmp/cleanedup
 - cleanup:find . -name "*.pyc" -exec rm -rf {} \;
 - cleanup:find . -type d -name "__pycache__" -delete
 - cleanup:find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
 - cleanup:find . -name "*.bak" -exec rm -rf {} \;
 - cleanup:rm -f /root/.jsx_history
 - cleanup:rm -f /root/.ssh/*
 - cleanup:rm -rf /root/.cache
 - cleanup:mkdir -p /root/.cache
 - cleanup:rm -rf /bd_build
 - cleanup:rm -rf /var/log
 - cleanup:mkdir -p /var/log
 - cleanup:rm -rf /var/mail
 - cleanup:mkdir -p /var/mail
 - cleanup:rm -rf /tmp
 - cleanup:mkdir -p /tmp
 - cleanup:chmod -R 0777 /tmp
 - cleanup:rm -rf /var/backups
 - cleanup:find . -name "*.bak" -exec rm -rf {} \;
 - cleanup:apt-get clean -y
 - cleanup:apt-get autoremove --purge -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 - cleanup:rm -rf /sandbox/openresty/pod
 - cleanup:rm -rf /sandbox/openresty/site
 - cleanup:touch /tmp/cleanedup
 - cleanup:
export docker:temp to /JS8/sandbox/var/containers/3bot/exports/1.tar, will take a while
Wed 17 13:20:08 InstallTools.py  -3236 - clean                              : remove container:temp/temp:latest
Untagged: temp/temp:latest
Deleted: sha256:041d27d6a8c0f925ba512c1c1debc262f2d970591be39ba70f0a8792965580fe
Deleted: sha256:8ac955f0a20a25fc2cebaf7617595bc2722563f007c5727f1c5a5b8cfe5f1a91
Wed 17 13:20:12 InstallTools.py  -3440 - import_                            : remove container:despiegk/3bot:latest
Untagged: despiegk/3bot:latest
Deleted: sha256:81d4cbfd360663de01f652f54bec90b87cfaa1c6514a83c82ef6ae09d0a9e8cc
Deleted: sha256:3ac7303fe84bb449cdd89b34b321276400962c38790dd2e4227b794d2500c595
import docker:/JS8/sandbox/var/containers/3bot/exports/1.tar to 3bot, will take a while
sha256:3be61c4a9d917699037d79de1dee322a7bcd47aacf22c4b480968dac4aeff7f8
 - Docker machine gets created: 
d78cfd431b74dcf04e6f7ae4baa5542d9d6436ebe9cb42b271e72a2592436a75
 - Docker machine OK
 - Start SSH server
cat: /root/.BASEINSTALL_OK: No such file or directory
 * Starting OpenBSD Secure Shell server sshd                             [ OK ] 
getaddrinfo 3bot: nodename nor servname provided, or not known
getaddrinfo 3bot: nodename nor servname provided, or not known
getaddrinfo 3bot: nodename nor servname provided, or not known
MacBookPro:tmp codescalers$ ssh-add -l
2048 SHA256:CNUcWPSNmN9vb3QNL7osFNtV+KNFsntCj17VZ8egZ5Y codescalers@MacBookPro (RSA)
waleedhammam commented 5 years ago

fixed at: https://github.com/threefoldtech/jumpscaleX/commit/399cccf8018365a5852c6e1c3a81ed0cd64d18a4 branch development_jumpscale

Pishoy commented 5 years ago

verified