[JIRA] (OVIRT-802) ovirt-engine_master_upgrade-from-3.6_el7_merged failing

Yedidyah Bar David (oVirt JIRA) jira at ovirt-jira.atlassian.net
Mon Oct 31 16:02:02 UTC 2016


    [ https://ovirt-jira.atlassian.net/browse/OVIRT-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22146#comment-22146 ] 

Yedidyah Bar David commented on OVIRT-802:
------------------------------------------

On Mon, Oct 31, 2016 at 5:45 PM, eyal edri [Administrator] (oVirt JIRA) <


No.

setup log has:

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

The type public_content_rw_t should have been created during installation
of ovirt-vmconsole-proxy, by its %post scriptlet. I do not see it installed
in the console output, also on successful builds. How/where/when do you
install this package? Perhaps something changed selinux policy after it was
installed?





-- 
Didi


> 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_merged/561/console
> 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 at redhat.com



--
This message was sent by Atlassian JIRA
(v1000.482.3#100017)



More information about the Infra mailing list