!25 【轻量级 PR】:Make sure create glance user/group before install api

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-08-26 09:32:59 +00:00 committed by Gitee
commit e35cf2f85e

View File

@ -1,6 +1,6 @@
Name: openstack-glance
Version: 22.0.0
Release: 2
Release: 3
Summary: OpenStack Image Service (Glance)
License: ASL 2.0
URL: https://docs.openstack.org/glance
@ -257,7 +257,7 @@ mv %{buildroot}%{_prefix}%{_sysconfdir}/glance/metadefs/* %{buildroot}%{_sysconf
# Remove duplicate files under /usr/etc
rm -rf %{buildroot}%{_prefix}%{_sysconfdir}/glance
%pre
%pre api
%openstack_pre_user_group_create glance glance /sbin/nologin
%check
@ -322,6 +322,9 @@ stestr run --black-regex 'glance.tests.unit.common.test_format_inspector.TestFor
%{python3_sitelib}/glance/tests
%changelog
* Thu Aug 26 2021 huangtianhua <huangtianhua@huawei.com> - 22.0.0-3
- Make sure create glance user/group before install api
* Mon Aug 23 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 22.0.0-2
- Remove useless temp file creat action