|
Ran
|
Jobs
1
|
Files
95
|
Run time
4s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/xapi-project/sm/commit/<a class=hub.com/xapi-project/sm/commit/2a5bc6db2fa6678367c82685b7dec99bc32d339a">2a5bc6db2<a href="https://github.com/xapi-project/sm/commit/2a5bc6db2fa6678367c82685b7dec99bc32d339a">">CA-257740: Fix HA broken for NFS Commit </a><a class="double-link" href="https://github.com/xapi-project/sm/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/xapi-project/sm/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/xapi-project/sm/commit/<a class=hub.com/xapi-project/sm/commit/<a class="double-link" href="https://git"><a class=hub.com/xapi-project/sm/commit/8a19f82dcf7d6e1737908f7e2380bdb216404991">8a19f82dc">8a19f82dc</a><a href="https://github.com/xapi-project/sm/commit/2a5bc6db2fa6678367c82685b7dec99bc32d339a"> had introduced a regression causing attach_from_config to fail, meaning the host would not boot properly with HA enabled since the attach static VDI would fail and ha_start_daemon would fail as well because there would not be any static VDI attached. Before 8a19f82dcf7d6e1737908f7e2380bdb216404991 FileVDI.load was failing during attach_from_config since the SR was not mounted but managed to set 'self.path = raw_path' before failing. After 8a19f82dcf7d6e1737908f7e2380bdb216404991 FileVDI.load was still failing during attach_from_config since the SR was not mounted but it was leaving 'self.path = None' This commit is fixing the problem by checking if 'self.path is None' and calling self._find_path_with_retries() again to set the path after the SR is mounted. Signed-off-by: Stefano Panella <stefano.panella@citrix.com> Signed-off-by: Mark Syms <mark.syms@citrix.com> Signed-off-by: Edvin Torok <edvin.torok@citrix.com> Reviewed-by: Edwin Török <edvin.torok@citrix.com></a>
817 of 6335 branches covered (12.9%)
6970 of 20722 relevant lines covered (33.64%)
0.34 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 527.1 | 0 |
33.64 |
Travis Job 527.1 |