Unable to update openstack images during upgrade from OSP7 to OSP8

Solution In Progress - Updated -

Issue

stack@undercloud images]$ openstack overcloud image upload
Unable to set 'is_public' to 'True'
[stack@undercloud images]$ openstack overcloud image upload 
--update-existing --image-path ~/images/. --debug
START with options: ['overcloud', 'image', 'upload', '--update-existing', 
'--image-path', '/home/stack/images/.', '--debug']
options: Namespace(access_token_endpoint='', auth_type='', 
auth_url='http://172.16.0.1:5000/v2.0', 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, 
inspector_api_version='1', inspector_url=None, interface='', 
log_file=None, os_compute_api_version='', 
os_data_processing_api_version='1.1', os_identity_api_version='', 
os_image_api_version='', os_management_api_version='2', 
os_network_api_version='', os_object_api_version='', 
os_orchestration_api_version='1', os_project_id=None, 
os_project_name=None, os_queues_api_version='1.1', 
os_tripleoclient_api_version='1', os_volume_api_version='', 
password='xxxxxx', project_domain_id='', 
project_domain_name='', project_id='', project_name='admin', protocol='', 
region_name='', scope='', service_provider_endpoint='', timing=False, 
token='', trust_id='', url='', user_domain_id='', user_domain_name='', 
user_id='', username='admin', verbose_level=3, verify=None)
defaults: {'auth_type': 'password', 'compute_api_version': '2', 'key': 
None, 'database_api_version': '1.0', 'api_timeout': None, 
'baremetal_api_version': '1', 'cacert': None, 'image_api_use_tasks': 
False, 'floating_ip_source': 'neutron', 'orchestration_api_version': '1', 
'interface': None, 'network_api_version': '2', 'image_format': 'qcow2', 
'object_api_version': '1', 'image_api_version': '2', 'verify': True, 
'identity_api_version': '2', 'volume_api_version': '1', 'cert': None, 
'secgroup_source': 'neutron', 'dns_api_version': '2', 
'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'tripleoclient_api_version': '1', 
'compute_api_version': '2', 'orchestration_api_version': '1', 
'database_api_version': '1.0', 'interface': None, 'inspector_api_version': 
'1', 'network_api_version': '2', 'image_format': 'qcow2', 
'object_api_version': '1', 'queues_api_version': '1.1', 'verify': True, 
'timing': False, 'dns_api_version': '2', 'management_api_version': '2', 
'verbose_level': 3, 'region_name': '', 'api_timeout': None, 
'baremetal_api_version': '1', 'image_api_version': '2', 'auth': 
{'username': 'admin', 'project_name': 'admin', 'password': 
'xxxxxxxx', 'auth_url': 
'http://172.16.0.1:5000/v2.0'}, 'default_domain': 'default', 
'image_api_use_tasks': False, 'floating_ip_source': 'neutron', 'key': 
None, 'cacert': None, 'data_processing_api_version': '1.1', 
'deferred_help': False, 'identity_api_version': '2', 'volume_api_version': 
'1', 'cert': None, 'secgroup_source': 'neutron', 'debug': True, 
'disable_vendor_agent': {}}
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 1, cmd group openstack.volume.v1
identity API version 2, cmd group openstack.identity.v2
object_store API version 1, cmd group openstack.object_store.v1
management API version 2, cmd group openstack.management.v2
messaging API version 1.1, cmd group openstack.messaging.v1
data_processing API version 1.1, cmd group openstack.data_processing.v1
orchestration API version 1, cmd group openstack.orchestration.v1
baremetal_introspection API version 1, cmd group 
openstack.baremetal_introspection.v1
tripleoclient API version 1, cmd group openstack.tripleoclient.v1
command: overcloud image upload -> 
tripleoclient.v1.overcloud_image.UploadOvercloudImage
take_action(Namespace(http_boot='/httpboot', 
image_path='/home/stack/images/.', old_deploy_image=False, 
os_image='overcloud-full.qcow2', update_existing=True))
checking if image files exist
uploading overcloud images to glance
Instantiating image client: 

Unable to set 'is_public' to 'True'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in 
run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in 
run
    self.take_action(parsed_args)
  File 
"/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", 
line 734, in take_action
    parsed_args.image_path, oc_vmlinuz_file)
  File 
"/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", 
line 654, in _upload_image
    image = self.app.client_manager.image.images.create(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/glanceclient/v2/images.py", line 
237, in create
    raise TypeError(utils.exception_to_str(e))
TypeError: Unable to set 'is_public' to 'True'
clean_up UploadOvercloudImage: Unable to set 'is_public' to 'True'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 
112, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 255, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in 
run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 54, in 
run
    self.take_action(parsed_args)
  File 
"/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", 
line 734, in take_action
    parsed_args.image_path, oc_vmlinuz_file)
  File 
"/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", 
line 654, in _upload_image
    image = self.app.client_manager.image.images.create(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/glanceclient/v2/images.py", line 
237, in create
    raise TypeError(utils.exception_to_str(e))
TypeError: Unable to set 'is_public' to 'True'

END return value: 1

Environment

  • Red Hat OpenStack Platform 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content