Skip to content

Error while creating the resource group for docker #5432

Description

@shivamgupta211

Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

Installing via Docker for azure from docker site : https://docs.docker.com/docker-for-azure/#configuration

az --version
azure-cli (2.0.25)

uname -a
Linux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

<urlopen error [Errno -3] Temporary failure in name resolution>
Traceback (most recent call last):
File "/opt/az/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/opt/az/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/opt/az/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/opt/az/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/opt/az/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/opt/az/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/opt/az/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/opt/az/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/opt/az/lib/python3.6/socket.py", line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/opt/az/lib/python3.6/socket.py", line 743, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 194, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 319, in execute
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 292, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 169, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 337, in default_command_handler
result = op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 621, in deploy_arm_template
deployment_name, parameters, mode, no_wait=no_wait)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 228, in _deploy_arm_template_core
template_obj = shell_safe_json_parse(_urlretrieve(template_uri).decode('utf-8'), preserve_order=True)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/resource/custom.py", line 213, in _urlretrieve
req = urlopen(url, context=_ssl_context())
File "/opt/az/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/opt/az/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/opt/az/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/opt/az/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/opt/az/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/opt/az/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Packaging/DockerquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions