| Summary: | create_db.sh uses hardcoded path for uuid-ossp.sql | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Jon Choate <jchoate> | ||||
| Component: | ovirt-engine-core | Assignee: | Doron Fediuck <dfediuck> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | dfediuck, iheim, johney2008, lpeer, mkalinin, roxenham, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-08-09 07:59:03 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Jon Choate
2011-11-01 19:39:01 UTC
Created a patch for this, let me know what you think... Change-Id: I101338cc8cb685583277049a08f1aad06f37ad97 http://gerrit.ovirt.org/#change,162 when a patch has been posted, bugzilla can be moved to POST status: "POST: A patch or solution believed to resolve this matter has been proposed" my uuid-ossp.sql is in the default location /usr/share/pgsql/contrib/, but Istill encountered this problem. I don't know why. then I use ./create_db_devel.sh -u postgres -f /usr/share/pgsql/contrib/uuid-ossp.sql and still failed. psql:/usr/share/pgsql/contrib/uuid-ossp.sql:9: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:14: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:19: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:24: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:29: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:34: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:39: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:44: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:49: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 psql:/usr/share/pgsql/contrib/uuid-ossp.sql:54: ERROR: could not access file "$libdir/uuid-ossp": 没有那个文件或目录 I have Fedora17 clean install; postgresql-contrib-9.1.3-3.fc17.x86_64 installed, but no uuid-ossp.sql file on my file system. The whole /usr/share/pgsql/contrib dir is empty execpt one file sepgqsl.sql. And of course, I fail to run create_db.sh script. closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/ Created attachment 674891 [details]
Change regular expression for matching all psql 9.X version
|