Skip to content
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

Azure: Gyro SSH/List doesn't show scaling set virtual machines. #114

Closed
tarpley opened this issue Feb 21, 2020 · 1 comment · Fixed by #117
Closed

Azure: Gyro SSH/List doesn't show scaling set virtual machines. #114

tarpley opened this issue Feb 21, 2020 · 1 comment · Fixed by #117
Assignees
Labels
enhancement New feature or request priority:high

Comments

@tarpley
Copy link

tarpley commented Feb 21, 2020

From @RichieHowell in GYRO-439:

When bringing up virtual machines through a scaling set in azure, I am unable to list the virtual machines in that scaling set through gyro list and gyro ssh does not give me those virtual machines as valid options.

gyro list prod/frontend.gyro
↓ Loading plugin: gyro:gyro-azure-provider:0.99.1-SNAPSHOT
↓ Loading plugin: gyro:gyro-brightspot-plugin:0.99.1-SNAPSHOT
↓ Loading plugin: gyro:gyro-ssh-plugin:0.99.1-SNAPSHOT

No instances found.

gyro ssh prod/frontend.gyro
↓ Loading plugin: gyro:gyro-azure-provider:0.99.1-SNAPSHOT
↓ Loading plugin: gyro:gyro-brightspot-plugin:0.99.1-SNAPSHOT
↓ Loading plugin: gyro:gyro-ssh-plugin:0.99.1-SNAPSHOT

No instances found.

Here is my frontend.gyro file with the scaling set. Let me know if you need anything else about the environment.

[I couldn't attach the file at this point because it is .gyro.]

Here is a gyro list of the backends to show it is not just gyro list in general not working for azure, it seems to be only when the virtual machines are brought up in a scaling set. This probably has to do with virtual machines brought up by scaling sets not being considered virtual machines by Azure even though they have all the characteristics of one.

gyro list prod/backend.gyro
↓ Loading plugin: gyro:gyro-azure-provider:0.99.1-SNAPSHOT
↓ Loading plugin: gyro:gyro-brightspot-plugin:0.99.1-SNAPSHOT
↓ Loading plugin: gyro:gyro-ssh-plugin:0.99.1-SNAPSHOT

+----------------------+--------------+----------------------+-------------------------------------------------------------------+
| Instance ID          | State        | Launch Date          | Hostname                                                          |
+----------------------+--------------+----------------------+-------------------------------------------------------------------+
| a0068218-b63c-4edd-bece-007fee8551d8 | PowerState/running | Mon Feb 17 15:31:14 EST 2020 | 10.0.0.132                                                        |
| bc3dc8a8-162a-4dc5-883f-76e9701a1ae9 | PowerState/running | Mon Feb 17 15:33:59 EST 2020 | 10.0.0.133                                                        |
| 4b2d383b-5dce-4f1b-988c-21ff9cc1e816 | PowerState/running | Mon Feb 17 15:37:06 EST 2020 | 10.0.0.134                                                        |
+----------------------+--------------+----------------------+-------------------------------------------------------------------+
@beetlebugorg
Copy link
Contributor

beetlebugorg commented Feb 21, 2020

This might actually be an Azure implementation issue. The azure::scale-set resource needs to implement GyroInstances, it currently does not implement this resource.

@beetlebugorg beetlebugorg transferred this issue from perfectsense/gyro-ssh-plugin Feb 21, 2020
@beetlebugorg beetlebugorg added enhancement New feature or request priority:high labels Feb 21, 2020
@deepanjan90 deepanjan90 self-assigned this Feb 28, 2020
@deepanjan90 deepanjan90 linked a pull request Feb 28, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants