← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1273273] [NEW] if run 'keystone-manage db_sync' without 'sudo', there should be a prompt that tables notcreated

 

Public bug reported:

below is the detail:

i have setup keystone database in mysql and grant all privilege to the
keystone user

when i execute 'keystone-manage db_sync'

peter@openstack:~$ keystone-manage db_sync
peter@openstack:~$ 

but actually , in mysql no tables will be create in keystone database

[there should be a error to indicate user that no tables created due to
not enough privilege]

only when :
peter@openstack:~$ sudo keystone-manage db_sync
peter@openstack:~$

all tables will created in keystone database correctly.


summary:
if a prompt displayed, that will be very usefully for user to proceed installing keystone successfully

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: keystone

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1273273

Title:
  if run 'keystone-manage db_sync' without 'sudo', there should be a
  prompt that tables notcreated

Status in OpenStack Identity (Keystone):
  New

Bug description:
  below is the detail:

  i have setup keystone database in mysql and grant all privilege to the
  keystone user

  when i execute 'keystone-manage db_sync'

  peter@openstack:~$ keystone-manage db_sync
  peter@openstack:~$ 

  but actually , in mysql no tables will be create in keystone database

  [there should be a error to indicate user that no tables created due
  to not enough privilege]

  only when :
  peter@openstack:~$ sudo keystone-manage db_sync
  peter@openstack:~$

  all tables will created in keystone database correctly.

  
  summary:
  if a prompt displayed, that will be very usefully for user to proceed installing keystone successfully

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1273273/+subscriptions


Follow ups

References