| Summary: | Looks like Rally can't connect to it's DB. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gonéri Le Bouder <goneri> |
| Component: | openstack-rally | Assignee: | RHOS Maint <rhos-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | yeylon <yeylon> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 (Liberty) | CC: | apevec, jschluet, lhh, racedoro, srevivo |
| Target Milestone: | --- | ||
| Target Release: | 8.0 (Liberty) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-12 18:20:56 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: | |
The solution is to run first: rally-manage db recreate |
Description of problem: Looks like rally is broken. Run: rally deployment create --fromenv --name=existing Version-Release number of selected component (if applicable): openstack-rally-0.1.1-4.2.el7ost.noarch How reproducible: [root@undercloud ~]# rally deployment create --fromenv --name=existing (sqlite3.OperationalError) no such table: deployments [SQL: u'INSERT INTO deployments (created_at, updated_at, uuid, parent_uuid, name, started_at, completed_at, config, admin, users, enum_deployments_status) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: ('2016-03-11 19:45:41.462014', '2016-03-11 19:45:41.462032', 'c3ffc8d1-f51e-4e58-8dfb-dfb3a14c1d70', None, u'existing', None, None, '{"admin": {"username": "admin", "tenant_name": "admin", "password": "e3mhr7Fj7ap7PwReuMQekRdGs"}, "type": "ExistingCloud", "endpoint": null, "auth_url": "http://192.0.2.51:5000/v2.0"}', None, <read-only buffer for 0x4541f90, size -1, offset 0 at 0x4552930>, 'deploy->init')] Looks like Rally can't connect to it's DB. Make a sure that connection string in rally.conf is proper: sqlite:////tmp/rally.sqlite I try as stack user and as root user.