Ich habe Saltsatck (Salz-Master) auf meiner virtuellen Maschine installiert und auch Proxmox (Cloud) auf einer anderen virtuellen Maschine installiert. Sie sind beide im selben Netzwerk. Salt-Master und Proxmox laufen erfolgreich.Ich kann keine VM/Instanz in Proxmox von Salt-Master starten
Whenever I run the below command :-
# salt-cloud -p my-proxmox-config mytest
I get the following output :-
[INFO ] salt-cloud starting
[INFO ] Starting new HTTPS connection (1): 192.168.2.245
[INFO ] Creating Cloud VM mytest
[ERROR ] Error creating mytest on PROXMOX
The following exception was thrown when trying to run the initial deployment:
Error: There was a profile error: Failed to deploy VM
Please look at the below config files :-
1. /etc/salt/cloud.providers.d/proxmox.conf
proxmox-config:
user: [email protected] or [email protected]
password: oodles
url: 192.168.2.245
driver: proxmox
verify_ssl: False
minion:
master: 192.168.2.228
2. /etc/salt/cloud.profiles.d/proxmox.conf
my-proxmox-config :
provider: proxmox-config
image: /root/ISO/ubuntu-14.04-server-amd64.iso
technology: kvm/Openvz
host: cloud
ip_address: 192.168.2.245
ssh_username: root
password: oodles
cpus: 1
memory: 512
swap: 512
disk: 2
nameserver: 8.8.8.8 8.8.4.4
Please suggest/advice me what to correct from my configurations file .
Thanks
Können Sie bitte die folgende Ausgabe zur Verfügung stellen? 'Salz-Wolke --list-Bilder Proxmox-config' –
Hallo, Wenn ich laufen # salz Wolke --list-Bilder Proxmox-config Ich bin unten Ausgabe bekommen: - [INFO] salt-cloud start [INFO] Neue HTTPS-Verbindung wird gestartet (1): 192.168.2.245 [ERROR] Fehler beim Abrufen der Ausgabe von 'proxmox.avail_images()': Objekt 'NoneType' hat kein Attribut '__getitem__' proxmox- config: ---------- Danke – User5901
Bitte überprüfen Sie alle Ihre YAML-Konfiguration mit einem Yam-Meta-Schema-Checker. Dies ist die erste Diagnose, die Sie durchführen müssen, bevor Sie das Problem mit dem Salzstapel beheben können: http://stackoverflow.com/questions/35778890/no-matching-sls-found-for-php-apps-in-env-base/35802507#35802507 – mootmoot