Re: Unable to start agent after roll-back to previous ACS version

2016-10-21 Thread Gabriel Beims Bräscher
Hi guys, The ACS 4.2 [1] checks if /_pifs.get("private") /is null only once, at the line 815. if (_pifs.get("private") == null) { s_logger.debug("Failed to get private nic name"); throw new ConfigurationException("Failed to get private nic name"); } Also, it keeps looking for a file “/s

Re: Unable to start agent after roll-back to previous ACS version

2016-10-20 Thread Cloud List
Hi Rafael, Many thanks for your help and reply! Here's the list of files inside /sys/class/net folder: root@test-kvm-03:/sys/class/net# ls -la total 0 drwxr-xr-x 2 root root 0 Sep 28 14:49 . drwxr-xr-x 54 root root 0 Sep 28 14:49 .. lrwxrwxrwx 1 root root 0 Sep 28 14:49 cloudbr1 -> ../../devic

Re: Unable to start agent after roll-back to previous ACS version

2016-10-20 Thread Rafael Weingärtner
I think the source code of 4.9 will be more or less the same. I missed another bit of code. Lines 1087 – 1094. “if (_pifs.get("private") == null)”. It tries to look for a file at “/sys/class/net/" + _guestBridgeName. If it exist it executes “_pifs.put("private", _guestBridgeName)”. Does that exis

Re: Unable to start agent after roll-back to previous ACS version

2016-10-20 Thread Cloud List
Hi Rafael, Thanks for your reply. Here's the output of the command: root@test-kvm-03:/var/log/cloudstack/agent# ovs-vsctl list-br | sed '{:q;N;s/\\n/%/g;t q}' The program 'ovs-vsctl' is currently not installed. You can install it by typing: apt-get install openvswitch-switch I believe the comm

Re: Unable to start agent after roll-back to previous ACS version

2016-10-20 Thread Rafael Weingärtner
Hi, Anonymous fellow ;) Let’s see if I can help you a little bit. I am checking the ACS 4.9 source code. The error is thrown at line 896 of class “com.cloud.hypervisor.kvm.resource.LibvirtComputingResource”. The condition that causes the error is “_pifs.get("private") == null”. “_pifs” if a map. T

Unable to start agent after roll-back to previous ACS version

2016-10-20 Thread Cloud List
Hi, We are using ACS version 4.2 / 4.9 on our test environment. We are using Ubuntu 12.04 as the operating system and KVM as the hypervisor. We are trying to simulate an upgrade from ACS 4.2 to 4.9 and roll-back from 4.9 to 4.2 on our test environment. The upgrade went smooth, and the roll-back w