This bug was fixed in the package mistral - 3.0.0-2~cloud0

 mistral (3.0.0-2~cloud0) xenial-ocata; urgency=medium
   * New update for the Ubuntu Cloud Archive.
 mistral (3.0.0-2) unstable; urgency=medium
   [ Corey Bryant ]
   * d/rules, d/, d/mistral-common.postrm:
     Install missing json files (LP: #1634475).
   * d/control: Add python-pep8 to Build-Depends.
   [ Thomas Goirand ]
   * Fixed lsb-base depends.
   [ Gauvain Pocentek ]
   * d/rules: install missing resources directory, needed when populating the
     mistral DB

** Changed in: cloud-archive
       Status: Fix Committed => Fix Released

You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs

  [SRU] Files missing from package

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive mitaka series:
  Fix Committed
Status in Ubuntu Cloud Archive newton series:
  Fix Committed
Status in mistral package in Ubuntu:
  Fix Released
Status in mistral source package in Xenial:
  Fix Committed
Status in mistral source package in Yakkety:
  Fix Committed

Bug description:
  After the package is installed some of the files that support the 
initialisation of the database seem to missing. As does the policy.json.

  The files that are missing:

  /usr/lib/python2.7/dist-packages/mistral/resources (directory + contents)

  Without the DB files the schema initialisation fails:
  # mistral-db-manage --config-file /etc/mistral/mistral.conf populate
  Traceback (most recent call last):
    File "/usr/bin/mistral-db-manage", line 10, in <module>
"/usr/lib/python2.7/dist-packages/mistral/db/sqlalchemy/migration/", line 
129, in main
"/usr/lib/python2.7/dist-packages/mistral/db/sqlalchemy/migration/", line 
70, in do_populate
    File "/usr/lib/python2.7/dist-packages/mistral/services/", 
line 82, in sync_db
    File "/usr/lib/python2.7/dist-packages/mistral/services/", 
line 128, in register_action_classes
    File "/usr/lib/python2.7/dist-packages/mistral/services/", 
line 88, in _register_dynamic_action_classes
      actions = generator.create_actions()
 line 77, in create_actions
      mapping = get_mapping()
 line 45, in get_mapping
  IOError: [Errno 2] No such file or directory: 

  And without the policy.json clients cannot authorise.

  [Test Case]
  Reproduce db issue:
  lxc launch ubuntu-daily:yakkety
  lxc exec  <container-name>  bash
  apt update
  apt install mistral-api
  mistral-db-manage --config-file /etc/mistral/mistral.conf populate

  [Regression Potential]
  Very little as the fix just updates the package to install the missing json 

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to