我需要从Openshift Online中的另一个名称空间访问RabbitMQ服务。
当我使用以下命令时:
oc adm pod-network join-projects --to=<project1> <project2> <project3>
我收到此错误:
failed to fetch current network plugin info
是否可以从Openshift Online中的另一个名称空间访问服务?
注意:此处的目的不是加入项目。这只是我们选择的一种方式。目的是从另一个名称空间访问服务。
答案 0 :(得分:0)
当您未登录oc控制台时,有时会出现此错误(“无法获取当前网络插件信息”)。 在加入POD网络之前,尝试登录终端,例如:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim controlRng, nRng As Range
Set controlRng = Range("AD12") ' This the range of cells which I have defined to be my dropdown cells.
Set nRng = Intersect(controlRng, Target) ' Find out if any of the dropdown cells have been changed
lastrow = Sheets("Planning").Range("A65536").End(xlUp).Row + 1
If nRng Is Nothing Then Exit Sub ' None of the dropdown cells have changed so no need to do anything further
If Target.Value = "Apr-20" Then
Range("AH10:AH30").Copy
Sheets("Planning").Range("C" & lastrow).PasteSpecial xlPasteValues ' Copy and paste values to next available rows in destination sheet
ElseIf Target.Value = "May-20" Then
Range("AH10:AH30").Copy
Sheets("Planning").Range("D" & lastrow).PasteSpecial xlPasteValues ' Copy and paste values to next available rows in destination sheet
ElseIf Target.Value = "Jun-20" Then
Range("AH10:AH30").Copy
Sheets("Planning").Range("E" & lastrow).PasteSpecial xlPasteValues ' Copy and paste values to next available rows in destination sheet
ElseIf Target.Value = "Jul-20" Then
Range("AH10:AH30").Copy
Sheets("Planning").Range("F" & lastrow).PasteSpecial xlPasteValues ' Copy and paste values to next available rows in destination sheet
ElseIf Target.Value = "Aug-20" Then
Range("AH10:AH30").Copy
Sheets("Planning").Range("G" & lastrow).PasteSpecial xlPasteValues ' Copy and paste values to next available rows in destination sheet
Else
'Manual entry
End If
End Sub
或者只是没有使用用户密码的令牌。