Bug 1934989
Summary: | [RFE][Deployment] Add TripleO support for configuring glance distributed image import | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Pranali Deore <pdeore> |
Component: | openstack-tripleo-heat-templates | Assignee: | Pranali Deore <pdeore> |
Status: | CLOSED WONTFIX | QA Contact: | msava |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 17.0 (Wallaby) | CC: | abishop, akekane, dhughes, eharney, gcharot, gfidente, jschluet, mariel, mburns, msava, nlevinki, pgrist, prgutier, spower, udesale, yrabl |
Target Milestone: | z3 | Keywords: | FutureFeature, Reopened, TestOnly, Triaged |
Target Release: | 17.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-14.3.1-1.20230519151015.el9ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-04-10 09:53:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | Xena |
Embargoed: | |||
Bug Depends On: | 1712001, 2174885 | ||
Bug Blocks: |
Description
Pranali Deore
2021-03-04 07:12:06 UTC
OOO does not configured corectly parameters. There is two problems here. Description of problem 1: -------------------------- TripleO configure same worker_self_reference_url for all controllers then we deploy with glance-direct parameter Version-Release number of selected component (if applicable): How reproducible: parameters_defaults: GlanceEnabledImportMethods: web-download,glance-direct Steps to Reproduce: 1.Deploy with glance-direct parameter 2.Check worker_self_reference_url on each controller 3. Actual results: Same worker_self_reference_url for all controllers Expected results: Should be individual reference directly to the controller node itself Description of problem 2: -------------------------- TripleO does not configure os_glance_staging_store correctly but uses the single store config notation of setting staging uri instead Version-Release number of selected component (if applicable): How reproducible: parameters_defaults: GlanceEnabledImportMethods: web-download,glance-direct Steps to Reproduce: 1.Deploy with glance-direct parameter 2.Check if this parameter setted in glance configuration [os_glance_staging_store] filesystem_store_datadir = /var/lib/glance/staging 3. Actual results: node_staging_uri=file:///var/lib/glance/staging/ Expected results: [os_glance_staging_store] filesystem_store_datadir = /var/lib/glance/staging *** Bug 2174885 has been marked as a duplicate of this bug. *** *** Bug 2174876 has been marked as a duplicate of this bug. *** (In reply to msava from comment #13) > OOO does not configured corectly parameters. There is two problems here. > > Description of problem 1: > -------------------------- > TripleO configure same worker_self_reference_url for all controllers then we > deploy with glance-direct parameter > > Version-Release number of selected component (if applicable): > > > How reproducible: > parameters_defaults: > GlanceEnabledImportMethods: web-download,glance-direct > > Steps to Reproduce: > 1.Deploy with glance-direct parameter > 2.Check worker_self_reference_url on each controller > 3. > > Actual results: > Same worker_self_reference_url for all controllers > > Expected results: > Should be individual reference directly to the controller node itself > > > Description of problem 2: > -------------------------- > TripleO does not configure os_glance_staging_store correctly but uses the > single store config notation of setting staging uri instead > > Version-Release number of selected component (if applicable): > > > How reproducible: > parameters_defaults: > GlanceEnabledImportMethods: web-download,glance-direct > > Steps to Reproduce: > 1.Deploy with glance-direct parameter > 2.Check if this parameter setted in glance configuration > [os_glance_staging_store] > filesystem_store_datadir = /var/lib/glance/staging > 3. > > Actual results: > node_staging_uri=file:///var/lib/glance/staging/ > > Expected results: > [os_glance_staging_store] > filesystem_store_datadir = /var/lib/glance/staging Hey Maxim, Could you please add generated glance-api.conf here for reference? Abhishek Verified -------- Setup: 1.Environment with 3 controllers 2.openstack-tripleo-heat-templates-14.3.1-1.20230519151010.el9ost.noarch 3.Red Hat OpenStack Platform release 17.1.0 Beta (Wallaby) 4.glance-api.conf file [DEFAULT] image_member_quota=128 show_image_direct_url=False show_multiple_locations=False node_staging_uri=file:///var/lib/glance/staging enabled_import_methods=[web-download,glance-direct] worker_self_reference_url=http://172.17.1.30:9293 bind_host=172.17.1.30 bind_port=9292 workers=4 enabled_backends=default_backend:rbd image_cache_dir=/var/lib/glance/image-cache debug=True log_file=/var/log/glance/api.log log_dir=/var/log/glance transport_url=rabbit://guest:VCHwHgIfeutk0K5WC88kCAD1B.redhat.local:5672,guest:VCHwHgIfeutk0K5WC88kCAD1B.redhat.local:5672,guest:VCHwHgIfeutk0K5WC88kCAD1B.redhat.local:5672/?ssl=0 [cinder] [cors] [database] connection=mysql+pymysql://glance:k5Oy5ixYoWwnqzBjvDYqtyBf6.1.140/glance?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo [file] [glance.store.http.store] [glance.store.rbd.store] [glance.store.s3.store] [glance.store.swift.store] [glance.store.vmware_datastore.store] [glance_store] default_backend=default_backend [image_format] [keystone_authtoken] www_authenticate_uri=http://10.0.0.118:5000 interface=internal region_name=regionOne memcached_servers=controller-0.internalapi.redhat.local:11211,controller-1.internalapi.redhat.local:11211,controller-2.internalapi.redhat.local:11211 memcache_use_advanced_pool=True auth_type=password auth_url=http://172.17.1.140:5000 username=glance password=k5Oy5ixYoWwnqzBjvDYqtyBf6 user_domain_name=Default project_name=service project_domain_name=Default [oslo_concurrency] lock_path=/var/lib/glance/tmp [oslo_messaging_amqp] [oslo_messaging_kafka] [oslo_messaging_notifications] driver=noop transport_url=rabbit://guest:VCHwHgIfeutk0K5WC88kCAD1B.redhat.local:5672,guest:VCHwHgIfeutk0K5WC88kCAD1B.redhat.local:5672,guest:VCHwHgIfeutk0K5WC88kCAD1B.redhat.local:5672/?ssl=0 [oslo_messaging_rabbit] heartbeat_in_pthread=False [oslo_middleware] enable_proxy_headers_parsing=True [oslo_policy] policy_file=/etc/glance/policy.yaml [paste_deploy] flavor=keystone [profiler] [store_type_location_strategy] [task] [taskflow_executor] [wsgi] [key_manager] backend=barbican [barbican] barbican_endpoint=http://172.17.1.140:9311 auth_endpoint=http://172.17.1.140:5000 [default_backend] rbd_store_ceph_conf=/etc/ceph/ceph.conf rbd_store_user=openstack rbd_store_pool=images rbd_thin_provisioning=False store_description=Default glance store backend. Test: ----- As we see different worker_self_reference_url parameters on 3 controllers. List of worker_self_url parameters: Warning: Permanently added 'controller-0.ctlplane' (ED25519) to the list of known hosts. http://172.17.1.30:9293 Warning: Permanently added 'controller-1.ctlplane' (ED25519) to the list of known hosts. http://172.17.1.133:9293 Warning: Permanently added 'controller-2.ctlplane' (ED25519) to the list of known hosts. http://172.17.1.36:9293 According to our records, this should be resolved by openstack-tripleo-heat-templates-14.3.1-1.20230519151020.el9ost. This build is available now. Moving to Z3 because of QE capacity |