[ovirt-users] oVirt, Cinder, Ceph in 2017
Konstantin Shalygin
k0ste at k0ste.ru
Wed Mar 22 09:01:20 UTC 2017
Hello.
Try to use this guide Cinder and Glance integration
<https://www.ovirt.org/develop/release-management/features/cinderglance-docker-integration/>
- this is actually on 2017? I try to use it and get this error on oVirt
4.1 (CentOS 7.3):
2017-03-22 11:34:19 INFO otopi.plugins.ovirt_engine_setup.dockerc.config
config._misc_deploy:357 Creating rabbitmq
2017-03-22 11:34:19 INFO otopi.plugins.ovirt_engine_setup.dockerc.config
config._misc_deploy:397 Starting rabbitmq
2017-03-22 11:34:19 DEBUG
otopi.plugins.ovirt_engine_setup.dockerc.config config._misc_deploy:402
Container rabbitmq:
da8d020b19010f0a7f1f6ce19977791c20b0f2eabd562578be9e06fd4e116172
2017-03-22 11:34:19 DEBUG otopi.context context._executeMethod:142
method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132,
in _executeMethod
method['method']()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/dockerc/config.py",
line 434, in _misc_deploy
raise ex
APIError: 400 Client Error: Bad Request ("{"message":"starting container
with HostConfig was deprecated since v1.10 and removed in v1.12"}")
2017-03-22 11:34:19 ERROR otopi.context context._executeMethod:151
Failed to execute stage 'Misc configuration': 400 Client Error: Bad
Request ("{"message":"starting container with HostConfig was deprecated
since v1.10 and removed in v1.12"}")
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'Yum Transaction'
2017-03-22 11:34:19 INFO otopi.plugins.otopi.packagers.yumpackager
yumpackager.info:80 Yum Performing yum transaction rollback
Loaded plugins: fastestmirror, versionlock
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'DWH Engine database Transaction'
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'Database Transaction'
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'Version Lock Transaction'
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'DWH database Transaction'
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-http.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-https.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-local-cinder.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-local-glance.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-postgres.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for
'/etc/ovirt-engine/firewalld/ovirt-postgres.xml''
2017-03-22 11:34:19 DEBUG otopi.transaction transaction.abort:119
aborting 'File transaction for '/etc/ovirt-engine/iptables.example''
2017-03-22 11:34:19 DEBUG otopi.context context.dumpEnvironment:760
ENVIRONMENT DUMP - BEGIN
2017-03-22 11:34:19 DEBUG otopi.context context.dumpEnvironment:770 ENV
BASE/error=bool:'True'
2017-03-22 11:34:19 DEBUG otopi.context context.dumpEnvironment:770 ENV
BASE/exceptionInfo=list:'[(<class 'docker.errors.APIError'>,
APIError(HTTPError('400 Client Error: Bad Request',),), <traceback
object at 0x2923fc8>)]'
2017-03-22 11:34:19 DEBUG otopi.context context.dumpEnvironment:774
ENVIRONMENT DUMP - END
Okay, back to 2016, make rpm's (and deps):
python-docker-py-1.9.0-1
docker-1.10.3-59
I Installed it, run engine-setup. Now "Deploy Cinder container on this
host" & "Deploy Glance container on this host" are success. On oVirt
Engine Web admin I see external provider
"local-glance-image-repository". But actually I can't use them. Then I
figure out this is unsupported method?
May be I should going another way for "oVirt with Ceph"? Like VM with
OpenStack stuff deployed with Ansible or another
ready_to_go_docker_containers because I need it faster, therefore I want
to go this way "makes it more easier to be accomplished without the need
for a manual complex configuration".
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170322/b8e22bf4/attachment.html>
More information about the Users
mailing list