[
https://ovirt-jira.atlassian.net/browse/OVIRT-802?page=com.atlassian.jira...
]
Evgheni Dereveanchin commented on OVIRT-802:
--------------------------------------------
[~eedri] first of all, this is not a new slave, second of all SELinux is in permissive
mode on it:
[ederevea@el7-vm07 ~]$ getenforce
Permissive
[ederevea@el7-vm07 ~]$ rpm -qa | grep selinux
libselinux-ruby-2.2.2-6.el7.x86_64
selinux-policy-targeted-3.13.1-60.el7_2.3.noarch
selinux-policy-doc-3.13.1-60.el7_2.9.noarch
selinux-policy-3.13.1-60.el7_2.9.noarch
libselinux-2.2.2-6.el7.x86_64
libselinux-utils-2.2.2-6.el7.x86_64
selinux-policy-devel-3.13.1-60.el7_2.9.noarch
libselinux-python-2.2.2-6.el7.x86_64
here's the error from the engine setup log attached to the job:
2016-10-31 15:34:29 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux
plugin.executeRaw:813 execute: ('/sbin/semanage', 'fcontext',
'-a', '-t', 'public_content_rw_t',
'/var/lib/exports/iso(/.*)?'), executable='None', cwd='None',
env=None
2016-10-31 15:34:33 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux
plugin.executeRaw:863 execute-result: ('/sbin/semanage', 'fcontext',
'-a', '-t', 'public_content_rw_t',
'/var/lib/exports/iso(/.*)?'), rc=1
2016-10-31 15:34:33 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux
plugin.execute:921 execute-output: ('/sbin/semanage', 'fcontext',
'-a', '-t', 'public_content_rw_t',
'/var/lib/exports/iso(/.*)?') stdout:
2016-10-31 15:34:33 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux
plugin.execute:926 execute-output: ('/sbin/semanage', 'fcontext',
'-a', '-t', 'public_content_rw_t',
'/var/lib/exports/iso(/.*)?') stderr:
libsepol.context_from_record: type ovirt_vmconsole_proxy_port_t is not defined (No such
file or directory).
libsepol.context_from_record: could not create context structure (Invalid argument).
libsepol.port_from_record: could not create port structure for range 2222:2222 (tcp)
(Invalid argument).
libsepol.sepol_port_modify: could not load port range 2222 - 2222 (tcp) (Invalid
argument).
libsemanage.dbase_policydb_modify: could not modify record value (Invalid argument).
libsemanage.semanage_base_merge_components: could not merge local modifications into
policy (Invalid argument).
ValueError: Could not commit semanage transaction
2016-10-31 15:34:33 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/base/system/selinux.py",
line 94, in _misc
entry['pattern']
File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 931, in execute
command=args[0],
RuntimeError: Command '/sbin/semanage' failed to execute
2016-10-31 15:34:33 ERROR otopi.context context._executeMethod:151 Failed to execute stage
'Misc configuration': Command '/sbin/semanage' failed to execute
ovirt-engine_master_upgrade-from-3.6_el7_merged failing
-------------------------------------------------------
Key: OVIRT-802
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-802
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
Reporter: Greg Sheremeta
Assignee: infra
https://gerrit.ovirt.org/#/c/65899/2
job:
http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-3.6_el7_mer...
failing.
+ which engine-setup
+ engine-cleanup
--config-append=/home/jenkins/workspace/ovirt-engine_master_upgrade-from-3.6_el7_merged/jenkins/jobs/ovirt-engine_upgrade_to_master/cleanup.file.otopi
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/home/jenkins/workspace/ovirt-engine_master_upgrade-from-3.6_el7_merged/jenkins/jobs/ovirt-engine_upgrade_to_master/cleanup.file.otopi']
Log file:
/var/log/ovirt-engine/setup/ovirt-engine-remove-20161031153445-zoq6gr.log
Version: otopi-1.6.0_master
(otopi-1.6.0-0.0.master.20160829151522.git7547b87.el7.centos)
[ ERROR ] Could not detect a completed product setup
Please use the cleanup utility only after a setup or after an
upgrade from an older installation.
[ ERROR ] Failed to execute stage 'Environment setup': Could not detect
product setup
[ INFO ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-remove-20161031153445-zoq6gr.log
[ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20161031153445-cleanup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of cleanup failed
--
Greg Sheremeta, MBA
Red Hat, Inc.
Sr. Software Engineer
gshereme(a)redhat.com
--
This message was sent by Atlassian JIRA
(v1000.482.3#100017)