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

Saltify - existing Cloud instance but not working #60212

Open
nkrishnakishor opened this issue May 19, 2021 · 2 comments
Open

Saltify - existing Cloud instance but not working #60212

nkrishnakishor opened this issue May 19, 2021 · 2 comments
Assignees
Labels
Bug broken, incorrect, or confusing behavior info-needed waiting for more info Windows
Milestone

Comments

@nkrishnakishor
Copy link

Description
I have an Windows AWS instance and want to saltify it, configured required conf files and tried to run the command it is throwing error failed to start salt on host windows-server-2019.

Both the master and Windows minion are in same region.

Setup
Below are the profile and provider files

ubuntu@ip-172-31-34-78:/shared-path$ sudo vim /etc/salt/cloud.profiles.d/win-profile.conf
saltify-windows:
  provider: win-saltify
  ssh_host: <minion-public-IP>
  win_installer: /shared-path/Salt-Minion-3003-Py3-AMD64-Setup.exe
  win_username: Administrator
  win_password: 'M9&az@Hw72C2s3K$QYpdye=*%XZ2VBsq'
  use_winrm: True


ubuntu@ip-172-31-34-78:/shared-path$ sudo vim /etc/salt/cloud.providers.d/win-provider.conf
win-saltify:
  minion:
    master: <master-public-IP>
  driver: saltify

Steps to Reproduce the behavior
ubuntu@ip-172-31-34-78:/shared-path$ sudo salt-cloud -p saltify-windows Windows-Server-2019 -l debug

Enclosed debug 
[error-log.txt](https://github.com/saltstack/salt/files/6507211/error-log.txt)
log file

Expected behavior
Package should have installed on the windows minion.

Versions Report

salt --versions-report no version difference in master & minion
         Salt: 3003

Dependency Versions:
          cffi: Not Installed
      cherrypy: Not Installed
      dateutil: 2.7.3
     docker-py: Not Installed
         gitdb: 2.0.6
     gitpython: 3.0.7
        Jinja2: 2.10.1
       libgit2: Not Installed
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 0.6.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: Not Installed
      pycrypto: 2.6.1
  pycryptodome: 3.6.1
        pygit2: Not Installed
        Python: 3.8.5 (default, Jan 27 2021, 15:41:15)
  python-gnupg: 0.4.5
        PyYAML: 5.3.1
         PyZMQ: 18.1.1
         smmap: 2.0.5
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.2

System Versions:
          dist: ubuntu 20.04 focal
        locale: utf-8
       machine: x86_64
       release: 5.4.0-1045-aws
        system: Linux
       version: Ubuntu 20.04 focal
@nkrishnakishor nkrishnakishor added Bug broken, incorrect, or confusing behavior needs-triage labels May 19, 2021
@nkrishnakishor nkrishnakishor changed the title Saltify - Cloud instance already exists whereas it is newly created Saltify - existing Cloud instance but not working May 19, 2021
@sagetherage sagetherage added this to To do in Windows via automation May 19, 2021
@xeacott
Copy link
Contributor

xeacott commented Jun 21, 2021

Started to read into that log and there are a lot of errors, so let's break this down a bit... could you let me know your exact deployment steps? and also..

Could you try to install that exe locally via rdp on a test windows instance and connect to salt master manually to ensure connectivity?

That way we can figure out where the issue is exactly

@garethgreenaway
Copy link
Contributor

@nkrishnakishor Following up on this one and making sure you saw @xeacott's comments above?

@xeacott xeacott added info-needed waiting for more info and removed needs-triage labels Jul 26, 2021
@sagetherage sagetherage added this to the Blocked milestone Aug 3, 2021
@sagetherage sagetherage added this to To do in Backlog Refinement via automation Aug 3, 2021
@sagetherage sagetherage removed this from To do in Windows Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior info-needed waiting for more info Windows
Projects
Development

No branches or pull requests

5 participants