Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Merge dev GA v1.0.0 to master branch #176

Merged
merged 118 commits into from
Dec 19, 2017
Merged

Merge dev GA v1.0.0 to master branch #176

merged 118 commits into from
Dec 19, 2017

Conversation

shay-berman
Copy link
Contributor

@shay-berman shay-berman commented Dec 19, 2017

This change is Reviewable

midoblgsm and others added 30 commits September 5, 2017 12:36
Signed-off-by: Mohamed Mohamed <[email protected]>
Signed-off-by: Mohamed Mohamed <[email protected]>
Changed the image to point to artifactory

Signed-off-by: Mohamed Mohamed <[email protected]>
 #99: add credentials to all requests
…ment.

add placeholder in the ubiquity IMAGE
 #99: add credentials to all requests
 #99: add credentials to all requests
Signed-off-by: Mohamed Mohamed <[email protected]>
Signed-off-by: Mohamed Mohamed <[email protected]>
Signed-off-by: Mohamed Mohamed <[email protected]>
 #104: use TLS certificates in server
tzurE and others added 18 commits December 1, 2017 01:58
Identify the mp device via sg_inq (wwn) in case the wwn not show up in the multipath -ll output
* Improve umount tolerance: umount should not fail if the device is already not mounted

* Improve Cleanup multipath tolerance: Cleanup should not fail if mp device is not exist

* change verify is mounted by using mount command instead of umount error msg (based Ran comment)

* Updated the flow of umount to first try umount, only if err returns we try to see if it's already unmounted

* Small info msg fix
…tipath -ll (#164)

* Added validity check for wwn of found volume in discover. added unittests.

* Validity checks - review issues.
#166)

* Added a timeout for an execute call, and a timeout for sg_inq. + unittests

* review issues

* Replaced timeout with our own timeout

* No sleep in timeout

* Added more wait for async select function

* Added return stmnt inside select channel

* fix the command with timeout

* Changed the waiting time.
…unmount flow) (#167)

* Increase mpath and rescan lock from 100 to 500ms

* Do NOT run discover during unmount(to reduce bad logging to find volume that was unmaped already)

* Fix wrong debug message in rescanLock

* Fix message from Debug to Error when discover doesn't find WWN in multipath -ll (usually the multipath WWN bad thing)
…ginq_flow

Align text in debug messages during sg_inq flow. Use Debug instead of…
* Legal : Add Apache LICENSE and NOTICES files into /root of the ubiquity image (Dockerfile)
…(Dockerfile)

 Note: assume the same LICENSE copied from repo/LICENSE inside the scripts/ubiquity-postgresql directory before docker build
Add Apache LICENSE and NOTICES files into / of the ubiquity-db image …
…only for IBM devices (PR #171)

Improve performance for mpath Discovery method - no need to do deepDiscovery during Attachment. More details:
1. Do NOT do sg_inq deepDiscovery during the RescanAll in the attach flow.
   Its waist of time to do deepDiscovery in this case, since its already done after the RescanAll when discovering the new device.

2. Do sg_inq deepDiscovery only in the following cases:
  1.2.1. During the attach after the RescanAll
  1.2.2. When Discover for cleanup(unmount flow).

3. Remove double sg_inq validation if discover during deepDiscovery

4. Remove Stat(mpath) validation during Discover, since its already validated during GetWwnByScsiInq() or DiscoverBySgInq()

5. Fix interfaces, UT and fakes according (Still need to add more UT)

In addition: 
This commit also improve the DiscoverBySgInq - by go though only IBM devices. So in many cases a faulty mpath device will not have vendor IBM on it, so it will skip faulty devices as well.
@coveralls
Copy link

Coverage Status

Coverage increased (+6.2%) to 54.801% when pulling c94b05f on dev into ea2e066 on master.

@ranhrl
Copy link
Collaborator

ranhrl commented Dec 19, 2017

:lgtm:


Review status: 0 of 84 files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@ranhrl
Copy link
Collaborator

ranhrl commented Dec 19, 2017

Reviewed 84 of 84 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@alonm
Copy link
Contributor

alonm commented Dec 19, 2017

:lgtm:


Comments from Reviewable

@alonm
Copy link
Contributor

alonm commented Dec 19, 2017

Reviewed 84 of 84 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@shay-berman
Copy link
Contributor Author

Reviewed 74 of 84 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@shay-berman shay-berman merged commit 292ad70 into master Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants