4 answers
- 10-1
The following was merged 2017810 - AAI-1 (10 containers are now up), portal-38 is fixed
AAI-134 - aai_oxm_v11.xml contains duplicate references to invStatus Closed
Verify 20170812 1.1 build on rackspace
Add your comment... - 10-1
I see the below error.
vm1-portal login: Generating locales... en_US.UTF-8... up-to-date Generation complete. Cloud-init v. 0.7.5 running 'modules:final' at Tue, 08 Aug 2017 04:29:12 +0000. Up 530.19 seconds. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:12 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:13 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:14 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:16 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:17 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:18 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:19 --:--:-- 0curl: (6) Could not resolve host: nexus.onap.org chmod: cannot access 'portal_install.sh': No such file or directory /var/lib/cloud/instance/scripts/part-001: line 21: ./portal_install.sh: No such file or directory 2017-08-08 04:29:36,214 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [127] 2017-08-08 04:29:36,236 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts) 2017-08-08 04:29:36,241 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
CAn this issue be because of the instances that we are creating in this openstack are not able to contact the internet.
Regards,
Gaurav
Add your comment... - 10-1
Gaurav Mittal This is because VMs are unable to reach internet and download required script files. When you said no floating ip, does that mean you are using VLAN based networking or contrail? From VM you should be able to reach internet using public floating ip address.
Verify the connection from netns router from neutron node
ip netns
ip netns exec <na_name> ifconfig
ip netns exec <na_name> ping google.com
- Gaurav Mittal
Hi Kranthi,
Thanks for the reply. Well the public network is the network on which the server is running.(Server IP is 10.211.2.191) This server is reachable to internet.
[root@openstack ~]# ping google.com PING google.com (216.58.220.46) 56(84) bytes of data. 64 bytes from maa03s18-in-f46.1e100.net (216.58.220.46): icmp_seq=1 ttl=53 time=29.5 ms 64 bytes from maa03s18-in-f46.1e100.net (216.58.220.46): icmp_seq=2 ttl=53 time=29.3 ms 64 bytes from maa03s18-in-f46.1e100.net (216.58.220.46): icmp_seq=3 ttl=53 time=29.4 ms ^C --- google.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 29.321/29.457/29.572/0.174 ms [root@openstack ~]#
root@openstack ~]# ip netns qdhcp-f843caee-988b-4846-892d-4df78a0cf59f qrouter-bea395ef-7c7c-4ffa-94dd-2ed28c0124a5 qdhcp-580469e7-7472-4438-b2e0-ec1670675c68 [root@openstack ~]#
[root@openstack ~]# ip netns exec qdhcp-f843caee-988b-4846-892d-4df78a0cf59f ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tap28240876-18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450 inet 10.0.0.2 netmask 255.240.0.0 broadcast 10.15.255.255 inet6 fe80::f816:3eff:fe77:ed13 prefixlen 64 scopeid 0x20<link> ether fa:16:3e:77:ed:13 txqueuelen 1000 (Ethernet) RX packets 135 bytes 15000 (14.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 50 bytes 11444 (11.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@openstack ~]#
[root@openstack ~]# ip netns exec qrouter-bea395ef-7c7c-4ffa-94dd-2ed28c0124a5 ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 qg-8087c15f-4c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450 inet 10.211.2.185 netmask 255.255.255.0 broadcast 10.211.2.255 inet6 fe80::f816:3eff:fe9d:d533 prefixlen 64 scopeid 0x20<link> ether fa:16:3e:9d:d5:33 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 331 bytes 14430 (14.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 qr-5d503981-36: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450 inet 10.0.0.1 netmask 255.240.0.0 broadcast 10.15.255.255 inet6 fe80::f816:3eff:fe2d:3ea7 prefixlen 64 scopeid 0x20<link> ether fa:16:3e:2d:3e:a7 txqueuelen 1000 (Ethernet) RX packets 2976 bytes 228748 (223.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2294 bytes 310163 (302.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@openstack ~]#
[root@openstack ~]# ip netns exec qdhcp-580469e7-7472-4438-b2e0-ec1670675c68 ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 1 bytes 576 (576.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1 bytes 576 (576.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tap06042241-7c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450 inet 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255 inet6 fe80::f816:3eff:fe18:57af prefixlen 64 scopeid 0x20<link> ether fa:16:3e:18:57:af txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 5 bytes 438 (438.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [root@openstack ~]#
How can this be fixed. can you please help.
Regards,
Gaurav
- kranthi guttikonda
Is this vanilla openstack with floating net (neutron networking)? I am confused with your comment on no floating address but ip netns shows two subnets. This is pretty standard and your heat template generates floating addresses as well. Everything looks good then. Do you have complete console logs? before the following line?
chmod: cannot access 'portal_install.sh': No such file or directory
Get the console log using following from compute node
virsh list --all
virsh dumpxml <id_of portal_vm> | grep console //copy the console log path
cat <console_log_path>
Login to VM and check for the internet connectivity. Check if curl is
available in VM. It is possible that few VM images doesn't include curl by default.
If you do not find curl in VM then update heat scripts to install curl before downloading script file
using curl.
apt-get install -y curl
Re-deploy the stack
Add your comment... - 10-1
I also see that for other VM also its the similar issue were the install script has not executed.
chmod: cannot access 'aai2_install.sh': No such file or directory /var/lib/cloud/instance/scripts/part-001: line 22: ./aai2_install.sh: No such file or directory 2017-07-05 14:38:32,047 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [127] 2017-07-05 14:38:32,094 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
- Nayan Deshmukh
Did you try downloading the aai2_install.sh manually using curl? It could be a certificate issue as well.
- Gaurav Mittal
My vm instances are not able to reach the internet.
Add your comment...
Hi,
I have followed the documentation given for - ONAP Installation in Vanilla OpenStack for a no float IP.
Below were the .env and .yaml file used.
heat-OpenECOMP-onap_openstack.yaml and heat-OpenECOMP-onap_openstack.env
Stack creation completed successfully and it created
13 instances
1 volume
1 network and
1 router.
13 floating Public IP.
Then followed the doc: Tutorial: Accessing the ONAP Portal
to access the portal. But I see that the Public IP's assigned to all the vm's are not accessible.
When I checked instance console log for vm1-portal i see below error.
Kindly suggest where to start debugging.
Regards,
Gaurav