rhtyd commented on issue #2896: add exitcode / distribution detection and 
remove export CGROUP_DAEMON for RHEL7/CentOS7
URL: https://github.com/apache/cloudstack/pull/2896#issuecomment-433649345
 
 
   Test env failed. Fix please @svenvogel 
   
   Mgmt server log:
   ```
   2018-10-27 15:19:05,644 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp788117692-18:ctx-18ec7cee ctx-5dd11349 ctx-e41241c8) (logid:21289637) SSH 
command: cloudstack-setup-agent  -m 10.2.2.145 -z 1 -p 1 -c 1 -g 
32b3df6c-4d0c-3af8-8646-5d2251b95211 -a -s  --pubNic=cloudbr1 --prvNic=cloudbr0 
--guestNic=cloudbr1 --hypervisor=kvm
   SSH command output:Starting to configure your system:
   Configure SElinux ...         [OK]
   Configure Network ...         [OK]
   Configure Libvirt ...         Configure Libvirt failed, Please check the 
/var/log/cloudstack/agent/setup.log for detail, due to:global name 'distro' is 
not defined
   Try to restore your system:
   Restore SElinux ...           [OK]
   Restore Network ...           [OK]
   
   ```
   
   Agent log:
   ```
   DEBUG:root:global name 'distro' is not defined
     File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", 
line 62, in configration
       result = self.config()
     File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", 
line 525, in config
       if distro in (CentOS6,RHEL6):
   
   DEBUG:root:execute:setenforce 1
   DEBUG:root:execute:service network restart
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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