[Bug 1451134] Re: Default connection parameters fails when running dbsync
** No longer affects: trove -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openstack-trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
Marked this bug as invalid because this is just a config change. Let me know if there are questions raised. Thanks. ** Changed in: trove Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Changed in: trove Assignee: khushbu (khushbuparakh) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Changed in: trove Assignee: (unassigned) => khushbu (khushbuparakh) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Changed in: trove Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Branch linked: lp:ubuntu/openstack-trove -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
This bug was fixed in the package openstack-trove - 2015.1.0-0ubuntu1.2 --- openstack-trove (2015.1.0-0ubuntu1.2) vivid; urgency=medium * d/p/patch-default-config-file.patch: Fix to ensure that path to sqlite database is fully specified (LP: #1451134). -- James Page Wed, 13 May 2015 11:55:48 +0100 ** Changed in: openstack-trove (Ubuntu Vivid) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
Yes, now it works, thank you -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
This bug was fixed in the package openstack-trove - 2015.1.0-0ubuntu1.2 --- openstack-trove (2015.1.0-0ubuntu1.2) vivid; urgency=medium * d/p/patch-default-config-file.patch: Fix to ensure that path to sqlite database is fully specified (LP: #1451134). -- James Page Wed, 13 May 2015 11:55:48 +0100 ** Changed in: openstack-trove (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
Hello Emilien, or anyone else affected, Accepted openstack-trove into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openstack- trove/2015.1.0-0ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags removed: verification-failed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Tags removed: verification-needed ** Tags added: verification-failed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
After this change [ connection = sqlite://var/lib/trove/trove_test.sqlite ], we are getting below error now. Looks like we need to change this line to - [ connection = sqlite:var/lib/trove/trove_test.sqlite ] Installing new version of config file /etc/trove/api-paste.ini ... addgroup: The group `trove' already exists as a system group. Exiting. The system user `trove' already exists. Exiting. Command failed, please check log for more info. 2015-05-12 08:14:19.101 10140 CRITICAL root [-] ArgumentError: Invalid SQLite URL: sqlite://var/lib/trove/trove_test.sqlite Valid SQLite URL forms are: sqlite:///:memory: (or, sqlite://) sqlite:///relative/path/to/file.db sqlite:absolute/path/to/file.db 2015-05-12 08:14:19.101 10140 TRACE root Traceback (most recent call last): 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/bin/trove-manage", line 10, in 2015-05-12 08:14:19.101 10140 TRACE root sys.exit(main()) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/trove/cmd/manage.py", line 177, in main 2015-05-12 08:14:19.101 10140 TRACE root Commands().execute() 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/trove/cmd/manage.py", line 57, in execute 2015-05-12 08:14:19.101 10140 TRACE root exec_method(**kwargs) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/trove/cmd/manage.py", line 42, in db_sync 2015-05-12 08:14:19.101 10140 TRACE root self.db_api.db_sync(CONF, repo_path=repo_path) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/trove/db/sqlalchemy/api.py", line 103, in db_sync 2015-05-12 08:14:19.101 10140 TRACE root migration.db_sync(options, version, repo_path) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/trove/db/sqlalchemy/migration.py", line 118, in db_sync 2015-05-12 08:14:19.101 10140 TRACE root _version_control(options, repo_path) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/trove/db/sqlalchemy/migration.py", line 106, in _version_control 2015-05-12 08:14:19.101 10140 TRACE root return versioning_api.version_control(sql_connection, repo_path) 2015-05-12 08:14:19.101 10140 TRACE root File "", line 2, in version_control 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py", line 156, in with_engine 2015-05-12 08:14:19.101 10140 TRACE root engine = construct_engine(url, **kw) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py", line 141, in construct_engine 2015-05-12 08:14:19.101 10140 TRACE root return create_engine(engine, **kwargs) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 362, in create_engine 2015-05-12 08:14:19.101 10140 TRACE root return strategy.create(*args, **kwargs) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 82, in create 2015-05-12 08:14:19.101 10140 TRACE root (cargs, cparams) = dialect.create_connect_args(u) 2015-05-12 08:14:19.101 10140 TRACE root File "/usr/lib/python2.7/dist-packages/sqlalchemy/dialects/sqlite/pysqlite.py", line 359, in create_connect_args 2015-05-12 08:14:19.101 10140 TRACE root " sqlite:absolute/path/to/file.db" % (url,)) 2015-05-12 08:14:19.101 10140 TRACE root ArgumentError: Invalid SQLite URL: sqlite://var/lib/trove/trove_test.sqlite 2015-05-12 08:14:19.101 10140 TRACE root Valid SQLite URL forms are: 2015-05-12 08:14:19.101 10140 TRACE root sqlite:///:memory: (or, sqlite://) 2015-05-12 08:14:19.101 10140 TRACE root sqlite:///relative/path/to/file.db 2015-05-12 08:14:19.101 10140 TRACE root sqlite:absolute/path/to/file.db 2015-05-12 08:14:19.101 10140 TRACE root dpkg: error processing package trove-common (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: trove-common -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Changed in: openstack-trove (Ubuntu) Status: In Progress => New ** Changed in: openstack-trove (Ubuntu Vivid) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
Hello Emilien, or anyone else affected, Accepted openstack-trove into vivid-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/openstack- trove/2015.1.0-0ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Also affects: openstack-trove (Ubuntu Vivid) Importance: Undecided Status: New ** Changed in: openstack-trove (Ubuntu Vivid) Status: New => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Description changed: + [Impact] + Trove is not installable with default configuration + + [Test Case] + sudo apt-get install trove-common + + [Regression Potential] + Minimal - just fixing up path for sqlite db + + [Original bug report] Most of the packages are running dbsync during the installation of trove. When doing the dbsync the script will look at trove.conf for connection (previously sql_connection), which is default to sqlite:///trove_test.sqlite. Here is the output when installing Trove on Ubuntu: http://paste.openstack.org/show/214767/ If we change the default value in trove/common/cfg.py, it will not lead to any issue if we put the right path. ** Changed in: openstack-trove (Ubuntu) Status: Triaged => In Progress ** Changed in: openstack-trove (Ubuntu) Assignee: (unassigned) => James Page (james-page) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Branch linked: lp:~ubuntu-server-dev/trove/kilo -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
connection = sqlite:///trove_test.sqlite -> connection = sqlite://var/lib/trove/trove_test.sqlite ** Changed in: openstack-trove (Ubuntu) Importance: Undecided => High ** Changed in: openstack-trove (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1451134] Re: Default connection parameters fails when running dbsync
** Project changed: trove => openstack-trove (Ubuntu) ** Changed in: openstack-trove (Ubuntu) Status: In Progress => New ** Changed in: openstack-trove (Ubuntu) Assignee: Emilien Macchi (emilienm) => (unassigned) ** Also affects: trove Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openstack-trove in Ubuntu. https://bugs.launchpad.net/bugs/1451134 Title: Default connection parameters fails when running dbsync To manage notifications about this bug go to: https://bugs.launchpad.net/trove/+bug/1451134/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs