Browse code

remove out of date heat references

This removes some remnant heat code and references now that heat is
running in a plugin. Before merging this patch the heat team should
verify they got everything they needed into their heat plugin, as
there were more parts left than I was expecting.

Change-Id: I477e3a6e75591aa8ff836c28f7ef56aa1b5f8727

Sean Dague authored on 2017/05/02 21:45:34
Showing 6 changed files
... ...
@@ -609,29 +609,6 @@ act as a S3 endpoint for Keystone so effectively replacing the
609 609
 Only Swift proxy server is launched in the systemd system all other
610 610
 services are started in background and managed by ``swift-init`` tool.
611 611
 
612
-Heat
613
-~~~~
614
-
615
-Heat is disabled by default (see ``stackrc`` file). To enable it
616
-explicitly you'll need the following settings in your ``localrc``
617
-section
618
-
619
-::
620
-
621
-    enable_service heat h-api h-api-cfn h-api-cw h-eng
622
-
623
-Heat can also run in standalone mode, and be configured to orchestrate
624
-on an external OpenStack cloud. To launch only Heat in standalone mode
625
-you'll need the following settings in your ``localrc`` section
626
-
627
-::
628
-
629
-    disable_all_services
630
-    enable_service rabbit mysql heat h-api h-api-cfn h-api-cw h-eng
631
-    HEAT_STANDALONE=True
632
-    KEYSTONE_SERVICE_HOST=...
633
-    KEYSTONE_AUTH_HOST=...
634
-
635 612
 Tempest
636 613
 ~~~~~~~
637 614
 
... ...
@@ -159,16 +159,6 @@ to a working IP address; setting it to 127.0.0.1 in ``/etc/hosts`` is
159 159
 often good enough for a single-node installation. And in an extreme
160 160
 case, use ``clean.sh`` to eradicate it and try again.
161 161
 
162
-Configure ``local.conf`` thusly:
163
-
164
-    ::
165
-
166
-        [[local|localrc]]
167
-        HEAT_STANDALONE=True
168
-        ENABLED_SERVICES=rabbit,mysql,heat,h-api,h-api-cfn,h-api-cw,h-eng
169
-        KEYSTONE_SERVICE_HOST=<keystone-host>
170
-        KEYSTONE_AUTH_HOST=<keystone-host>
171
-
172 162
 Why are my configuration changes ignored?
173 163
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174 164
 
... ...
@@ -64,8 +64,7 @@ Services
64 64
 
65 65
 The default services configured by DevStack are Identity (keystone),
66 66
 Object Storage (swift), Image Service (glance), Block Storage
67
-(cinder), Compute (nova), Networking (neutron), Dashboard (horizon),
68
-Orchestration (heat)
67
+(cinder), Compute (nova), Networking (neutron), Dashboard (horizon)
69 68
 
70 69
 Additional services not included directly in DevStack can be tied in to
71 70
 ``stack.sh`` using the :doc:`plugin mechanism <plugins>` to call
... ...
@@ -394,24 +394,6 @@ function configure_tempest {
394 394
     iniset $TEMPEST_CONFIG network-feature-enabled ipv6_subnet_attributes "$IPV6_SUBNET_ATTRIBUTES_ENABLED"
395 395
     iniset $TEMPEST_CONFIG network-feature-enabled port_security $NEUTRON_PORT_SECURITY
396 396
 
397
-    # Orchestration Tests
398
-    if is_service_enabled heat; then
399
-        if [[ ! -z "$HEAT_CFN_IMAGE_URL" ]]; then
400
-            iniset $TEMPEST_CONFIG orchestration image_ref $(basename "${HEAT_CFN_IMAGE_URL%.*}")
401
-        fi
402
-        # Nova might not be enabled, especially when we want to test tempest scenario/API that only create Neutron resources
403
-        if is_service_enabled nova; then
404
-            # build a specialized heat flavor
405
-            available_flavors=$(nova flavor-list)
406
-            if [[ ! ( $available_flavors =~ 'm1.heat' ) ]]; then
407
-                openstack flavor create --id 451 --ram 512 --disk 0 --vcpus 1 m1.heat
408
-            fi
409
-            iniset $TEMPEST_CONFIG orchestration instance_type "m1.heat"
410
-        fi
411
-        iniset $TEMPEST_CONFIG orchestration build_timeout 900
412
-        iniset $TEMPEST_CONFIG orchestration stack_owner_role Member
413
-    fi
414
-
415 397
     # Scenario
416 398
     if [ "$VIRT_DRIVER" = "xenserver" ]; then
417 399
         SCENARIO_IMAGE_DIR=${SCENARIO_IMAGE_DIR:-$FILES}
... ...
@@ -2,7 +2,7 @@
2 2
 
3 3
 # ``stack.sh`` is an opinionated OpenStack developer installation.  It
4 4
 # installs and configures various combinations of **Cinder**, **Glance**,
5
-# **Heat**, **Horizon**, **Keystone**, **Nova**, **Neutron**, and **Swift**
5
+# **Horizon**, **Keystone**, **Nova**, **Neutron**, and **Swift**
6 6
 
7 7
 # This script's options can be changed by setting appropriate environment
8 8
 # variables.  You can configure things like which git repositories to use,
... ...
@@ -1328,10 +1328,6 @@ if is_service_enabled nova && is_service_enabled keystone; then
1328 1328
         USERRC_PARAMS="$USERRC_PARAMS --os-cacert $SSL_BUNDLE_FILE"
1329 1329
     fi
1330 1330
 
1331
-    if [[ "$HEAT_STANDALONE" = "True" ]]; then
1332
-        USERRC_PARAMS="$USERRC_PARAMS --heat-url http://$HEAT_API_HOST:$HEAT_API_PORT/v1"
1333
-    fi
1334
-
1335 1331
     $TOP_DIR/tools/create_userrc.sh $USERRC_PARAMS
1336 1332
 fi
1337 1333
 
... ...
@@ -518,14 +518,6 @@ GITBRANCH["cursive"]=${CURSIVE_BRANCH:-master}
518 518
 GITREPO["glance_store"]=${GLANCE_STORE_REPO:-${GIT_BASE}/openstack/glance_store.git}
519 519
 GITBRANCH["glance_store"]=${GLANCE_STORE_BRANCH:-master}
520 520
 
521
-# heat-cfntools server agent
522
-HEAT_CFNTOOLS_REPO=${HEAT_CFNTOOLS_REPO:-${GIT_BASE}/openstack/heat-cfntools.git}
523
-HEAT_CFNTOOLS_BRANCH=${HEAT_CFNTOOLS_BRANCH:-master}
524
-
525
-# heat example templates and elements
526
-HEAT_TEMPLATES_REPO=${HEAT_TEMPLATES_REPO:-${GIT_BASE}/openstack/heat-templates.git}
527
-HEAT_TEMPLATES_BRANCH=${HEAT_TEMPLATES_BRANCH:-master}
528
-
529 521
 # django openstack_auth library
530 522
 GITREPO["django_openstack_auth"]=${HORIZONAUTH_REPO:-${GIT_BASE}/openstack/django_openstack_auth.git}
531 523
 GITBRANCH["django_openstack_auth"]=${HORIZONAUTH_BRANCH:-master}