[Bug 931236] Re: keystone install is unnecessarily interactive
This bug was fixed in the package keystone - 2012.1~e4-0ubuntu1 --- keystone (2012.1~e4-0ubuntu1) precise; urgency=low [ Chuck Short ] * New upstream release. * debian/keystone.upstart: Update for ksl. * debian/control: Add python-keystoneclient as dependency. * debian/control: Fix typo. * debian/keystone.postinst: Update due to redux branch change. * debian/keystone.templates, debian/keystone.preinst, debian/kestone.postinst, debian/keystone.config, debian/README.Debian: Make keystone installation less interactive. (LP: #931236) * debian/keystone.postinst: Don't create users or run a database sync since its not working correctly. * debian/control: Dropped python-coverage and python-nosexcover. * debian/changelog: Fixed changelog. * debian/keystone.templates: Set it to false. * debian/control: Fix lintian warnings. * debian/patches/keystone-auth.patch: Backport auth token improvements, this can be dropped in the next snapshot. * debian/control: Add python-memcache as a build dependency. * debian/keystone-doc.docs: Fix keystone doc builds. * debian/rules: Temporarily disable doc install. * debian/control: Add python-ldap and python-lxml. [ Joseph Heck ] * debian/control: Dropped python-cli. [ Adam Gandelman ] * debian/control: Alphabetize python depends * debian/control: Add python-{eventlet, greenlet, passlib} to keystone depends * debian/control: Add python-lxml to python-keystone Depends * Drop 0001-Fix-keystone-all-failure-to-start.patch * debian/logging.conf: Temporarily use old logging.conf until upstream ships something usable * debain/patches/sql_connection.patch: Switch backends to use SQL backends * debian/keystone.preinst: Create directories * debian/keystone.postinst: Remove create_users stuff, add call to 'db_sync' on install [ Dave Walker ] * debian/patches/sql_connection.patch: Refreshed and reintroduced DEP-3 headers. * debian/control: Added Vcs-Bzr field. [ Andrew Glen-Young ] * debian/keystone.preinst: Set the primary group to keystone. (LP: #941905) -- Chuck ShortFri, 02 Mar 2012 09:55:24 -0500 ** Changed in: keystone (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
** Tags added: rls-p-tracking -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
Considering Glance and Nova use sqlite as default, it seems reasonable that Keystone should do the same. This would a) prevent interactive prompts and b) provide a consistent experience between Openstack components. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
Another way round can be to remove "db_input low keystone/configure_db || true" from keystone.config and just preseed it if we want interactive installation. Maybe some tweaks should be need in postint script just to configure sqlite by default, but it could works. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
And easy way to avoid interactive installation can be with: # echo "dbconfig-common dbconfig-common/mysql/admin-passpassword essex" | debconf-set-selections # echo "keystonekeystone/auth-token string 999888777666" | debconf-set-selections # cat >> /etc/dbconfig-common/keystone.conf << EOF dbc_dbadmin='root' dbc_dbname='keystone' dbc_dbpass='essex' dbc_dbtype='mysql' dbc_dbuser='keystone' dbc_install='true' dbc_upgrade='true' EOF # DEBIAN_FRONTEND=noninteractive apt-get install keystone And to remove and purge the database: # echo "keystonekeystone/dbconfig-removeboolean true" | debconf-set-selections # echo "dbconfig-common dbconfig-common/purge boolean true" | debconf-set-selections # DEBIAN_FRONTEND=noninteractive apt-get remove keystone Maybe, you will also need before everything: # echo "dbconfig-common dbconfig-common/remember-admin-pass boolean true" | debconf-set-selections -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
** Branch linked: lp:~ubuntu-server-dev/keystone/essex -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: keystone (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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 931236] Re: keystone install is unnecessarily interactive
** Changed in: keystone (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to keystone in Ubuntu. https://bugs.launchpad.net/bugs/931236 Title: keystone install is unnecessarily interactive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/931236/+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