Browse Source

Drop glance-registry

Glance-registry has been deprecated since Queens and were removed
from the upstream source in Train.

Change-Id: Ia993bfce039cd46ced3442c9064e4af8547fa54f
changes/85/780685/3
Corey Bryant 8 months ago
parent
commit
1f30e10b5b
  1. 8
      snap-overlay/snap-openstack.yaml
  2. 1
      snap/hooks/install
  3. 8
      snapcraft.yaml
  4. 9
      tools/init/init/questions/__init__.py

8
snap-overlay/snap-openstack.yaml

@ -270,14 +270,6 @@ entry_points:
- "{snap_common}/etc/glance/glance-manage.conf"
config-dirs:
- "{snap_common}/etc/glance/glance.conf.d"
glance-registry:
binary: "{snap}/bin/glance-registry"
config-files:
- "{snap}/etc/glance/glance-registry.conf"
config-files-override:
- "{snap_common}/etc/glance/glance-registry.conf"
config-dirs:
- "{snap_common}/etc/glance/glance.conf.d"
glance-api:
binary: "{snap}/bin/glance-api"
config-files:

1
snap/hooks/install

@ -29,7 +29,6 @@ snapctl stop --disable $SNAP_INSTANCE_NAME.horizon-uwsgi
snapctl stop --disable $SNAP_INSTANCE_NAME.neutron-api
snapctl stop --disable $SNAP_INSTANCE_NAME.glance-api
snapctl stop --disable $SNAP_INSTANCE_NAME.registry
snapctl stop --disable $SNAP_INSTANCE_NAME.cinder-uwsgi
snapctl stop --disable $SNAP_INSTANCE_NAME.cinder-scheduler

8
snapcraft.yaml

@ -223,14 +223,6 @@ apps:
- mount-observe
- network-control
# TODO: - microstack-support
registry:
command: bin/snap-openstack launch glance-registry
daemon: simple
plugs:
- network
- network-bind
- network-control
# TODO: - microstack-support
glance-manage:
command: bin/snap-openstack launch glance-manage
plugs:

9
tools/init/init/questions/__init__.py

@ -867,13 +867,7 @@ class GlanceSetup(Question):
'http://{compute_ip}:9292'.format(**_env))
check('snap-openstack', 'launch', 'glance-manage', 'db_sync')
# TODO: remove the glance registry
# https://blueprints.launchpad.net/glance/+spec/deprecate-registry
for service in [
'glance-api',
'registry',
]:
enable(service)
enable('glance-api')
nc_wait(_env['compute_ip'], '9292')
@ -883,7 +877,6 @@ class GlanceSetup(Question):
def no(self, answer):
disable('glance-api')
disable('registry')
class SecurityRules(Question):

Loading…
Cancel
Save