[Yahoo-eng-team] [Bug 1670409] [NEW] Experimental E-M-C migrations broken

2017-03-06 Thread Alexander Bashmakov
Public bug reported:

Glance Experimental Expand-Migrate-Contract feature introduced in Ocata
release is currently broken due to couple of bugs in the code:

https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/alembic_migrations/data_migrations/ocata_migrate01_community_images.py#L43
- malformed select statement

and

https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/alembic_migrations/versions/ocata_contract01_drop_is_public.py#L30
- incorrect revision dependency

** Affects: glance
 Importance: Medium
 Assignee: Alexander Bashmakov (abashmak)
 Status: New

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

Title:
  Experimental E-M-C migrations broken

Status in Glance:
  New

Bug description:
  Glance Experimental Expand-Migrate-Contract feature introduced in
  Ocata release is currently broken due to couple of bugs in the code:

  
https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/alembic_migrations/data_migrations/ocata_migrate01_community_images.py#L43
  - malformed select statement

  and

  
https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/alembic_migrations/versions/ocata_contract01_drop_is_public.py#L30
  - incorrect revision dependency

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1630308] Re: Enable auto-complete for user name

2017-03-02 Thread Alexander Bashmakov
** Changed in: horizon
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1630308

Title:
  Enable auto-complete for user name

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Currently the user name field in the open dashboard login screen does
  not allow auto-complete of previous values. This is a feature request
  to enhance the UX by enabling this functionality, so that users don't
  have to re-type their name every time.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1647491] [NEW] Missing documentation for glance-manage db_purge command

2016-12-05 Thread Alexander Bashmakov
Public bug reported:

glance-manage db purge is an advanced operator command for purging
deleted records from the database [1]. Documentation for the purpose and
usage of this command should be added here [2].

[1] https://github.com/openstack/glance/blob/master/glance/cmd/manage.py#L146
[2] http://docs.openstack.org/developer/glance/man/glancemanage.html

** Affects: glance
 Importance: Undecided
 Status: New

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

Title:
  Missing documentation for glance-manage db_purge command

Status in Glance:
  New

Bug description:
  glance-manage db purge is an advanced operator command for purging
  deleted records from the database [1]. Documentation for the purpose
  and usage of this command should be added here [2].

  [1] https://github.com/openstack/glance/blob/master/glance/cmd/manage.py#L146
  [2] http://docs.openstack.org/developer/glance/man/glancemanage.html

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1624064] Re: Bump up Glance API minor version to 2.4

2016-12-05 Thread Alexander Bashmakov
Fixed here: https://review.openstack.org/#/c/366973/

** Changed in: glance
   Status: Triaged => Fix Released

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

Title:
  Bump up Glance API minor version to 2.4

Status in Glance:
  Fix Released

Bug description:
  https://review.openstack.org/350809
  Dear bug triager. This bug was created since a commit was marked with 
DOCIMPACT.
  Your project "openstack/glance" is set up so that we directly report the 
documentation bugs against it. If this needs changing, the docimpact-group 
option needs to be added for the project. You can ask the OpenStack infra team 
(#openstack-infra on freenode) for help if you need to.

  commit a2b329c997b41632b29471b9ddacb7b19adfdb0d
  Author: Nikhil Komawar 
  Date:   Wed Aug 3 18:17:47 2016 -0400

  Bump up Glance API minor version to 2.4
  
  This is the minor version bump for Newton after some of the API
  impacting changes occur.
  
  APIImpact
  UpgradeImpact
  DocImpact
  
  Depends-On: Ie463e2f30db94cde7716c83a94ec2fb0c0658c91
  
  Change-Id: I5d1c4380682efa4c15ff0f294f269c800fe6762a

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1596927] Re: Glance installation does not appear to detect admin role

2016-10-11 Thread Alexander Bashmakov
I am also seeing this issue on Ubuntu Xenial (16.04.1) using the
stable/Newton branch.

** Also affects: glance
   Importance: Undecided
   Status: New

** Changed in: openstack-manuals
   Status: Opinion => Confirmed

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

Title:
  Glance installation does not appear to detect admin role

Status in Glance:
  New
Status in openstack-manuals:
  Confirmed

Bug description:
  
  Following the installation guide on Ubuntu 16.04 and using the provided 
Mitaka packages on new clean VM installation. Once I attempt to upload an image 
with the --public flag glance reports 403 Forbidden when using the admin 
account. (debug output at the end of the bug). Again this is using the ADMIN 
account who is in the ADMIN role of both the admin and service projects. 

  I'm guessing this is a documentation issue and somewhere along the
  instructions something's not happenig in the right order.

  It seems that glance is not properly detecting the admin-ness of the
  admin account, i.e. resolving that admin is in the role admin. If I
  remove the "role:admin" from publicize_image in
  /etc/glance/policy.json, the above command works.

  The username and password for the glance account in /etc/glance
  /glance-api.conf and glance-registry.conf are correct. It seems that
  only those operations that require the admin role are broken.

  The admin user environment is set as:

  export OS_PROJECT_DOMAIN_NAME=default
  export OS_USER_DOMAIN_NAME=default
  export OS_PROJECT_NAME=admin
  export OS_USERNAME=admin
  export OS_PASSWORD=admin
  export OS_AUTH_URL=http://controller:35357/v3
  export OS_IDENTITY_API_VERSION=3
  export OS_IMAGE_API_VERSION=2

  The documented roles/projects/users are defined:

  root@controller:~# openstack user list
  +--++
  | ID   | Name   |
  +--++
  | 2c2f877dad19415aa2f3c410cc23f7f5 | glance |
  | 4200ae4f41a24e1195f1fa1f2a6bc7c8 | admin  |
  | df223dbfc8534f089677da8002f084a2 | demo   |
  +--++
  root@controller:~# openstack role list
  +--+---+
  | ID   | Name  |
  +--+---+
  | 5958a2db1dec48a3ae8e01a2b5704080 | admin |
  | d75766b685a943cca51c7869fe39ee09 | user  |
  +--+---+
  root@controller:~# openstack project list
  +--+-+
  | ID   | Name|
  +--+-+
  | 0e53ec33b2dd45adcd0a4d432512 | admin   |
  | 24178e2444634949a96877a906ddc6f5 | demo|
  | 62ce2aaa1a3b4c7c855d11af43eb26a9 | service |
  +--+-+
  root@controller:~# openstack  role assignment list --names
  +---++---+-++---+
  | Role  | User   | Group | Project | Domain | Inherited |
  +---++---+-++---+
  | admin | glance@default |   | service@default || False |
  | admin | admin@default  |   | admin@default   || False |
  | admin | admin@default  |   | service@default || False |
  | user  | demo@default   |   | demo@default|| False |
  +---++---+-++---+

  Debug output:

  root@controller:~# openstack --debug  image create "cirros"   --file 
cirros-0.3.4-x86_64-disk.img   --disk-format qcow2 --container-format bare   
--public
  START with options: ['--debug', 'image', 'create', 'cirros', '--file', 
'cirros-0.3.4-x86_64-disk.img', '--disk-format', 'qcow2', '--container-format', 
'bare', '--public']
  options: Namespace(access_token_endpoint='', auth_type='', 
auth_url='http://controller:35357/v3', cacert='', client_id='', 
client_secret='***', cloud='', debug=True, default_domain='default', 
deferred_help=False, domain_id='', domain_name='', endpoint='', 
identity_provider='', identity_provider_url='', insecure=None, interface='', 
log_file=None, os_compute_api_version='', os_identity_api_version='3', 
os_image_api_version='2', os_network_api_version='', os_object_api_version='', 
os_project_id=None, os_project_name=None, os_volume_api_version='', 
password='***', profile=None, project_domain_id='', 
project_domain_name='default', project_id='', project_name='admin', 
protocol='', region_name='', scope='', service_provider_endpoint='', 
timing=False, token='***', trust_id='', url='', user_domain_id='', 
user_domain_name='default', user_id='', username='admin', verbose_level=3, 
verify=None)
  defaults: {u'auth_type': 'password', u'compute_api_version': u'2', 'key': 
None, u'database_api_version':

[Yahoo-eng-team] [Bug 1630308] [NEW] Enable auto-complete for user name

2016-10-04 Thread Alexander Bashmakov
Public bug reported:

Currently the user name field in the open dashboard login screen does
not allow auto-complete of previous values. This is a feature request to
enhance the UX by enabling this functionality, so that users don't have
to re-type their name every time.

** Affects: horizon
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1630308

Title:
  Enable auto-complete for user name

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Currently the user name field in the open dashboard login screen does
  not allow auto-complete of previous values. This is a feature request
  to enhance the UX by enabling this functionality, so that users don't
  have to re-type their name every time.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1622779] [NEW] Tasks doc links to image statuses instead of task statuses

2016-09-12 Thread Alexander Bashmakov
Public bug reported:

The link to "Task Statuses" at the end of Tasks Conceptual Details
section (http://docs.openstack.org/developer/glance/tasks.html
#conceptual-details) currently takes users to the combined Task/Image
statuses page: http://docs.openstack.org/developer/glance/statuses.html,
where Image Statuses are described first. That page has an anchor
allowing a link to jump directly to the Task Statuses section, so it
would be nice to link to that directly.

** Affects: glance
 Importance: Undecided
 Assignee: Alexander Bashmakov (abashmak)
 Status: New


** Tags: dev-docs documentation

** Changed in: glance
 Assignee: (unassigned) => Alexander Bashmakov (abashmak)

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

Title:
  Tasks doc links to image statuses instead of task statuses

Status in Glance:
  New

Bug description:
  The link to "Task Statuses" at the end of Tasks Conceptual Details
  section (http://docs.openstack.org/developer/glance/tasks.html
  #conceptual-details) currently takes users to the combined Task/Image
  statuses page:
  http://docs.openstack.org/developer/glance/statuses.html, where Image
  Statuses are described first. That page has an anchor allowing a link
  to jump directly to the Task Statuses section, so it would be nice to
  link to that directly.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1612815] [NEW] Glance notifications documentation does not list all possible event groups

2016-08-12 Thread Alexander Bashmakov
Public bug reported:

The notifications reference in Glance developer docs currently only
lists: image.* and task.* events. There are a number of other event
types that can be emitted by the service:

* image.member
* metadef_namespace
* metadef_object
* metadef_property
* metadef_resource_type
* metadef_tag

These all need to be properly documented here:
http://docs.openstack.org/developer/glance/notifications.html.

** Affects: glance
 Importance: Undecided
 Status: New


** Tags: dev-docs documentation

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

Title:
  Glance notifications documentation does not list all possible event
  groups

Status in Glance:
  New

Bug description:
  The notifications reference in Glance developer docs currently only
  lists: image.* and task.* events. There are a number of other event
  types that can be emitted by the service:

  * image.member
  * metadef_namespace
  * metadef_object
  * metadef_property
  * metadef_resource_type
  * metadef_tag

  These all need to be properly documented here:
  http://docs.openstack.org/developer/glance/notifications.html.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1606608] [NEW] Invalid links in Common Image Properties doc

2016-07-26 Thread Alexander Bashmakov
Public bug reported:

The architecture and os_distro property description in
http://docs.openstack.org/developer/glance/common-image-properties.html
both point to the same link: http://docs.openstack.org/cli-
reference/glance.html#image-service-property-keys, which simply links to
the Image service command-line client reference page.

** Affects: glance
 Importance: Undecided
 Status: New

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

Title:
  Invalid links in Common Image Properties doc

Status in Glance:
  New

Bug description:
  The architecture and os_distro property description in
  http://docs.openstack.org/developer/glance/common-image-
  properties.html both point to the same link: http://docs.openstack.org
  /cli-reference/glance.html#image-service-property-keys, which simply
  links to the Image service command-line client reference page.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp