salt icon indicating copy to clipboard operation
salt copied to clipboard

Salt-cloud not working in 2014.7.6

Open justinta opened this issue 11 years ago • 3 comments

When using salt-cloud in 2014.7.6 I get a traceback when trying to provision a vm. This works on 2014.7.1-2014.7.5 and 2015.2 +. I've noticed this issue on CentOS 7 with both Linode and RackSpace drivers.

salt-cloud -p linode_cent7 test-cent7 -l debug

-----snip-----

[ERROR   ] There was a profile error: 'NoneType' object has no attribute 'copy'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/salt/cloud/cli.py", line 231, in run
    self.config.get('names')
  File "/usr/lib/python2.7/site-packages/salt/cloud/__init__.py", line 1318, in run_profile
    vm_ = main_cloud_config.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Versions Report:

# salt --versions-report
           Salt: 2014.7.6
         Python: 2.7.5 (default, Jun 17 2014, 18:11:42)
         Jinja2: 2.7.2
       M2Crypto: 0.21.1
 msgpack-python: 0.4.6
   msgpack-pure: Not Installed
       pycrypto: 2.6.1
        libnacl: Not Installed
         PyYAML: 3.10
          ioflo: Not Installed
          PyZMQ: 14.3.1
           RAET: Not Installed
            ZMQ: 3.2.5
           Mako: Not Installed

justinta avatar Jun 24 '15 00:06 justinta

ping @techhat

justinta avatar Jun 24 '15 00:06 justinta

@jtand Did this fix work for you? Can this one be closed?

rallytime avatar Jun 25 '15 23:06 rallytime

@rallytime yep.

justinta avatar Jun 26 '15 16:06 justinta