threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

mariadb server does not started using the generated flist by mariadb sandbox method #699

Closed Pishoy closed 5 years ago

Pishoy commented 5 years ago

i have create and flist using mariadb sandbox method but when i ceate a container using generated flist, mariadb does not started correctly using startup.toml flist file

iyo = j.clients.itsyouonline.get("bishoyiyo",baseurl="https://itsyou.online/api",application_id="nmUST7",secret="m")
token = iyo.jwt_get().jwt 
zhub_client = j.clients.zhub.get("hub_instance",token_=token,username="mikhaieb")
zhub_client.save() 
zhub_client.authenticate() 
zhub_client = j.clients.zhub.get("hub_instance")
j.builders.db.mariadb.sandbox(zhub_client=zhub_client, flist_create=True)
ranatrk commented 5 years ago

Currently getting an error in installing mariadb and working on it, therefore still didn’t reach the current issue

ranatrk commented 5 years ago
ranatrk commented 5 years ago

fix for issue when ldd results in 'statically linked' output: https://github.com/threefoldtech/jumpscaleX/commit/de0c937ac46ae453bea019c07577746081126b5e

currently working on sandbox of dependencies correctly

ranatrk commented 5 years ago

j.tools.sandboxer.libs_sandbox(src, dest) currently doesn't work as expected, looking into it. It is used to get the missing libs that all bin files need.

ranatrk commented 5 years ago

Blocked asj.tools.sandboxer.ldd() doesn't work as expected, and it is used in j.tools.sandboxer.libs_sandbox(src, dest). Looking into into it

ranatrk commented 5 years ago

Fix for ldd in expression check: https://github.com/threefoldtech/jumpscaleX/commit/2b3bd2e5ae310dcb924ad3e6726a4aad2670ffbb

ranatrk commented 5 years ago

Fix sandbox : https://github.com/threefoldtech/jumpscaleX/commit/303c8f12c76e08bcaf4a5bb79a0574a38bae3ee5

Pishoy commented 5 years ago

verified generated flist by mariadb sandbox is working well