wget https://osm-download.etsi.org/ftp/osm-3.0-three/install_osm.sh
lxd not existing
sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
W: The repository 'https://download.docker.com/linux/ubuntu stretch Release' does not have a Release file.
Login as root.
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - &&
echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list &&
apt-get update &&
apt-get install docker-ce &&
docker run hello-world &&
docker version
- Install LXD
sudo apt install snapd &&
sudo snap install lxd &&
. /etc/profile.d/apps-bin-path.sh &&
- PIP3 error
sudo apt install python3-pip && pip3 install --upgrade pip && pip3 install juju==0.6.1
Solution.
sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall
Before Installing OSM
sudo apt-get install git -y &&
sudo apt-get update &&
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y && curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
Add docker repository at /etc/apt/source.list
.
sudo nano /etc/apt/sources.list
deb https://download.docker.com/linux/debian stretch stable
Login as root.
sudo apt-get update &&
sudo apt-get install docker-ce -y &&
sudo docker run hello-world &&
sudo docker version && sudo apt install snapd -y &&
sudo snap install lxd &&
. /etc/profile.d/apps-bin-path.sh &&
sudo apt install python3-pip -y && sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall -y && sudo apt install python3-pip && sudo pip3 install --upgrade pip && sudo pip3 install juju==0.6.1
. /etc/profile.d/apps-bin-path.sh &&
lxd init
which lxc
...
sudo wget https://osm-download.etsi.org/ftp/osm-3.0-three/install_osm.sh && sudo chmod +x install_osm.sh && sudo ./install_osm.sh
MANO Ubuntu 18.04
sudo vi /etc/netplan/50-cloud-init.yaml
network:
ethernets:
ens160:
addresses:
- 192.168.200.107/24
dhcp4: false
gateway4: 192.168.200.1
nameservers:
addresses:
- 8.8.8.8
search: []
ens192:
addresses:
- 10.13.37.161/24
dhcp4: false
gateway4: 10.13.37.1
routes:
- to: 10.0.0.0/8
via: 10.13.37.1
table: 255
routing-policy:
- from: 10.13.37.161/8
table: 255
- to: 10.13.37.161/8
table: 255
nameservers:
addresses:
- 10.1.3.37
search: []
version: 2
Apply new config.
sudo netplan try --config-file /etc/netplan/50-cloud-init.yaml
- Add default repository at /etc/apt/source.list
https://gist.githubusercontent.com/jackw1111/d31140946901fab417131ff4d9ae92e3/raw/480bc68edae51e704114b0f4e256f543f25961af/sources.list
Add DNS /etc/resolv.conf nameserver 8.8.8.8
wget https://osm-download.etsi.org/ftp/osm-3.0-three/install_osm.sh
chmod +x install_osm.sh
./install_osm.sh
SALAH INSTALL
https://osm.etsi.org/wikipub/index.php/OSM_Release_FOUR
Troubleshooting
https://ask.openstack.org/en/question/9490/problem-creating-flat-network-unknown-providerphysical_network-physnet1/ https://docs.openstack.org/keystone/pike/api_curl_examples.html https://ask.openstack.org/en/question/114477/osm-and-openstack-integration/ https://osm.etsi.org/wikipub/index.php/OSM_Release_FOUR http://stackopen.blogspot.com/2016/08/invalid-input-for-operation-networktype.html https://osm-download.etsi.org/ftp/osm-3.0-three/examples/cirros_2vnf_ns/README.txt https://osm.etsi.org/wikipub/index.php/OSM_Technical_Videos https://osm-download.etsi.org/ftp/osm-3.0-three/examples/cirros_2vnf_ns/ https://osm.etsi.org/wikipub/index.php/Openstack_configuration_(Release_FOUR)#Add_openstack_to_OSM https://osm.etsi.org/wikipub/index.php/Technical_FAQ_(Release_THREE) https://osm.etsi.org/wikipub/index.php/OSM_Release_FOUR https://ask.openstack.org/en/question/111107/unauthorized-the-request-you-have-made-requires-authentication-http-401/ https://www.tecmint.com/openstack-networking-guide/ https://docs.openstack.org/mitaka/user-guide/cli_nova_configure_access_security_for_instances.html https://stgraber.org/2017/01/18/lxd-on-debian/ https://www.tecmint.com/openstack-installation-guide-rhel-centos/