projectatomic / adb-utils

A set of utilities for managing services used provided in the Atomic Developer Bundle.
GNU General Public License v2.0
13 stars 22 forks source link

Error: Local variable 'docker_registry' referenced before assignment #207

Closed praveenkumar closed 7 years ago

praveenkumar commented 7 years ago

If we use sccli with latest release it will fail as below.

==> default:   File "/usr/bin/sccli", line 300, in <module>
==> default:     args.func(args)
==> default:   File "/usr/bin/sccli", line 278, in openshift_ops
==> default:     service_operation('openshift', args.sub_command)
==> default:   File "/usr/bin/sccli", line 261, in service_operation
==> default:     err, returncode = service_start(service_name)
==> default:   File "/usr/bin/sccli", line 232, in service_start
==> default:     output, returncode = pull_openshift_images()
==> default:   File "/usr/bin/sccli", line 197, in pull_openshift_images
==> default:     ' %s') % (docker_registry, image_name, image_tag, OPENSHIFT_OPTION))[2]:
==> default: UnboundLocalError: local variable 'docker_registry' referenced before assignment
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.