wqmeng commented on issue #3509: 4.12 add host fail ,using tls connection
URL: https://github.com/apache/cloudstack/issues/3509#issuecomment-559527268
 
 
   And in the server side, shows 
   
   ```
   Nov 28 23:01:49 localhost.localdomain java[17220]: WARN  
[c.c.a.AlertManagerImpl] (AgentConnectTaskPool-157:ctx-f42983f6) 
(logid:43503289) AlertType:: 7 | dataCenterId:: 1 | podId:: 1 | clusterId:: 
null | message:: Incorrect Network setup on agent, Reinitialize agent after 
network names are setup, details : Can not find network: breno1-4000
   Nov 28 23:01:49 localhost.localdomain java[17220]: INFO  
[c.c.u.e.CSExceptionErrorCode] (AgentConnectTaskPool-157:ctx-f42983f6) 
(logid:43503289) Could not find exception: 
com.cloud.exception.ConnectionException in error code list for exceptions
   Nov 28 23:01:49 localhost.localdomain java[17220]: WARN  
[c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-157:ctx-f42983f6) 
(logid:43503289) Monitor NetworkOrchestrator says there is an error in the 
connect process for 1 due to Incorrect Network setup on agent, Reinitialize 
agent after network names are setup, details : Can not find network: 
breno1-4000...
   
   ```
   
   But I setup the NIC manually in the agent side.
   ```
   [root@localhost ~]# ifconfig
   breno1-4000: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
           ether 52:79:29:5f:17:cd  txqueuelen 1000  (Ethernet)
           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
   
   cloud0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet 169.254.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
           inet6 fe80::8c9d:39ff:fe0d:2cc9  prefixlen 64  scopeid 0x20<link>
           ether 8e:9d:39:0d:2c:c9  txqueuelen 1000  (Ethernet)
           RX packets 0  bytes 0 (0.0 B)
           RX errors 0  dropped 0  overruns 0  frame 0
           TX packets 8  bytes 656 (656.0 B)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
   
   cloudbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet 198.1.1.202  netmask 255.255.255.248  broadcast 198.1.1.207
           inet6 fe80::225:90ff:fe4b:f86a  prefixlen 64  scopeid 0x20<link>
           ether 00:25:90:4b:f8:6a  txqueuelen 1000  (Ethernet)
           RX packets 121119  bytes 6353671 (6.0 MiB)
           RX errors 0  dropped 0  overruns 0  frame 0
           TX packets 8679  bytes 1980658 (1.8 MiB)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
   
   eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           ether 00:25:90:4b:f8:6a  txqueuelen 1000  (Ethernet)
           RX packets 413554  bytes 362915220 (346.1 MiB)
           RX errors 0  dropped 36  overruns 0  frame 0
           TX packets 74606  bytes 13284314 (12.6 MiB)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
           device memory 0xdf920000-df93ffff
   
   eno2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
           ether 00:25:90:4b:f8:6b  txqueuelen 1000  (Ethernet)
           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
           device memory 0xdf900000-df91ffff
   
   eno1.4000: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet6 fe80::225:90ff:fe4b:f86a  prefixlen 64  scopeid 0x20<link>
           ether 00:25:90:4b:f8:6a  txqueuelen 1000  (Ethernet)
           RX packets 1256  bytes 57784 (56.4 KiB)
           RX errors 0  dropped 0  overruns 0  frame 0
           TX packets 14  bytes 1112 (1.0 KiB)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
   
   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 1000  (Local Loopback)
           RX packets 6646  bytes 1042584 (1018.1 KiB)
           RX errors 0  dropped 0  overruns 0  frame 0
           TX packets 6646  bytes 1042584 (1018.1 KiB)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
   ```
   ```
   
   [root@localhost ~]# ls /etc/sysconfig/network-scripts/ifcfg-* -l
   -rw-r--r--. 1 root root 488 Nov 28 06:45 
/etc/sysconfig/network-scripts/ifcfg-breno1-4000
   -rw-r--r--. 1 root root 462 Nov 28 06:45 
/etc/sysconfig/network-scripts/ifcfg-cloudbr0
   -rw-r--r--. 1 root root 408 Nov 28 06:45 
/etc/sysconfig/network-scripts/ifcfg-eno1
   -rw-r--r--. 1 root root 482 Nov 28 06:45 
/etc/sysconfig/network-scripts/ifcfg-eno1.4000
   -rw-r--r--. 1 root root 277 Nov 28 04:53 
/etc/sysconfig/network-scripts/ifcfg-eno2
   -rw-r--r--. 1 root root 254 Mar 29  2019 
/etc/sysconfig/network-scripts/ifcfg-lo
   ```
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to