-
Notifications
You must be signed in to change notification settings - Fork 13
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
Install SP for 5GTango #163
Comments
@mpeuster could you please help me with this issue ? |
I think @felipevicens is the right one to help here. I never installed the SP ;-) But looks like the Python ansible module is not installed on the machine. Maybe |
Hi, $ sudo pip install ansible And let us know how is going. |
Hi, sudo ansible-playbook utils/deploy/sp.yml -e "target=localhost public_ip=10.0.2.15 I receive the following error: TASK [docker : include_vars] *************************************************** What to do with this further on ?@luishens01 Thanks in advance ! |
Hi again, On another fresh Ubuntu VM I'm trying to install directly SP for 5G Tango. https://sonata-nfv.github.io/component_installation I fixed some errors regarding ansible / pip3-cryptography and paramiko and when I run the commands: -For SP: sudo ansible-playbook roles/sp.yml -i environments -e target=localhost --ask-vault-pass I'm receiving the following error message ( see in Bold): sonata@sonata-tango:~/tng-devops$ sudo ansible-playbook roles/sp.yml -i environments -e target=localhost --ask-vault-pass PLAY [localhost] *************************************************************** [WARNING]: While constructing a mapping from /home/sonata/tng- [WARNING]: While constructing a mapping from /home/sonata/tng- [WARNING]: While constructing a mapping from /home/sonata/tng- TASK [sp : debug] ************************************************************** TASK [sp : CONTAINERS CLEAN] *************************************************** TASK [sp : debug] ************************************************************** TASK [sp : DATABASE CLEANER] *************************************************** TASK [sp : debug] ************************************************************** TASK [sp : deploy a PostgreSQL database server as a Container] ***************** TASK [sp : Wait until the string "Postgres" is UP] ***************************** TASK [sp : debug] ************************************************************** TASK [sp : deploy MongoDB as a Container (used by Monitory)] ******************* TASK [sp : Wait until the string "Mongodb" is UP] ****************************** TASK [sp : debug] ************************************************************** TASK [sp : deploy RedisDB as a Container (used by Validator and Gkapi)] ******** TASK [sp : Wait until the string "Redis" is UP] ******************************** TASK [sp : debug] ************************************************************** TASK [sp : deploy a PostgreSQL database server as a Container] ***************** TASK [sp : debug] ************************************************************** TASK [sp : MONIT InfluxDB - running Docker containers] ************************ PLAY RECAP ********************************************************************* sonata@sonata-tango:~/tng-devops$ sudo ansible-playbook roles/vnv.yml -i environments -e target=localhost --ask-vault-pass PLAY [localhost] ******************************************************************************************************************************************************************************************* [WARNING]: While constructing a mapping from /home/sonata/tng-devops/host_vars/localhost, line 4, column 1, found a duplicate dict key (routes_file). Using last defined value only. [WARNING]: While constructing a mapping from /home/sonata/tng-devops/host_vars/localhost, line 4, column 1, found a duplicate dict key (external_callback_url). Using last defined value only. [WARNING]: While constructing a mapping from /home/sonata/tng-devops/host_vars/localhost, line 4, column 1, found a duplicate dict key (component). Using last defined value only. TASK [vnv : debug] ***************************************************************************************************************************************************************************************** TASK [vnv : deploy MongoDB as a Container (used by Monitory)] ********************************************************************************************************************************************** TASK [vnv : Wait until the string "Mongodb" is UP] ********************************************************************************************************************************************************* TASK [vnv : debug] ***************************************************************************************************************************************************************************************** TASK [vnv : VnV LCM - running Docker containers] *********************************************************************************************************************************************************** PLAY RECAP ************************************************************************************************************************************************************************************************* Could you please explain why I m receiving this error and how can I fix it ? ( I haven t seen anything on the tutorial regarding this ). Thank you ! |
Good morning, I'm working on some corrections in the installation guide right now, meanwhile, if you want, we have available the qcows image of fulls Serveice Platform and VnV installed. You can download them here : PD: Remember they need to be two different VMs. 1 for SP and 1 for VnV edit: I finished the corrections to the component installation guide. You can check it here: Kind Regards |
@luishens01 TASK [sp : create data model and populate db] ************************************************************************************************************************************************************** PLAY RECAP ************************************************************************************************************************************************************************************************* b. The 2 images you told me about contain only SP installation ? How do you recommand to convert qcow2 file into vdi ? ( I have Oracle VirtualBox 5.2.2. version installed on my Windows10 where I installed Ubuntu 16.04 ) Thanks a lot in advance ! |
Hello @andratapu We appreciate your feedback. Can you try to pull the repository and change the branch to v4.0 with the command: |
We will try to offer the image in Virtualbox as well. In the mean time you could use this commando to convert the images to VDI: I hope this helps. |
@felipevicens @luishens01 error: pathspec 'v4.0' did not match any file(s) known to git Why is that ? b. regarding the conversion, I ve already ran that command but when I placed the converted vdi into Oracle VM, I get the following message: "FATAL: Could not read from the boot medium! System halted" Could you please advise further on ? Thanks a lot in advance ! |
@felipevicens @luishens01 @mpeuster Hello guys, Could you please help me and my colleague speed up this installation part ? The conference call we can do it over Skype or any other means you like. |
Hello @andratapu please join this channel in github, we can support you quickly. https://gitter.im/sonata-nfv/Lobby |
@felipevicens Thanks a lot for your help last Friday ! It is really motivating now. -all the servers are connected in 3 switches: RAM : aprox. 30GB on the host which has the XenServer installed So, we are prepared to switch the installation and utilization of SONATA in there.
Thanks a lot in advance ! |
Hello @andratapu, For OpenStack, you can use this installation guide. It will deploy an all-in-one OpenStack. It is better if you can deploy OpenStack in a bare-metal server instead of a XenServer VM. We are preparing a "SONATA for dummies" with the basic examples and the links to the VNFs images. We will have it ready on Friday 16/11. |
Thanks , @felipevicens ! Can t wait for it ! |
@felipevicens |
Hello @andratapu the quick guide is ready here the next step for you that is the Service Platform configuration and first deployment is described in this section with the link if the Network Service used and real VNFs. Please jump to Gitter if you need something else. The slicing guide is still WIP here |
Hi,
I am trying to instlal on a fresh Ubuntu 16.04, the following steps:
https://sonata-nfv.github.io/component_installation.
The process to install SP is the same as for version 3.0 ?
If yes, I installed first the packages mentioned at the beginning:
Create tango user
sudo adduser tango
sudo usermod -a -G sudo tango
Packages installation
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
sudo apt-get install -y git
sudo apt-get install python3
sudo apt install python3-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo pip3 install docker
Docker-ce
sudo apt-get update
sudo apt-get install
apt-transport-https
ca-certificates
curl
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"
sudo apt-get update
sudo apt-get install docker-ce
Create docker network
sudo docker network create tango
Repository cloning
git clone https://github.com/sonata-nfv/tng-devops.git
cd tng-devops
After that, I encounter the following error:
root@sonata-tango:/home/sonata/son-install# ansible-playbook utils/deploy/sp.yml -e "target=localhost public_ip=10.0.2.15"
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 40, in
from ansible.errors import AnsibleError, AnsibleOptionsError, AnsibleParserError
ImportError: No module named 'ansible'
Could you pleas help ?
Thanks !
The text was updated successfully, but these errors were encountered: