magnum-api fails in Docker by not finding its config file

Bug #1617283 reported by Jerome Caffet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Low
Spyros Trigazis

Bug Description

Following instruction in Dockerfile provided in the repo :

docker build -t magnum:latest .
docker run --name magnum -p 127.0.0.1:9511:9511 -d magnum:latest

the run fails :

2016-08-26 09:04:05.537 5 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
2016-08-26 09:04:05.540 5 CRITICAL magnum [-] ConfigFilesNotFoundError: Failed to find some config files: api-paste.ini
2016-08-26 09:04:05.540 5 ERROR magnum Traceback (most recent call last):
2016-08-26 09:04:05.540 5 ERROR magnum File "/usr/local/bin/magnum-api", line 10, in <module>
2016-08-26 09:04:05.540 5 ERROR magnum sys.exit(main())
2016-08-26 09:04:05.540 5 ERROR magnum File "/usr/local/lib/python2.7/dist-packages/magnum/cmd/api.py", line 43, in main
2016-08-26 09:04:05.540 5 ERROR magnum app = api_app.load_app()
2016-08-26 09:04:05.540 5 ERROR magnum File "/usr/local/lib/python2.7/dist-packages/magnum/api/app.py", line 83, in load_app
2016-08-26 09:04:05.540 5 ERROR magnum raise cfg.ConfigFilesNotFoundError([cfg.CONF.api.api_paste_config])
2016-08-26 09:04:05.540 5 ERROR magnum ConfigFilesNotFoundError: Failed to find some config files: api-paste.ini
2016-08-26 09:04:05.540 5 ERROR magnum

It seems the issue has been reported in #1594369 to update the documentation but the Dockerfile has not been updated yet.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/361124

Changed in magnum:
assignee: nobody → Jerome Caffet (jcaffet)
status: New → In Progress
Changed in magnum:
importance: Undecided → Low
Revision history for this message
Spyros Trigazis (strigazi) wrote :

Magnum's service docker images can be found in the openstack/kolla repo. [1][2]

The Dockerfile will be removed from magnum's repo.

[1] https://github.com/openstack/kolla/tree/master/docker/magnum
[2] https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=kolla+magnum&starCount=0

Changed in magnum:
assignee: Jerome Caffet (jcaffet) → Spyros Trigazis (strigazi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/361124
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=3775501f721581083b9a8326f13865c4e73159e1
Submitter: Jenkins
Branch: master

commit 3775501f721581083b9a8326f13865c4e73159e1
Author: Jerome Caffet <email address hidden>
Date: Fri Aug 26 13:33:33 2016 +0200

    Remove magnum service Dockerfile

    Magnum Dockerfiles are maintained in kolla's repo. [1]
    Built images are available in kolla's dockerHub account like [2].
    Search for kolla magnum in dockerHub.
    [1] https://github.com/openstack/kolla/tree/master/docker/magnum
    [2] https://hub.docker.com/r/kolla/centos-binary-magnum-conductor/

    Change-Id: Ie6ca81369456c54cfbd7f3290a16fdabdd79a5bb
    Closes-Bug: #1617283

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 3.1.0

This issue was fixed in the openstack/magnum 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.