Undercloud deploy - 'NoneType' object has no attribute 'group'

Bug #1798126 reported by Martin Kopec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Alex Schultz

Bug Description

Affected master promotion jobs:
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset010-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset016-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset017-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset018-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset019-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset030-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset037-updates-master
periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset050-upgrades-master
periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset002-master-upload
periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset020-master
periodic-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001-master
periodic-tripleo-ci-centos-7-singlenode-featureset027-master

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset010-master/2dc60e2/logs/undercloud/home/zuul/install-undercloud.log.txt.gz#_2018-10-16_11_53_11_152

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset010-master/2dc60e2/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-10-16_11_53_11

Martin Kopec (mkopec)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
milestone: none → stein-1
tags: added: promotion-blocker
Revision history for this message
Martin Kopec (mkopec) wrote :
Revision history for this message
Alex Schultz (alex-schultz) wrote :

Ran reproducer, it's failing trying to inspect in the container upload items.

http://paste.openstack.org/show/732258/

Revision history for this message
Alex Schultz (alex-schultz) wrote :

The reproducer has a bug. I recreated it.

Starting new HTTPS connection (1): trunk.registry.rdoproject.org
https://trunk.registry.rdoproject.org:443 "GET /v2/ HTTP/1.1" 401 87
https://trunk.registry.rdoproject.org/v2/ status code 401
Exception: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1076, in _standalone_deploy
    parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line 692, in _deploy_tripleo_heat_templates
    self._prepare_container_images(env, parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line 670, in _prepare_container_images
    env, roles_data, dry_run=True)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/kolla_builder.py", line 183, in container_images_prepare_multi
    modify_only_with_labels=modify_only_with_labels,
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/kolla_builder.py", line 288, in container_images_prepare
    images, modify_only_with_labels)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 524, in filter_images_with_labels
    url, insecure=insecure, username=username, password=password)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 342, in authenticate
    'service="(.*?)"', www_auth).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
None
Preserving deployment artifacts

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/611119

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/611119
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=79a5455ffececa8239b6bed03edbc9dd8269d3dd
Submitter: Zuul
Branch: master

commit 79a5455ffececa8239b6bed03edbc9dd8269d3dd
Author: Alex Schultz <email address hidden>
Date: Tue Oct 16 12:17:47 2018 -0600

    Make service optional for auth

    The service is not required for WWW-Authenticate and is not provided
    from the rdoproject docker registry. It is provided from docker.io so we
    should only add it when it's available.

    Change-Id: Iecc421c07f005eead38dc6b5ad1c1cd821d86e8e
    CLoses-Bug: #1798126

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 10.1.0

This issue was fixed in the openstack/tripleo-common 10.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.