Closed rallytime closed 9 years ago
Alright, after doing some git bisecting, I immediately started running into the following stacktrace. I didn't see this stacktrace at the HEAD of 2014.7, but it started showing up very quickly. Here's the stacktrace:
[ERROR ] There was a profile error: an integer is required
Traceback (most recent call last):
File "/root/SaltStack/salt/salt/cloud/cli.py", line 231, in run
self.config.get('names')
File "/root/SaltStack/salt/salt/cloud/__init__.py", line 1323, in run_profile
ret[name] = self.create(vm_)
File "/root/SaltStack/salt/salt/cloud/__init__.py", line 1193, in create
output = self.clouds[func](vm_)
File "/root/SaltStack/salt/salt/cloud/clouds/msazure.py", line 694, in create
deployed = salt.utils.cloud.deploy_script(**deploy_kwargs)
File "/root/SaltStack/salt/salt/utils/cloud.py", line 957, in deploy_script
if wait_for_port(host=host, port=port, gateway=gateway):
File "/root/SaltStack/salt/salt/utils/cloud.py", line 532, in wait_for_port
sock.connect((test_ssh_host, test_ssh_port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
TypeError: an integer is required
I tracked this problem down to a backport that I did here: #19710. There were conflicts in msazure.py
. I'm not sure if resolving the stacktrace will fix the original timeout that I was seeing, but it's definitely a good place to start.
FIXED!
Woohoo! Nicely done!!
On Wed, Feb 4, 2015 at 7:27 PM -0800, "Nicole Thomas" notifications@github.com wrote:
FIXED!
— Reply to this email directly or view it on GitHub.
Azure was working very well with 2014.7.0, but when checking out the HEAD of 2014.7, it is no longer working. The cloud-service gets created, but somewhere after that it times out and no VM is created. It just hangs forever at "Attempting function <function wat_for_hostname ...> line and eventually times out.
Here's the relevant information from running in debug mode:
Here's my versions report:
ping @techhat