vagrant-smartos / vagrant-smartos-zones

Manage SmartOS local zones in Vagrant
MIT License
54 stars 9 forks source link

create-gz-vnic service sometimes does not start before we attempt to access the GZ #16

Closed sax closed 9 years ago

sax commented 9 years ago
/.../vagrant/plugins/communicators/ssh/communicator.rb:435:in `shell_execute': undefined method `open_channel' for nil:NilClass (NoMethodError)
    from /.../vagrant-smartos-zones/lib/vagrant/smartos/zones/communicator/smartos.rb:41:in `block in gz_execute'
    from /.../vagrant-smartos-zones/lib/vagrant/smartos/zones/util/global_zone/connection.rb:89:in `with_connection'

This seems to happen much more often when the host is disconnected from the internet. So I suspect this has something to do with service order on startup.