You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/07/02 15:18:27 UTC

[GitHub] [cloudstack] AndreaGHG commented on issue #3458: Cannot create zone. "Fail to create a physical network" error with VMWare 6.5 hypervisor

AndreaGHG commented on issue #3458: Cannot create zone. "Fail to create a physical network" error with VMWare 6.5 hypervisor
URL: https://github.com/apache/cloudstack/issues/3458#issuecomment-507723334
 
 
   I've tried many installation and this happens almost every time.
   
   Now I've deleted the zone, recreated it two times and at the third attempt it has created the zone.
   
   Now there are other problems: 
   
   - SSVM doesn't work correctly:
   ~~~
   root@s-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
   ================================================
   First DNS server is  192.168.1.10
   PING 192.168.1.10 (192.168.1.10): 56 data bytes
   64 bytes from 192.168.1.10: icmp_seq=0 ttl=64 time=0.563 ms
   64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.547 ms
   --- 192.168.1.10 ping statistics ---
   2 packets transmitted, 2 packets received, 0% packet loss
   round-trip min/avg/max/stddev = 0.547/0.555/0.563/0.000 ms
   Good: Can ping DNS server
   ================================================
   Good: DNS resolves cloudstack.apache.org
   ================================================
   ERROR: NFS is not currently mounted
   Try manually mounting from inside the VM
   NFS server is  109.68.152.254
   PING 109.68.152.254 (109.68.152.254): 56 data bytes
   64 bytes from 109.68.152.254: icmp_seq=0 ttl=255 time=0.831 ms
   64 bytes from 109.68.152.254: icmp_seq=1 ttl=255 time=0.856 ms
   --- 109.68.152.254 ping statistics ---
   2 packets transmitted, 2 packets received, 0% packet loss
   round-trip min/avg/max/stddev = 0.831/0.843/0.856/0.000 ms
   Good: Can ping nfs server
   ================================================
   Management server is localhost. Checking connectivity.
   ERROR: Cannot connect to localhost port 8250
   2019/07/02 14:52:02 socat[3498] E read(5, 0x55efac936190, 8192): Connection refused
   
   root@s-2-VM:~# systemctl status cloud
   ‚óè cloud.service - CloudStack Agent service
      Loaded: loaded (/etc/systemd/system/cloud.service; enabled; vendor preset: enabled)
      Active: active (running) since Tue 2019-07-02 14:58:41 UTC; 4s ago
    Main PID: 2806 (bash)
       Tasks: 26 (limit: 4915)
      CGroup: /system.slice/cloud.service
              ├─2806 bash /usr/local/cloud/systemvm/_run.sh
              └─3026 java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Djdk.tls.ephemeralDHKeySize=2048 -Djsse.enableSNIExtension=false -Dlog.home=
   
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,794  INFO DownloadManagerImpl:987 - listvmtmplt.sh found in /usr/local/cloud/systemvm/scripts/storage/second
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,795  INFO DownloadManagerImpl:993 - createtmplt.sh found in /usr/local/cloud/systemvm/scripts/storage/second
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,796  INFO DownloadManagerImpl:999 - listvolume.sh found in /usr/local/cloud/systemvm/scripts/storage/seconda
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,796  INFO DownloadManagerImpl:1005 - createvolume.sh found in /usr/local/cloud/systemvm/scripts/storage/seco
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,848  INFO UploadManagerImpl:377 - UploadManager: starting additional services since we are inside system vm
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,882 ERROR NfsSecondaryStorageResource:272 - Couldn't cast null to integer
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,961  INFO GsonHelper:55 - Default Builder inited.
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,981  INFO Agent:210 - Agent [id = new : type = PremiumSecondaryStorageResource : zone = 16 : pod = 7 : worke
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,989  INFO NioClient:54 - Connecting to localhost:8250
   Jul 02 14:58:43 s-2-VM _run.sh[2806]: 14:58:43,992  WARN NioConnection:97 - Unable to connect to remote: is there a server running on port 8250
   
   root@s-2-VM:~# ip addr
   1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
       link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
       inet 127.0.0.1/8 scope host lo
          valid_lft forever preferred_lft forever
   2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/ether 02:00:78:60:00:02 brd ff:ff:ff:ff:ff:ff
   3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether 1e:00:09:00:00:0f brd ff:ff:ff:ff:ff:ff
       inet 10.168.0.34/22 brd 10.168.3.255 scope global eth1
          valid_lft forever preferred_lft forever
   4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether 1e:00:d8:00:01:80 brd ff:ff:ff:ff:ff:ff
       inet 109.68.154.253/21 brd 109.68.159.255 scope global eth2
          valid_lft forever preferred_lft forever
   5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether 1e:00:8e:00:01:9f brd ff:ff:ff:ff:ff:ff
       inet 10.168.0.180/22 brd 10.168.3.255 scope global eth3
          valid_lft forever preferred_lft forever
   ~~~
   
   Manually mount the secondary storage nfs disk (witch is not on 109.68.154.254) on /mnt/SecStorage/ and then I restarting cloud service doesn't fix:
   
   ~~~
   root@s-2-VM:~# mount readynas.domain.local:/css-ng1 /mnt/SecStorage/
   root@s-2-VM:~# systemctl stop cloud
   root@s-2-VM:~# systemctl start cloud
   root@s-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
   ================================================
   First DNS server is  192.168.1.10
   PING 192.168.1.10 (192.168.1.10): 56 data bytes
   64 bytes from 192.168.1.10: icmp_seq=0 ttl=64 time=1.782 ms
   64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.809 ms
   --- 192.168.1.10 ping statistics ---
   2 packets transmitted, 2 packets received, 0% packet loss
   round-trip min/avg/max/stddev = 0.809/1.296/1.782/0.487 ms
   Good: Can ping DNS server
   ================================================
   Good: DNS resolves cloudstack.apache.org
   ================================================
   nfs is currently mounted
   Mount point is /mnt/SecStorage
   Good: Can write to mount point
   ================================================
   Management server is localhost. Checking connectivity.
   ERROR: Cannot connect to localhost port 8250
   2019/07/02 15:15:22 socat[4146] E write(5, 0x564650af7190, 1): Connection refused
   ~~~
   
   - Console proxy doesn't respond.
   
   - When I go in "Infrastructure" it lists 2 Hosts, but when I click on "View all" I get a "No data to show" message.
   
   - When I go in "Infrastructure" it lists 2 System VM's, but when I click on "View all" it remain stuck on the loading round sing.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services