There are not enough logs in case "oc extract" is stuck in mco first boot
@@ -323,7 +323,7 @@ func ExtractOSImage(imgURL string) (osImageContentDir string, err error) {
}
// Extract the image
- args := []string{"image", "extract", "--path", "/:" + osImageContentDir}
+ args := []string{"image", "extract", "-v", "10", "--path", "/:" + osImageContentDir}
args = append(args, registryConfig...)
args = append(args, imgURL)
if _, err = pivotutils.RunExtBackground(cmdRetriesCount, "oc", args...); err != nil {
@@ -355,7 +355,7 @@ func ExtractExtensionsImage(imgURL string) (osExtensionsImageContentDir string,
}
// Extract the image
- args := []string{"image", "extract", "--path", "/:" + osExtensionsImageContentDir}
+ args := []string{"image", "extract", "-v", "10", "--path", "/:" + osExtensionsImageContentDir}
args = append(args, registryConfig...)
args = append(args, imgURL)
if _, err = pivotutils.RunExtBackground(cmdRetriesCount, "oc", args...); err != nil {
