Bug 1548650 - [doc] Why we have glance-registry section is present in document, even though the service is already deprecated
Summary: [doc] Why we have glance-registry section is present in document, even though...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 12.0 (Pike)
Assignee: Laura Marsh
QA Contact: RHOS Documentation Team
Laura Marsh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-24 08:55 UTC by Nilesh
Modified: 2019-01-07 21:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-07 21:29:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
replacement diagram to use (79.50 KB, image/png)
2019-01-02 20:51 UTC, Kim Nylander
no flags Details

Description Nilesh 2018-02-24 08:55:00 UTC
Without glance-registry , images are uploading, 
Glance-registry already deprecated in OSP12, Why documentation is not updated. 


[root@controller-0 ~]# rpm -qa |grep -i glance
python-glanceclient-2.8.0-1.el7ost.noarch
openstack-glance-15.0.0-3.el7ost.noarch
python-glance-store-0.22.0-1.el7ost.noarch
puppet-glance-11.3.0-3.el7ost.noarch
python-glance-15.0.0-3.el7ost.noarch
[root@controller-0 ~]# 
[root@controller-0 ~]# 
[root@controller-0 ~]# docker ps |grep -i glance
d10501284b5a        192.168.24.1:8787/rhosp12/openstack-glance-api:12.0-20180104.2                "kolla_start"            4 weeks ago         Up 4 weeks (healthy)                       glance_api
[root@controller-0 ~]# 

(overcloud) [stack@undercloud-0 ~]$ openstack image create --disk-format qcow2 --file cirros-0.3.4-x86_64-disk.img cirros_$(date +"%Y-%m-%d_%H-%M-%S")
+------------------+------------------------------------------------------------------------------+
| Field            | Value                                                                        |
+------------------+------------------------------------------------------------------------------+
| checksum         | ee1eca47dc88f4879d8a229cc70a07c6                                             |
| container_format | bare                                                                         |
| created_at       | 2018-02-24T04:03:33Z                                                         |
| disk_format      | qcow2                                                                        |
| file             | /v2/images/92d2e629-1516-4dd6-ac66-8b1619bce5c8/file                         |
| id               | 92d2e629-1516-4dd6-ac66-8b1619bce5c8                                         |
| min_disk         | 0                                                                            |
| min_ram          | 0                                                                            |
| name             | cirros_2018-02-23_23-05-06                                                   |
| owner            | f15a947ff3ab4450a897c69e38df0c6f                                             |
| properties       | direct_url='swift+config://ref1/glance/92d2e629-1516-4dd6-ac66-8b1619bce5c8' |
| protected        | False                                                                        |
| schema           | /v2/schemas/image                                                            |
| size             | 13287936                                                                     |
| status           | active                                                                       |
| tags             |                                                                              |
| updated_at       | 2018-02-24T04:03:35Z                                                         |
| virtual_size     | None                                                                         |
| visibility       | shared                                                                       |
+------------------+------------------------------------------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$ 
(overcloud) [stack@undercloud-0 ~]$ 
(overcloud) [stack@undercloud-0 ~]$ openstack image list
+--------------------------------------+----------------------------+--------+
| ID                                   | Name                       | Status |
+--------------------------------------+----------------------------+--------+
| 38132adb-ef02-44ad-a4bc-20ae30fa108b | cirros                     | active |
| 92d2e629-1516-4dd6-ac66-8b1619bce5c8 | cirros_2018-02-23_23-05-06 | active |
| 3cd4e02c-5af4-4a11-b6bc-cd2069f43890 | test                       | active |
+--------------------------------------+----------------------------+--------+
(overcloud) [stack@undercloud-0 ~]$ 
(overcloud) [stack@undercloud-0 ~]$ openstack image create --disk-format qcow2 --file cirros-0.3.4-x86_64-disk.img cirros_$(date +"%Y-%m-%d_%H-%M-%S")
+------------------+------------------------------------------------------------------------------+
| Field            | Value                                                                        |
+------------------+------------------------------------------------------------------------------+
| checksum         | ee1eca47dc88f4879d8a229cc70a07c6                                             |
| container_format | bare                                                                         |
| created_at       | 2018-02-24T04:03:50Z                                                         |
| disk_format      | qcow2                                                                        |
| file             | /v2/images/29e30381-b63c-46c6-99c3-7c204a117e75/file                         |
| id               | 29e30381-b63c-46c6-99c3-7c204a117e75                                         |
| min_disk         | 0                                                                            |
| min_ram          | 0                                                                            |
| name             | cirros_2018-02-23_23-05-23                                                   |
| owner            | f15a947ff3ab4450a897c69e38df0c6f                                             |
| properties       | direct_url='swift+config://ref1/glance/29e30381-b63c-46c6-99c3-7c204a117e75' |
| protected        | False                                                                        |
| schema           | /v2/schemas/image                                                            |
| size             | 13287936                                                                     |
| status           | active                                                                       |
| tags             |                                                                              |
| updated_at       | 2018-02-24T04:03:54Z                                                         |
| virtual_size     | None                                                                         |
| visibility       | shared                                                                       |
+------------------+------------------------------------------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$ 
(overcloud) [stack@undercloud-0 ~]$ 
(overcloud) [stack@undercloud-0 ~]$ openstack image list
+--------------------------------------+----------------------------+--------+
| ID                                   | Name                       | Status |
+--------------------------------------+----------------------------+--------+
| 38132adb-ef02-44ad-a4bc-20ae30fa108b | cirros                     | active |
| 92d2e629-1516-4dd6-ac66-8b1619bce5c8 | cirros_2018-02-23_23-05-06 | active |
| 29e30381-b63c-46c6-99c3-7c204a117e75 | cirros_2018-02-23_23-05-23 | active |
| 3cd4e02c-5af4-4a11-b6bc-cd2069f43890 | test                       | active |
+--------------------------------------+----------------------------+--------+
(overcloud) [stack@undercloud-0 ~]$ 


[root@controller-1 ~]# ps -ef |grep -i glance
root      147519  147162  0 04:23 pts/0    00:00:00 grep --color=auto -i glance
42415     681149  681134  0 Jan25 ?        05:14:08 /usr/bin/python2 /usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf
42415     681619  681149  0 Jan25 ?        02:15:31 /usr/bin/python2 /usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf
42415     681620  681149  0 Jan25 ?        02:16:40 /usr/bin/python2 /usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf
[root@controller-1 ~]#


[root@controller-1 ~]# egrep -v "^#|^$" /etc/glance/* |grep -i enable_v
grep: /etc/glance/metadefs: Is a directory
grep: /etc/glance/rootwrap.d: Is a directory
/etc/glance/glance-api.conf:enable_v1_api = False
/etc/glance/glance-api.conf:enable_v2_api = True
[root@controller-1 ~]#

This is an optional service and in v2 its already enabled. 


enable_v2_registry
Type: boolean
Default: true

Document should be updated. 


https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/architecture_guide/#comp-image

Comment 14 Kim Nylander 2018-09-27 17:22:24 UTC
Diagram revision completed and will be updated in the guide.

Comment 15 Kim Nylander 2019-01-02 20:51:26 UTC
Created attachment 1518031 [details]
replacement diagram to use

Comment 16 Kim Nylander 2019-01-02 20:52:03 UTC
The updated diagram is attached to this BZ. Do not use the diagram linked above.


Note You need to log in before you can comment on or make changes to this bug.