You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 68cf2ba
Browse filesBrowse the repository at this point in the historyBrowse files
Frank.Zhang
committed
BUG-ID: CS-19152
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, destroy baremetal instance fail
BUG-ID: CS-19150
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to start baremetal instance
BUG-ID: CS-19149
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, baremetal host remain in Disconnected state. But instance associated with baremetal host is running.
BUG-ID: CS-19151
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to reboot baremetal instance
BUG-ID: CS-19156
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to stop baremetal instance
reviewed-by: edison
(cherry picked from commit 3787579)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Conflicts:
plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BareMetalDiscoverer.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalPxeManagerImpl.java
server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
Copy file name to clipboardExpand all lines: plugins/hypervisors/baremetal/resources/META-INF/cloudstack/baremetal-compute/spring-baremetal-compute-context.xml
Copy file name to clipboardExpand all lines: plugins/hypervisors/baremetal/resources/META-INF/cloudstack/baremetal-discoverer/spring-baremetal-discoverer-context.xml
Copy file name to clipboardExpand all lines: plugins/hypervisors/baremetal/resources/META-INF/cloudstack/baremetal-network/spring-baremetal-network-context.xml
Copy file name to clipboardExpand all lines: plugins/hypervisors/baremetal/resources/META-INF/cloudstack/baremetal-planner/spring-baremetal-planner-context.xml
Copy file name to clipboardExpand all lines: plugins/hypervisors/baremetal/resources/security_group_agent/cs-sgagent
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@
18
18
# to you under the Apache License, Version 2.0 (the
19
19
# "License"); you may not use this file except in compliance
20
20
# with the License. You may obtain a copy of the License at
21
-
#
21
+
#
22
22
# http://www.apache.org/licenses/LICENSE-2.0
23
-
#
23
+
#
24
24
# Unless required by applicable law or agreed to in writing,
25
25
# software distributed under the License is distributed on an
26
26
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -29,31 +29,31 @@
29
29
# under the License.
30
30
31
31
check_status() {
32
-
pidfile='/var/run/cssgagent.pid'
33
-
if [ !-f$pidfile ];then
34
-
echo"cloudstack baremetal security group agent is stopped"
35
-
exit 1
36
-
else
37
-
pid=`cat $pidfile`
38
-
ps -p $pid> /dev/null
39
-
if [ $?-eq 0 ];then
40
-
echo"cloudstack baremetal security group agent is running, pid is $pid"
41
-
exit 0
42
-
else
43
-
echo"cloudstack baremetal security group agent is stopped, but pidfile at $pidfile is not cleaned. It may be caused by the agent crashed at last time, manually cleaning it would be ok"
44
-
exit 1
45
-
fi
46
-
fi
32
+
pidfile='/var/run/cssgagent.pid'
33
+
if [ !-f$pidfile ];then
34
+
echo"cloudstack baremetal security group agent is stopped"
35
+
exit 1
36
+
else
37
+
pid=`cat $pidfile`
38
+
ps -p $pid> /dev/null
39
+
if [ $?-eq 0 ];then
40
+
echo"cloudstack baremetal security group agent is running, pid is $pid"
41
+
exit 0
42
+
else
43
+
echo"cloudstack baremetal security group agent is stopped, but pidfile at $pidfile is not cleaned. It may be caused by the agent crashed at last time, manually cleaning it would be ok"
0 commit comments