New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and deploy a FDU on a node? #146
Comments
Hi @zrnapoleon, can you please paste the output of the LXD plugin? This seems related to some permission issue to the user that is running the LXD plugin, to I guess we can get more information from that log |
Hi @gabrik , the output of LXD plugin: |
I see, this is some strange permisison error coming from LXD APIs. Try to run this:
You should get the same error, can you confirm? |
I did, but got a conection error when I rename the c = Client() before passing the test: |
Ok, I still think LXD as some strange configuration. Try this:
And you should get the same unauthorized error |
Ok, can you paste the output of:
On our test machine it returns |
Yeah , it is: |
After some investigation, this can be related to canonical/pylxd#365, so you can try to add this environment variable in a system-wide manner:
Edit: you may need to reboot |
Fixed by #147 |
For now, I have successfully installed the fog with its 5 plugins. But when i tried to deploy a LXD FDU:
$ python3 lifecycle_non_lxd_test.py 127.0.0.1:7887 fdu_lxd_test.json
Here lifecycle_non_lxd_test.py and fdu_lxd_test.json are based on:
https://github.com/atolab/fog05_demo/blob/master/fim_api/lifecycle_nonetwork.py
and
https://github.com/atolab/fog05_demo/blob/master/fim_api/fdu_lxd.json
with mu node ID:
and the net interface:
I got the following error:
Json and Python fiches.zip
Hope you can give me some help, thanks!
The text was updated successfully, but these errors were encountered: