This commit removes some comment-outed codes. If we want to use them, we
can get them from the git repository.
Change-Id: Ie438c43d332d0631750f0ad458653fc40e23faad
| ... | ... |
@@ -101,11 +101,6 @@ if is_service_enabled nova && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; th |
| 101 | 101 |
cleanup_nova_hypervisor |
| 102 | 102 |
fi |
| 103 | 103 |
|
| 104 |
-#if mount | grep $DATA_DIR/swift/drives; then |
|
| 105 |
-# sudo umount $DATA_DIR/swift/drives/sdb1 |
|
| 106 |
-#fi |
|
| 107 |
- |
|
| 108 |
- |
|
| 109 | 104 |
# Clean out /etc |
| 110 | 105 |
sudo rm -rf /etc/keystone /etc/glance /etc/nova /etc/cinder /etc/swift |
| 111 | 106 |
|
| ... | ... |
@@ -123,9 +118,5 @@ if [[ -n "$SCREEN_LOGDIR" ]] && [[ -d "$SCREEN_LOGDIR" ]]; then |
| 123 | 123 |
sudo rm -rf $SCREEN_LOGDIR |
| 124 | 124 |
fi |
| 125 | 125 |
|
| 126 |
-# Clean up networking... |
|
| 127 |
-# should this be in nova? |
|
| 128 |
-# FIXED_IP_ADDR in br100 |
|
| 129 |
- |
|
| 130 | 126 |
# Clean up files |
| 131 | 127 |
rm -f $TOP_DIR/.stackenv |
| ... | ... |
@@ -122,13 +122,11 @@ while read line; do |
| 122 | 122 |
ver=${BASH_REMATCH[2]}
|
| 123 | 123 |
else |
| 124 | 124 |
# Unhandled format in freeze file |
| 125 |
- #echo "unknown: $p" |
|
| 126 | 125 |
continue |
| 127 | 126 |
fi |
| 128 | 127 |
echo "pip|${p}|${ver}"
|
| 129 | 128 |
else |
| 130 | 129 |
# No match in freeze file |
| 131 |
- #echo "unknown: $p" |
|
| 132 | 130 |
continue |
| 133 | 131 |
fi |
| 134 | 132 |
done <$FREEZE_FILE |
| ... | ... |
@@ -25,11 +25,5 @@ function build_xva {
|
| 25 | 25 |
# because rabbit won't launch with an ip addr hostname :( |
| 26 | 26 |
build_xva HEADNODE $HEAD_PUB_IP $HEAD_MGT_IP 1 "ENABLED_SERVICES=g-api,g-reg,key,n-api,n-sch,n-vnc,horizon,mysql,rabbit" |
| 27 | 27 |
|
| 28 |
-# Wait till the head node is up |
|
| 29 |
-#while ! curl -L http://$HEAD_PUB_IP | grep -q username; do |
|
| 30 |
-# echo "Waiting for head node ($HEAD_PUB_IP) to start..." |
|
| 31 |
-# sleep 5 |
|
| 32 |
-#done |
|
| 33 |
- |
|
| 34 | 28 |
# Build the HA compute host |
| 35 | 29 |
build_xva COMPUTENODE $COMPUTE_PUB_IP $COMPUTE_MGT_IP 0 "ENABLED_SERVICES=n-cpu,n-net,n-api" |