nova-compute.xml revision 7260
87N/A<?xml version="1.0" ?>
87N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
87N/A<!--
87N/A Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
87N/A
87N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
87N/A not use this file except in compliance with the License. You may obtain
87N/A a copy of the License at
87N/A
87N/A http://www.apache.org/licenses/LICENSE-2.0
87N/A
87N/A Unless required by applicable law or agreed to in writing, software
87N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
87N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
87N/A License for the specific language governing permissions and limitations
87N/A under the License.
87N/A
87N/A NOTE: This service manifest is not editable; its contents will
87N/A be overwritten by package or patch operations, including
87N/A operating system upgrade. Make customizations in a different
87N/A file.
87N/A-->
87N/A<service_bundle type="manifest" name="nova-compute">
87N/A
87N/A <service version="1" type="service"
87N/A name="application/openstack/nova/nova-compute">
87N/A
87N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
87N/A type='service'>
87N/A <service_fmri value='svc:/milestone/multi-user:default' />
87N/A </dependency>
87N/A
87N/A <dependency name='upgrade' grouping='require_all' restart_on='none'
87N/A type='service'>
87N/A <service_fmri
87N/A value='svc:/application/openstack/nova/nova-upgrade' />
87N/A </dependency>
87N/A
87N/A <dependency name='neutron-ovs-agent' grouping='optional_all'
87N/A restart_on='none' type='service'>
87N/A <service_fmri value='svc:/application/openstack/neutron/neutron-openvswitch-agent:default' />
87N/A </dependency>
87N/A
87N/A <dependency name='conductor' grouping='optional_all' restart_on='error'
87N/A type='service'>
87N/A <service_fmri value='svc:/application/openstack/nova/nova-conductor' />
87N/A </dependency>
87N/A
87N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
87N/A type='service'>
87N/A <service_fmri value='svc:/network/ntp'/>
87N/A </dependency>
87N/A
87N/A <dependency name='rabbitmq' grouping='optional_all' restart_on='none'
87N/A type='service'>
87N/A <service_fmri value='svc:/application/rabbitmq'/>
87N/A </dependency>
87N/A
87N/A <logfile_attributes permissions='600'/>
87N/A
87N/A <!-- increase the timeout to 120 seconds. Nova's RPC calls have a timeout
87N/A of 60 seconds so the start method needs to extend past that -->
87N/A <exec_method timeout_seconds="120" type="method" name="start"
87N/A exec="/lib/svc/method/nova-compute %m">
87N/A <method_context>
87N/A <method_credential user='nova' group='nova' />
87N/A </method_context>
87N/A </exec_method>
87N/A <!-- increase the timeout to 600 seconds. The time that it could take to
87N/A flush the database calls and complete shutdown espescially on heavily
87N/A utilized systems. -->
87N/A <exec_method timeout_seconds="600" type="method" name="stop"
87N/A exec=":kill"/>
87N/A
87N/A <instance name='default' enabled='false'>
87N/A <!-- to start/stop/refresh the service -->
87N/A <property_group name='general' type='framework'>
87N/A <propval name='action_authorization' type='astring'
87N/A value='solaris.smf.manage.nova' />
87N/A <propval name='value_authorization' type='astring'
87N/A value='solaris.smf.value.nova' />
87N/A </property_group>
87N/A </instance>
87N/A
87N/A <template>
87N/A <common_name>
87N/A <loctext xml:lang="C">
87N/A OpenStack Nova Compute Service
87N/A </loctext>
87N/A </common_name>
87N/A <description>
87N/A <loctext xml:lang="C">
87N/A Handles all processes relating to instances (guest VMs).
87N/A nova-compute is responsible for building a disk image, launching it
87N/A via the underlying virtualization driver, responding to calls to
87N/A check its state, attaching persistent storage, and terminating it.
87N/A </loctext>
87N/A </description>
87N/A </template>
87N/A </service>
87N/A</service_bundle>
87N/A