glance-scrubber.xml revision 6033
f743002678eb67b99bbc29fee116b65d9530fec0wrowe<?xml version="1.0" ?>
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin<!--
63a5ea80bddcc84a462e40f402b4f330e0e05411covener Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
63a5ea80bddcc84a462e40f402b4f330e0e05411covener
63a5ea80bddcc84a462e40f402b4f330e0e05411covener Licensed under the Apache License, Version 2.0 (the "License"); you may
63a5ea80bddcc84a462e40f402b4f330e0e05411covener not use this file except in compliance with the License. You may obtain
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrin a copy of the License at
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrin
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrin http://www.apache.org/licenses/LICENSE-2.0
f502dd154eaf60ccf6a993e83c490d52cd0a385eminfrin
f502dd154eaf60ccf6a993e83c490d52cd0a385eminfrin Unless required by applicable law or agreed to in writing, software
f502dd154eaf60ccf6a993e83c490d52cd0a385eminfrin distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
65a4e663b82f8bce28ac22ab2edfd7502de36998sf WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
65a4e663b82f8bce28ac22ab2edfd7502de36998sf License for the specific language governing permissions and limitations
65a4e663b82f8bce28ac22ab2edfd7502de36998sf under the License.
65a4e663b82f8bce28ac22ab2edfd7502de36998sf
c7de1955eb0eaeabf7042902476397692672d549sf NOTE: This service manifest is not editable; its contents will
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin be overwritten by package or patch operations, including
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin operating system upgrade. Make customizations in a different
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin file.
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin-->
a77a7d850e4496179e1e0f45d5152865c899d421covener<service_bundle type="manifest" name="glance-scrubber">
a77a7d850e4496179e1e0f45d5152865c899d421covener
92108a6c4fd7ca6e9acc94d2485920436763e491sf <service version="1" type="service"
df6d5653669f1514b4449aaba99cb950c0013e5fcovener name="application/openstack/glance/glance-scrubber">
df6d5653669f1514b4449aaba99cb950c0013e5fcovener
df6d5653669f1514b4449aaba99cb950c0013e5fcovener <dependency name='multiuser' grouping='require_all' restart_on='error'
509622419be000045d461ef38fb97df778fdf81djailletc type='service'>
509622419be000045d461ef38fb97df778fdf81djailletc <service_fmri value='svc:/milestone/multi-user:default' />
509622419be000045d461ef38fb97df778fdf81djailletc </dependency>
509622419be000045d461ef38fb97df778fdf81djailletc
1de839c61281d58dc75715c1ae06b4b00764c4efjorton <dependency name='upgrade' grouping='require_all' restart_on='none'
1de839c61281d58dc75715c1ae06b4b00764c4efjorton type='service'>
1de839c61281d58dc75715c1ae06b4b00764c4efjorton <service_fmri value='svc:/application/openstack/glance/glance-upgrade' />
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin </dependency>
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin <!-- create a dependency on the glance-db service so the glance-api,
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin glance-registry, and glance-scrubber services do not collide when
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin creating the database -->
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin <dependency name='glance_db' grouping='optional_all' restart_on='error'
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin type='service'>
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin <service_fmri value='svc:/application/openstack/glance/glance-db'/>
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin </dependency>
0b9de55d178312ec929dbe417dd61199b269991djailletc
0b9de55d178312ec929dbe417dd61199b269991djailletc <dependency name='ntp' grouping='optional_all' restart_on='none'
0b9de55d178312ec929dbe417dd61199b269991djailletc type='service'>
0b9de55d178312ec929dbe417dd61199b269991djailletc <service_fmri value='svc:/network/ntp'/>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin </dependency>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin <dependency name='rabbitmq' grouping='optional_all' restart_on='none'
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin type='service'>
9e0d78337da0ce66247fc3254b9d5be262cbcea8minfrin <service_fmri value='svc:/application/rabbitmq'/>
9e0d78337da0ce66247fc3254b9d5be262cbcea8minfrin </dependency>
9e0d78337da0ce66247fc3254b9d5be262cbcea8minfrin
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletc <logfile_attributes permissions='600'/>
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletc
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletc <exec_method timeout_seconds="60" type="method" name="start"
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletc exec="/lib/svc/method/glance-scrubber %m">
2f073ef2a21b1725addef84f318a2b11541e912aminfrin <method_context>
2f073ef2a21b1725addef84f318a2b11541e912aminfrin <method_credential user='glance' group='glance' />
2f073ef2a21b1725addef84f318a2b11541e912aminfrin </method_context>
2f073ef2a21b1725addef84f318a2b11541e912aminfrin </exec_method>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <exec_method timeout_seconds="60" type="method" name="stop"
a511a29faf2ff7ead3b67680154a624effb31aafminfrin exec=":kill"/>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <instance name='default' enabled='false'>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <!-- to start/stop/refresh the service -->
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin <property_group name='general' type='framework'>
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin <propval name='action_authorization' type='astring'
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin value='solaris.smf.manage.glance' />
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin <propval name='value_authorization' type='astring'
9ea14ade0d235bec11e6c221b888a6630a0be849covener value='solaris.smf.value.glance' />
9ea14ade0d235bec11e6c221b888a6630a0be849covener </property_group>
9ea14ade0d235bec11e6c221b888a6630a0be849covener </instance>
4860eae0821bbdf3e0da78be7b4057ebed5d86e4minfrin
4860eae0821bbdf3e0da78be7b4057ebed5d86e4minfrin <template>
4860eae0821bbdf3e0da78be7b4057ebed5d86e4minfrin <common_name>
5b6a4b0e8d6d52394b68b51e0fa439d0eee16e37minfrin <loctext xml:lang="C">
5b6a4b0e8d6d52394b68b51e0fa439d0eee16e37minfrin OpenStack Glance Image Scrubbing Service
5b6a4b0e8d6d52394b68b51e0fa439d0eee16e37minfrin </loctext>
5b6a4b0e8d6d52394b68b51e0fa439d0eee16e37minfrin </common_name>
2344a0c1817b88b6df61fc4ed0c6af66bb93ee6bjim <description>
2344a0c1817b88b6df61fc4ed0c6af66bb93ee6bjim <loctext xml:lang="C">
2344a0c1817b88b6df61fc4ed0c6af66bb93ee6bjim glance-scrubber is an utility that cleans up images that have been
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin deleted. The mechanics of this differ depending on the backend store
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin and pending_deletion options chosen.
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin </loctext>
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin </description>
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin </template>
bbb08feeeef547b0908b16df6cbbb65da656b86fminfrin </service>
bbb08feeeef547b0908b16df6cbbb65da656b86fminfrin</service_bundle>
bbb08feeeef547b0908b16df6cbbb65da656b86fminfrin