Bug 1258255
Summary: | [CI] source tarball is created with all files as executable | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Max Kovgan <mkovgan> |
Component: | ovirt-engine-installer | Assignee: | David Caro <dcaroest> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6 | CC: | alonbl, bugs, ecohen, eedri, gklein, lsurette, rbalakri, sbonazzo, snaftaly, yeylon |
Target Milestone: | --- | Keywords: | AutomationBlocker |
Target Release: | 3.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | integration | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-01 17:21:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Max Kovgan
2015-08-30 15:09:02 UTC
When installing ovirt-engine 3.5 files the files are not executable: -rw-r--r--. 1 root root 94520 Jun 5 06:31 0000_config.sql -rw-r--r--. 1 root root 1211 Jun 5 06:31 0010_custom.sql -rw-r--r--. 1 root root 657 Jun 5 06:31 0020_add_materialized_views_table.sql -rw-r--r--. 1 root root 463 Jun 5 06:31 0030_materialized_views_extensions.sql -rw-r--r--. 1 root root 71 Jun 5 06:31 0040_extend_installed_by_column.sql files in source tree are good. rpm files are good: # rpm -qlvp ovirt-engine-dbscripts-3.6.0-0.0.master.20150828163834.git09a0c9b.el6.noarch.rpm | grep 'r-x' drwxr-xr-x 2 root root 0 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts drwxr-xr-x 2 root root 0 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/data -rwxr-xr-x 1 root root 540 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/schema-dev.sh -rwxr-xr-x 1 root root 1577 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/schema.sh drwxr-xr-x 2 root root 0 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/upgrade drwxr-xr-x 2 root root 0 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/upgrade/post_upgrade drwxr-xr-x 2 root root 0 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade # rpm -qlvp ovirt-engine-dbscripts-3.6.0-0.0.master.20150828163834.git09a0c9b.el6.noarch.rpm | grep 0000_config.sql -rw-r--r-- 1 root root 90749 Aug 28 21:36 /usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql please run and provide output of: # rpm -qf /usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql # rpm -qlvp @RPM@ | grep 0000_config.sql I can only guess this is the package above as it is the same git hash, and will be good as well, suggesting that something changed the file mode post rpm install. the rpm -qf command returned: - for 3.5: ovirt-engine-dbscripts-3.5.5-0.0.master.20150829172153.gitb48f019.el6.noarch - for 3.6: ovirt-engine-dbscripts-3.6.0-0.0.master.20150829163931.git09a0c9b.el6.noarch I downloaded the files and ran "rpm -qlvp" on both, and it showed that all the 3.6 files have -rwxr-xr-x permissions, and 3.5 have -rw-r--r--. I see. ok: http://resources.ovirt.org/pub/ovirt-3.6-snapshot/rpm/el6/noarch/ovirt-engine-dbscripts-3.6.0-0.0.master.20150828163834.git09a0c9b.el6.noarch.rpm bad: http://resources.ovirt.org/pub/ovirt-3.6-snapshot/rpm/el6/noarch/ovirt-engine-dbscripts-3.6.0-0.0.master.20150829163931.git09a0c9b.el6.noarch.rpm notice same git hash, different build date == same files, same spec. problem probably not in sources. good: http://resources.ovirt.org/pub/ovirt-3.6-snapshot/rpm/el6/SRPMS/ovirt-engine-3.6.0-0.0.master.20150828163834.git09a0c9b.el6.src.rpm bad: http://resources.ovirt.org/pub/ovirt-3.6-snapshot/rpm/el6/SRPMS/ovirt-engine-3.6.0-0.0.master.20150829163931.git09a0c9b.el6.src.rpm source tarball has executable bit for all files. checkout was invalid. please investigate what have you modified in CI between these dates. Fixed for any new builds (from this morning) |