jogjacamp / vagrant-xenserver-jc

A Vagrant provider for XenServer
MIT License
0 stars 0 forks source link

when using HIMN, WaitForCommunicator always fail when vm booted for the first time #1

Closed chenull closed 7 years ago

chenull commented 7 years ago

No time to fix this for now, had another project in a rush. For now, sleep 20 should do the trick. The code is in wait_himn.rb

chenull commented 7 years ago

DONE

Bringing machine 'muson-amqp1' up with 'xenserver' provider...
Bringing machine 'muson-amqp2' up with 'xenserver' provider...
Bringing machine 'muson-ct' up with 'xenserver' provider...
Bringing machine 'muson-net' up with 'xenserver' provider...
Bringing machine 'muson-dash' up with 'xenserver' provider...
Bringing machine 'muson-db1' up with 'xenserver' provider...
Bringing machine 'muson-db2' up with 'xenserver' provider...
Bringing machine 'muson-db3' up with 'xenserver' provider...
Bringing machine 'muson-saltmaster' up with 'xenserver' provider...
==> muson-amqp1: Waiting for machine to boot. This may take a few minutes...
    muson-amqp1: SSH address: 169.254.0.2:22
    muson-amqp1: SSH username: vagrant
    muson-amqp1: SSH auth method: private key
==> muson-amqp1: Machine booted and ready!
==> muson-amqp1: Setting hostname...
==> muson-amqp1: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> muson-amqp1: flag to force provisioning. Provisioners marked to run always will still run.
==> muson-ct: Waiting for machine to boot. This may take a few minutes...
    muson-ct: SSH address: 169.254.0.3:22
    muson-ct: SSH username: vagrant
    muson-ct: SSH auth method: private key
==> muson-db1: Waiting for machine to boot. This may take a few minutes...
    muson-db1: SSH address: 169.254.0.4:22
    muson-db1: SSH username: vagrant
    muson-db1: SSH auth method: private key
    muson-ct:
    muson-ct: Vagrant insecure key detected. Vagrant will automatically replace
    muson-ct: this with a newly generated keypair for better security.
==> muson-db2: Waiting for machine to boot. This may take a few minutes...
==> muson-db3: Waiting for machine to boot. This may take a few minutes...
    muson-db2: SSH address: 169.254.0.5:22
    muson-db2: SSH username: vagrant
    muson-db2: SSH auth method: private key
    muson-db3: SSH address: 169.254.0.6:22
    muson-db3: SSH username: vagrant
    muson-db3: SSH auth method: private key
==> muson-amqp2: Waiting for machine to boot. This may take a few minutes...
    muson-amqp2: SSH address: 169.254.0.7:22
    muson-amqp2: SSH username: vagrant
    muson-amqp2: SSH auth method: private key
    muson-db1:
    muson-db1: Vagrant insecure key detected. Vagrant will automatically replace
    muson-db1: this with a newly generated keypair for better security.
==> muson-dash: Waiting for machine to boot. This may take a few minutes...
==> muson-saltmaster: Waiting for machine to boot. This may take a few minutes...
==> muson-net: Waiting for machine to boot. This may take a few minutes...
    muson-dash: SSH address: 169.254.0.9:22
    muson-dash: SSH username: vagrant
    muson-dash: SSH auth method: private key
    muson-saltmaster: SSH address: 169.254.0.8:22
    muson-saltmaster: SSH username: vagrant
    muson-saltmaster: SSH auth method: private key
    muson-net: SSH address: 169.254.0.10:22
    muson-net: SSH username: vagrant
    muson-net: SSH auth method: private key
    muson-db3:
    muson-db3: Vagrant insecure key detected. Vagrant will automatically replace
    muson-db3: this with a newly generated keypair for better security.
    muson-db2:
    muson-db2: Vagrant insecure key detected. Vagrant will automatically replace
    muson-db2: this with a newly generated keypair for better security.
    muson-amqp2:
    muson-amqp2: Vagrant insecure key detected. Vagrant will automatically replace
    muson-amqp2: this with a newly generated keypair for better security.
    muson-net:
    muson-net: Vagrant insecure key detected. Vagrant will automatically replace
    muson-net: this with a newly generated keypair for better security.
    muson-saltmaster:
    muson-saltmaster: Vagrant insecure key detected. Vagrant will automatically replace
    muson-saltmaster: this with a newly generated keypair for better security.
    muson-dash:
    muson-dash: Vagrant insecure key detected. Vagrant will automatically replace
    muson-dash: this with a newly generated keypair for better security.
    muson-ct:
    muson-ct: Inserting generated public key within guest...
    muson-ct: Removing insecure key from the guest if it's present...
    muson-db1:
    muson-db1: Inserting generated public key within guest...
    muson-ct: Key inserted! Disconnecting and reconnecting using new SSH key...
    muson-db1: Removing insecure key from the guest if it's present...
    muson-db2:
    muson-db2: Inserting generated public key within guest...
    muson-amqp2:
    muson-amqp2: Inserting generated public key within guest...
    muson-db3:
    muson-db3: Inserting generated public key within guest...
    muson-db1: Key inserted! Disconnecting and reconnecting using new SSH key...
    muson-db2: Removing insecure key from the guest if it's present...
    muson-amqp2: Removing insecure key from the guest if it's present...
==> muson-ct: Machine booted and ready!
==> muson-ct: Setting hostname...
    muson-db3: Removing insecure key from the guest if it's present...
    muson-dash:
    muson-dash: Inserting generated public key within guest...
    muson-db2: Key inserted! Disconnecting and reconnecting using new SSH key...
    muson-saltmaster:
    muson-saltmaster: Inserting generated public key within guest...
    muson-net:
    muson-net: Inserting generated public key within guest...
    muson-amqp2: Key inserted! Disconnecting and reconnecting using new SSH key...
    muson-db3: Key inserted! Disconnecting and reconnecting using new SSH key...
==> muson-db1: Machine booted and ready!
==> muson-db1: Setting hostname...
    muson-net: Removing insecure key from the guest if it's present...
    muson-dash: Removing insecure key from the guest if it's present...
    muson-saltmaster: Removing insecure key from the guest if it's present...
==> muson-db2: Machine booted and ready!
==> muson-db2: Setting hostname...
    muson-net: Key inserted! Disconnecting and reconnecting using new SSH key...
    muson-dash: Key inserted! Disconnecting and reconnecting using new SSH key...
    muson-saltmaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> muson-db3: Machine booted and ready!
==> muson-db3: Setting hostname...
==> muson-amqp2: Machine booted and ready!
==> muson-amqp2: Setting hostname...
==> muson-dash: Machine booted and ready!
==> muson-dash: Setting hostname...
==> muson-net: Machine booted and ready!
==> muson-net: Setting hostname...
==> muson-saltmaster: Machine booted and ready!
==> muson-saltmaster: Setting hostname...