miasma-lxd 0.1.8 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9794a53e20f4c2d80d3673eef0cf1809c9ea8950
4
- data.tar.gz: 3b22faf5acedb0fca9055144a358ef9993e6feba
3
+ metadata.gz: f9568842e85be720ce8d53176e401922a1719fc9
4
+ data.tar.gz: 2607bf4eab32294a85ac4e01522585f21eb6917c
5
5
  SHA512:
6
- metadata.gz: edde473301a90f4e5b1714b78a28383e9ff0ef4aed231e4a1d402eb917773851f5296482d0aa3701c4ab20a8bd996ee26972cb2b16cded994d82852d054461fc
7
- data.tar.gz: 0f440f7434217338cd1f0db19f342421ae747e60c9ea4d8da30a4c9c1b7ec213e46db5e9b557596d313f65005032d8e32e1cbd144cd1c36126b284700f57fdef
6
+ metadata.gz: 4df92725f16e72f9ab8af84d847af602d3a425d66b9fed29641025bc7ac4ad5d7c971c241669f1abe8be1b84003fc75a11fd11c6bcd5fd0403dae7da01b6e344
7
+ data.tar.gz: ec133748d58908bd701f09d01fb7979a2a7cc7eb743d1a016ad0b2745bbcb7ef1dbea6d76a439ba3c5955faf3ec9099d68811e16f19c8ebf9af446f2ec3b27fc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.1.10
2
+ * Make create -> start transition more stable
3
+
1
4
  # v0.1.8
2
5
  * Proper set server id prior to reload on start
3
6
 
@@ -1,4 +1,4 @@
1
1
  module MiasmaLxd
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.1.8')
3
+ VERSION = Gem::Version.new('0.1.10')
4
4
  end
@@ -112,7 +112,9 @@ module Miasma
112
112
  }
113
113
  }
114
114
  )
115
- wait_for_operation(result.get(:body, :operation))
115
+ wait_for_operation(result.get(:body, :operation), 60)
116
+ server.id = server.name
117
+ server.reload
116
118
  until(server.state == :running || server.state == :terminated)
117
119
  request(
118
120
  :path => "containers/#{server.name}/state",
@@ -123,7 +125,6 @@ module Miasma
123
125
  }
124
126
  )
125
127
  wait_for_operation(result.get(:body, :operation), 60)
126
- server.id = server.name
127
128
  server.reload
128
129
  end
129
130
  if(server.state == :terminated)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma-lxd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts