-
-
Save mf-collinhayden/b55e58a5fe6b7bce44bc to your computer and use it in GitHub Desktop.
debug output for salt-cloud rename
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build@p-uswest-ca-saltmaster01:~$ sudo salt-cloud --log-level=debug -a rename d-uswest-ca-db01.momentfeed.com newname=d-uswest-ca-db01.momentfeed.com-previous | |
[DEBUG ] Reading configuration from /etc/salt/cloud | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Including configuration from '/etc/salt/master.d/momentfeed_customizations_master.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/momentfeed_customizations_master.conf | |
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: p-uswest-ca-saltmaster01.momentfeed.com | |
[DEBUG ] Missing configuration file: /etc/salt/cloud.providers | |
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/ec2-useast-ca-public-ips.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/ec2-useast-ca-public-ips.conf | |
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/ec2-uswest-ca-private-ips.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/ec2-uswest-ca-private-ips.conf | |
[DEBUG ] Missing configuration file: /etc/salt/cloud.profiles | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/ec2-useast-ca-profile.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/ec2-useast-ca-profile.conf | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/ec2-uswest-ca-profile.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/ec2-uswest-ca-profile.conf | |
[DEBUG ] Configuration file path: /etc/salt/cloud | |
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged. | |
[INFO ] salt-cloud starting | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.destroy | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.avail_images | |
[DEBUG ] Could not LazyLoad saltify.avail_locations | |
[DEBUG ] LazyLoaded rackspace.reboot | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[DEBUG ] LazyLoaded rackspace.list_locations | |
The following virtual machines are set to be actioned with "rename": | |
d-uswest-ca-db01.momentfeed.com | |
Proceed? [N/y] y | |
... proceeding | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.destroy | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.avail_images | |
[DEBUG ] Could not LazyLoad saltify.avail_locations | |
[DEBUG ] LazyLoaded rackspace.reboot | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[DEBUG ] LazyLoaded rackspace.list_locations | |
[DEBUG ] Using AWS endpoint: ec2.us-west-1.amazonaws.com | |
[DEBUG ] AWS Request: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&Version=2014-10-01 | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.destroy | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.avail_images | |
[DEBUG ] Could not LazyLoad saltify.avail_locations | |
[DEBUG ] LazyLoaded rackspace.reboot | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[DEBUG ] LazyLoaded rackspace.list_locations | |
[DEBUG ] Using AWS endpoint: ec2.us-east-1.amazonaws.com | |
[DEBUG ] AWS Request: https://ec2.us-east-1.amazonaws.com/?Action=DescribeInstances&Version=2014-10-01 | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[INFO ] Starting new HTTPS connection (1): ec2.us-west-1.amazonaws.com | |
[DEBUG ] Setting read timeout to None | |
[DEBUG ] Setting read timeout to None | |
[DEBUG ] "GET /?Action=DescribeInstances&Version=2014-10-01 HTTP/1.1" 200 None | |
[DEBUG ] AWS Response Status Code: 200 | |
[DEBUG ] "GET /?Action=DescribeInstances&Version=2014-10-01 HTTP/1.1" 200 None | |
[DEBUG ] AWS Response Status Code: 200 | |
[DEBUG ] vm:p2-uswest-ca-content-arb-db01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p2-uswest-ca-events-db01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:q-uswest-ca-wapp02.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p2-uswest-ca-beanstalk03.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:q-uswest-ca-runner01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:s-uswest-ca-wapp01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p2-uswest-ca-analytics-db02.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p-uswest-ca-mobile01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p2-uswest-ca-runner07.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p2-uswest-ca-web04.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:p2-uswest-ca-web01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[DEBUG ] vm:q-uswest-ca-rt01.momentfeed.com in provider:ec2 is not in name list:set(['d-uswest-ca-db01.momentfeed.com']) | |
[ERROR ] There was an error actioning machines: 'NoneType' object has no attribute '__getitem__' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 245, in run | |
ret = mapper.do_action(names, kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1493, in do_action | |
vm_name, **kws | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/ec2.py", line 2902, in rename | |
log.info('Renaming {0} to {1}'.format(name, kwargs['newname'])) | |
TypeError: 'NoneType' object has no attribute '__getitem__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment