[sahara] missed file in MANIFEST.in

Bug #1426339 reported by Denis Egorenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Sergey Reshetnyak
Juno
Fix Released
High
Sergey Reshetnyak

Bug Description

During db-manage we have next error:

sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head

Traceback (most recent call last):
  File "/usr/bin/sahara-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/sahara/db/migration/cli.py", line 110, in main
    CONF.command.func(config, CONF.command.name)
  File "/usr/lib/python2.7/dist-packages/sahara/db/migration/cli.py", line 49, in do_upgrade_downgrade
    do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
  File "/usr/lib/python2.7/dist-packages/sahara/db/migration/cli.py", line 30, in do_alembic_command
    getattr(alembic_cmd, cmd)(config, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 129, in upgrade
    script.run_env()
  File "/usr/lib/python2.7/dist-packages/alembic/script.py", line 208, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/dist-packages/alembic/util.py", line 236, in load_python_file
    raise ImportError("Can't find Python file %s" % path)
ImportError: Can't find Python file /usr/lib/python2.7/dist-packages/sahara/db/migration/alembic_migrations/env.py

MANIFEST.in missed this file:
https://github.com/openstack/sahara/blob/master/MANIFEST.in

Changed in sahara:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Sergey Reshetnyak (sreshetniak)
milestone: none → kilo-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

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

Changed in sahara:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/159813
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=183136641bbc34b8af340de96923a568324aeb39
Submitter: Jenkins
Branch: master

commit 183136641bbc34b8af340de96923a568324aeb39
Author: Sergey Reshetnyak <email address hidden>
Date: Fri Feb 27 15:14:37 2015 +0300

    Add missed files for migrations in MANIFEST.in

    Change-Id: I09dc5d1cfc9af4e622e6ffab6a8d129225f031b6
    Closes-bug: #1426339

Changed in sahara:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/160355

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (stable/juno)

Reviewed: https://review.openstack.org/160355
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=056ff6f4627a439f5885325436e32f401985f66b
Submitter: Jenkins
Branch: stable/juno

commit 056ff6f4627a439f5885325436e32f401985f66b
Author: Sergey Reshetnyak <email address hidden>
Date: Fri Feb 27 15:14:37 2015 +0300

    Add missed files for migrations in MANIFEST.in

    Change-Id: I09dc5d1cfc9af4e622e6ffab6a8d129225f031b6
    Closes-bug: #1426339
    (cherry picked from commit 183136641bbc34b8af340de96923a568324aeb39)

Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-3 → 2015.1.0
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.