-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
salt-cloud - Only 2 out of many ec2 providers are queried with -Q #55311
Comments
ping @saltstack/team-cloud any ideas here? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Thank you for updating this issue. It is no longer marked as stale. |
Does |
I've just tested it, it's still the case after the latest update:
Hey, thanks for looking into this ;) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
@Akm0d can you follow up here? |
Thank you for updating this issue. It is no longer marked as stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Up |
Thank you for updating this issue. It is no longer marked as stale. |
Same issue here while deploying cross account EC2. It successfully assumes cross account role, is able to describe the Subnet, but on the second call when creating NetworkInterfaces, it fails to find the Subnet in that account, even though the subnet exists.
Versions report
|
Did you find the solution?
|
Description of Issue
I've just started with salt-cloud. I've created a single file with a number of providers (we use subaccounts, every provider is an account, all the account have a role allowing admin privileges to the instance).
salt-cloud --list-providers
is correctly reporting all the providers. When I trysalt-cloud -Q
only instances from 2 providers, apparently picked randomly among providers, are shown. Basically, if each of the 5 providers has 5 instances, query would show 10 instances instead of 25.I've tried
-l debug
and only 2 (sometimes even 1) endpoints are shown, as if the query isn't really trying to list the others. This is the end of the debug:Interestingly, if I remove one of the provider successfully queried from my list in
/etc/salt/cloud.providers.d
, another provider takes its place and still just 2 (or 1) providers are queried.I don't know if it's related, but when I try terminating one of the instances from a working provider Salt successfully find the host, but then it's like losing it again:
I've tried:
I've found this out because I was trying to delete an instance created with salt-cloud but salt couldn't find it, and it did when I've left only that provider in
/etc/salt/cloud.providers.d/aws.conf
.Setup
OS:
CentOS Linux release 7.7.1908 (Core)
salt-cloud version:
salt-cloud 2019.2.2 (Fluorine)
Providers in
/etc/salt/cloud.providers.d/aws.conf
:Steps to Reproduce Issue
salt-cloud --list-providers
to check the providers andsalt-cloud -Q
to query all the instances. Expected behaviour is to see all instances from all providers listed. Instead, I get only instances from 2 providers.Versions Report
The text was updated successfully, but these errors were encountered: