The following exception was thrown by libcloud when trying to run the initial deployment: 400 Invalid input for field/attribute key_name. Value: None. None is not of type 'string'
This file contains hidden or 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
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = 1024 | |
end | |
config.vm.define :master do |master_config| | |
master_config.vm.box = "bento/centos-7.2" | |
master_config.vm.host_name = 'saltmaster.local' |
This file contains hidden or 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
Failed to execute 'openstack.list_nodes()' while querying for running nodes: <LibcloudError in None 'Could not find specified endpoint'> | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/salt/cloud/__init__.py", line 2369, in run_parallel_map_providers_query | |
cloud.clouds[data['fun']]() | |
File "/usr/lib/python2.7/site-packages/salt/cloud/libcloudfuncs.py", line 448, in list_nodes | |
nodes = conn.list_nodes() | |
File "/usr/lib/python2.7/site-packages/libcloud/compute/drivers/openstack.py", line 177, in list_nodes | |
self.connection.request('/servers/detail', params=params).object) | |
File "/usr/lib/python2.7/site-packages/libcloud/common/openstack.py", line 227, in request | |
raw=raw) |
[root@saltmaster minions]# salt-run manage.status
down:
- syndic
up:
- minion1
I need to wait for a file (in this case /etc/hosts
) to be updated.
The current thought is that it may take up to 30mins for this file to be updated. Naturally, wait_for_event seemed the logical fit given the
timeout` option.
With that said, i wanted to test out beacons and reactors to handle this. Seemed worthwhile. So i created a little test.
I've dropped a beacon on minion1
and have it watching modify on /etc/hosts
. When I copy in a new hosts file on minion1,
the beacon picks it up as expected and drops an event on the event bus. All is well there.
However, wait_for_event
never sees the event. the orch run times out.
NewerOlder