Advertisement
Guest User

isi_dsp_install stuck in Installing state if no_SSD version

a guest
Feb 18th, 2018
1,237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.45 KB | None | 0 0
  1.  
  2. Issue The No_SSD version of the DSP package is only intended for specific OneFS versions, as per the warning displayed:
  3.  
  4. Drive_Support_v1.11_No_SSD.tgz
  5.  
  6. Contains updates similar to the previous releases, but does not include SSD firmware updates for the following drives and is applicable only for clusters running OneFS versions 7.1.1.0 through 7.1.1.3 and OneFS versions 7.2.0.0 through 7.2.0.1:
  7. - Any HGST HUSMM16x0ASS20x series
  8. - Any HGST HUSMM80x0ASS20x series
  9. - Any HGST HUSSL40x0ASS600 series
  10. - Any HGST HUSSL40x0BSS600 series
  11. - Any Micron RealSSD P300 series
  12. - STEC M8ISB2B 200UC
  13. - STEC MACH8 IOPS
  14.  
  15. If customers ignore the warning and attempt to install this DSP variant on OneFS 8.0, it will still attempt to install, but the installation will fail with the following error:
  16.  
  17. Patch install has been requested for patch Drive_Support_v1.11_No_SSD
  18.  
  19. WARNING: /ifs/data/Drive_Support_v1.11_No_SSD.tar is not installed
  20. DSP Install Failed, 647.604293108 sec elapsed
  21.  
  22. When patch status is subsequently checked, the DSP install will continue to show as being in progress, even though it has already failed (relevant lines bolded for emphasis):
  23.  
  24. # isi_dsp_install --latest
  25. ERROR: The upgrade system is busy processing another request.
  26.  
  27. # isi upgrade view
  28.  
  29. Upgrade Status:
  30.  
  31. Cluster Upgrade State: committed
  32. Current Upgrade Activity: Package
  33. Upgrade Start Time: 2016-06-21T15:19:25
  34. Patch Action: INSTALL
  35. Patch Name: Drive_Support_v1.11_No_SSD
  36. Current OS Version: 8.0.0.0_build(37)style(5)
  37. Upgrade OS Version: N/A
  38.  
  39. # isi upgrade patches list
  40. Patch Name Description Status
  41. -----------------------------------------------------------
  42. Drive_Support_v1.11_No_SSD Drive Support Package Installing
  43. -----------------------------------------------------------
  44.  
  45. The isi_pkg log file will show the following errors:
  46.  
  47. # isi_for_array -s 'tail /var/log/isi_pkg'
  48. X-1: 2016-08-02T11:29:30-04:00 <3.6> RTPIsilon01-1 isi_pkg[3399]: Received new request (action:'install', patch:'/ifs/data/Drive_Support_v1.11_No_SSD.tgz', opts:0,0,0)
  49. X-1: 2016-08-02T11:29:30-04:00 <3.3> RTPIsilon01-1 isi_pkg[3399]: isi_pkg_file_cmd: could not perform '/usr/bin/tar -xp -z -f '/ifs/data/Drive_Support_v1.11_No_SSD.tgz' '+*''
  50. X-1: 2016-08-02T11:29:30-04:00 <3.4> RTPIsilon01-1 isi_pkg[3399]: Failed to unpack patch file /ifs/data/Drive_Support_v1.11_No_SSD.tgz
  51. X-1: 2016-08-02T11:29:30-04:00 <3.3> RTPIsilon01-1 isi_pkg[3399]: New request failed with error: failed to locate the patch: /ifs/data/Drive_Support_v1.11_No_SSD.tgz
  52. X-1: 2016-08-02T11:30:11-04:00 <3.6> RTPIsilon01-1 isi_pkg[3467]: Received new request (action:'install', patch:'/ifs/data/Drive_Support_v1.11_No_SSD.tar', opts:0,0,0)
  53. X-1: 2016-08-02T11:30:25-04:00 <3.6> RTPIsilon01-1 isi_pkg[3496]: Syncing patch data from node 1
  54. X-1: 2016-08-02T11:30:30-04:00 <3.6> RTPIsilon01-1 isi_pkg[3514]: Starting task for request 'INSTALL', task 'INSTALL_INIT', hash 'e0102946ea3e53b5fdb79dec305d383f'
  55. X-1: 2016-08-02T11:30:33-04:00 <3.6> RTPIsilon01-1 isi_pkg[3514]: Running requirements file first for Drive_Support_v1.11_No_SSD..
  56. X-1: 2016-08-02T11:30:33-04:00 <3.3> RTPIsilon01-1 isi_pkg[3514]: install_init: Node failed patch requirements check
  57. X-1: 2016-08-02T11:30:33-04:00 <3.6> RTPIsilon01-1 isi_pkg[3514]: Syncing patch data from node 1
  58. X-2: 2016-06-27T18:17:54-04:00 <3.6> RTPIsilon01-2 isi_pkg[19147]: Syncing patch data from node 2
  59. X-2: 2016-07-05T18:29:50-04:00 <3.6> RTPIsilon01-2 isi_pkg[4792]: Syncing patch data from node 2
  60. X-2: 2016-07-05T18:29:50-04:00 <3.6> RTPIsilon01-2 isi_pkg[4808]: Syncing patch data from node 2
  61. X-2: 2016-07-05T18:29:57-04:00 <3.6> RTPIsilon01-2 isi_pkg[5059]: Syncing patch data from node 2
  62. X-2: 2016-07-06T02:09:46-04:00 <3.6> RTPIsilon01-2 isi_pkg[20815]: Syncing patch data from node 2
  63. X-2: 2016-08-02T11:30:25-04:00 <3.6> RTPIsilon01-2 isi_pkg[17858]: Syncing patch data from node 2
  64. X-2: 2016-08-02T11:30:30-04:00 <3.6> RTPIsilon01-2 isi_pkg[17875]: Starting task for request 'INSTALL', task 'INSTALL_INIT', hash 'e0102946ea3e53b5fdb79dec305d383f'
  65. X-2: 2016-08-02T11:30:34-04:00 <3.6> RTPIsilon01-2 isi_pkg[17875]: Running requirements file first for Drive_Support_v1.11_No_SSD..
  66. X-2: 2016-08-02T11:30:38-04:00 <3.3> RTPIsilon01-2 isi_pkg[17875]: install_init: Node failed patch requirements check
  67. X-2: 2016-08-02T11:30:38-04:00 <3.6> RTPIsilon01-2 isi_pkg[17875]: Syncing patch data from node 2
  68. X-3: 2016-07-05T18:29:33-04:00 <3.4> RTPIsilon01-3 isi_pkg[4256]: Failed to sync data from node 3
  69. X-3: 2016-07-05T18:29:54-04:00 <3.6> RTPIsilon01-3 isi_pkg[4975]: Syncing patch data from node 3
  70. X-3: 2016-07-05T18:30:01-04:00 <3.6> RTPIsilon01-3 isi_pkg[5180]: Syncing patch data from node 3
  71. X-3: 2016-07-06T02:09:51-04:00 <3.6> RTPIsilon01-3 isi_pkg[3012]: Syncing patch data from node 3
  72. X-3: 2016-07-06T02:09:51-04:00 <3.6> RTPIsilon01-3 isi_pkg[3021]: Syncing patch data from node 3
  73. X-3: 2016-08-02T11:30:25-04:00 <3.6> RTPIsilon01-3 isi_pkg[77806]: Syncing patch data from node 3
  74. X-3: 2016-08-02T11:30:30-04:00 <3.6> RTPIsilon01-3 isi_pkg[77816]: Starting task for request 'INSTALL', task 'INSTALL_INIT', hash 'e0102946ea3e53b5fdb79dec305d383f'
  75. X-3: 2016-08-02T11:30:34-04:00 <3.6> RTPIsilon01-3 isi_pkg[77816]: Running requirements file first for Drive_Support_v1.11_No_SSD..
  76. X-3: 2016-08-02T11:30:35-04:00 <3.3> RTPIsilon01-3 isi_pkg[77816]: install_init: Node failed patch requirements check
  77. X-3: 2016-08-02T11:30:35-04:00 <3.6> RTPIsilon01-3 isi_pkg[77816]: Syncing patch data from node 3
  78.  
  79. Cause A mechanism was put in place in OneFS 7.x to prevent both the normal and the No_SSD versions of the DSP from installing on their respective unsupported OneFS versions, since using the normal DSP on OneFS versions 7.1.1.0-7.1.1.3 and 7.2.0.0-7.2.0.1 can cause data loss if the cluster is in L3 cache mode (bug 145206/ETA 200097). This bug was resolved before OneFS 8.0 was released, so the normal DSP (with SSD firmware) should be used on all OneFS 8.0 versions. However the mechanism that prevents the unsupported DSP version (in this case, the No_SSD variant) from installing appears to be broken in OneFS 8.0, causing this issue.
  80. Resolution
  81. NOTE: This is a manual workaround to resolve the partially installed patch condition, which requires interaction with the OneFS CLI at an advanced level. If you are not familiar or confident with the OneFS CLI or your ability to enter and execute a provided Python script in real-time, please do not proceed and contact a coach or SME for assistance.
  82.  
  83. 1. Abort and archive the current patch process:
  84.  
  85. # isi upgrade patches abort
  86.  
  87. You are about to attempt to abort the currently running Patch process. Are you sure? (yes/[no]): yes
  88. The Patch Request has been aborted, please run 'isi upgrade cluster archive --clear' to clean up the request.
  89.  
  90. # isi upgrade cluster archive --clear
  91.  
  92. You are about to produce an Archive of the Upgrade Frameworks current state. This will interrupt the Upgrade process until done. Would you like to continue?? (yes/[no]): yes
  93.  
  94. The requested Archive will not only produce an Archive, but will also clear the currently Upgrade process. This is not recoverable once done, are you sure you would like to do this?? (yes/[no]): yes
  95.  
  96. Archive Request initiated.
  97.  
  98.  
  99. 2. Verify the patch process is no longer running:
  100.  
  101. # isi upgrade view
  102.  
  103. Upgrade Status:
  104.  
  105. Cluster Upgrade State: committed
  106. Current Upgrade Activity: -
  107. Upgrade Start Time: 2016-06-21T15:19:25
  108. Current OS Version: 8.0.0.0_build(37)style(5)
  109. Upgrade OS Version: N/A
  110.  
  111.  
  112. 3. Verify that you still see the patch in the Installing state:
  113.  
  114. # isi upgrade patches list
  115. Patch Name Description Status
  116. -----------------------------------------------------------
  117. Drive_Support_v1.11_No_SSD Drive Support Package Installing
  118. -----------------------------------------------------------
  119. Total: 1
  120.  
  121. 4. Start Python, then type in or copy the provided script exactly (do not retype the '>>>', these are prompts generated by the python command):
  122.  
  123.  
  124. NOTE: The package name below is an example. You should use the package name shown in the output in step 3.
  125.  
  126. *** For OneFS 8.0.0.x, do the following: ***
  127. # python
  128.  
  129. >>> import os
  130. >>> import isi.misc
  131. >>> os.environ["PKG_ALLOW_RESTRICTED"] = "true"
  132. >>> rc=isi.misc.pkg_request('delete','Drive_Support_v1.11_No_SSD',False, False, False)
  133.  
  134. ** The text Drive_Support_v1.11_No_SSD should be replaced depending on the No_SSD package you are trying to remove, since you might be dealing with a different version other than 1.11
  135.  
  136. The node will respond with the following output:
  137.  
  138. Patch delete has been requested for patch Drive_Support_v1.11_No_SSD
  139.  
  140. Once this is done, exit Python:
  141.  
  142. >>> quit()
  143.  
  144. *** For OneFS 8.0.1.x, do the following: ***
  145. # python
  146.  
  147. >>> import os
  148. >>> import isi.patch
  149. >>> os.environ["PKG_ALLOW_RESTRICTED"] = "true"
  150. >>> rc=isi.patch.pkg_request('delete','Drive_Support_v1.14_No_SSD',False, False, False)
  151.  
  152. ** The text Drive_Support_v1.14_No_SSD should be replaced depending on the No_SSD package you are trying to remove, since you might be dealing with a different version other than 1.14
  153.  
  154. The node will respond with the following output:
  155.  
  156. Patch delete has been requested for patch Drive_Support_v1.14_No_SSD
  157.  
  158. Once this is done, exit Python:
  159.  
  160. >>> quit()
  161.  
  162.  
  163.  
  164. 5. Verify that patch is no longer listed as being in progress:
  165.  
  166. # isi upgrade patch list
  167. Patch Name Description Status
  168. -----------------------------
  169. -----------------------------
  170. Total: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement