Fix failing of test_k8s_docker_registry_local_and_mirror test

Bug #1628405 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
k8s-docker-suite-app-murano
Fix Released
High
Peter Razumovsky

Bug Description

Currently this test fails with follow traceback:

> assert ('--insecure-registry {0}'.format(local_reg_path)

                    in docker_cfg_out), (

                "Docker local registry link does not present in Docker cfg "

                "file on Minion node.\n{0}".format(docker_cfg_out))

E AssertionError: Docker local registry link does not present in Docker cfg file on Minion node.

E DOCKER_OPTS= --registry-mirror=http://172.16.176.11:5005

E assert '--insecure-registry 172.16.176.11:5000' in 'DOCKER_OPTS= --registry-mirror=http://172.16.176.11:5005'

E + where '--insecure-registry 172.16.176.11:5000' = <built-in method format of str object at 0x7fe8a86b1a30>('172.16.176.11:5000')

E + where <built-in method format of str object at 0x7fe8a86b1a30> = '--insecure-registry {0}'.format

Changed in k8s-docker-suite-app-murano:
assignee: nobody → Peter Razumovsky (prazumovsky)
Changed in k8s-docker-suite-app-murano:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to k8s-docker-suite-app-murano (master)

Reviewed: https://review.openstack.org/384348
Committed: https://git.openstack.org/cgit/openstack/k8s-docker-suite-app-murano/commit/?id=f9b2710b87357526736072b4f3ea432817b72c3c
Submitter: Jenkins
Branch: master

commit f9b2710b87357526736072b4f3ea432817b72c3c
Author: Peter Razumovsky <email address hidden>
Date: Mon Oct 10 11:21:19 2016 +0300

    Fix changing DOCKER_OPTS for DSH and KubeCluster

    Currently DOCKER_OPTS incorrectly changed with insecure-registry and
    registry-mirror opts (setupDockerRegistry and setupDockerMirror
    scripts): opts aren't wrapped with quotes after changing.

    Change-Id: I3265953cc6e6d9de75fa4ba185059cd75c06181c
    Closes-bug: #1628405

Changed in k8s-docker-suite-app-murano:
status: In Progress → Fix Released
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.