Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why does deploy of murano environment fail with NoPackageForClassFound: Package for class "io.murano.Environment" is not found

I cannot deploy murano environment due to aforementioned error.

2016-07-14 12:04:34.291 17 ERROR murano.common.engine [-] Exception Package for class "io.murano.Environment" is not found occurred during invocation of <load>
2016-07-14 12:04:34.291 17 ERROR murano.common.engine Traceback (most recent call last):
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/common/engine.py", line 183, in _execute
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     obj = executor.load(self.model)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/dsl/executor.py", line 216, in load
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     return self._load(data)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/dsl/executor.py", line 222, in _load
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     result = self._object_store.load(data.get(constants.DM_OBJECTS), None)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/dsl/object_store.py", line 74, in load
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     obj_type, version_spec)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 541, in load_class_package
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     class_name, version_spec)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 138, in load_class_package
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     exc_info[2])
 2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 132, in load_class_package
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     package_definition = self._get_definition(filter_opts)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 207, in _get_definition
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     raise LookupError()
2016-07-14 12:04:34.291 17 ERROR murano.common.engine NoPackageForClassFound: Package for class "io.murano.Environment" is not found
2016-07-14 12:04:34.291 17 ERROR murano.common.engine

.

From what I've seen I'm being directed to the core library but it is uploaded:

murano package-list

+----------------------------------+--------------------+----------------------------------------+---------------+--------+-----------+-------------+---------+ | ID | Name | FQN | Author | Active | Is Public | Type | Version | +----------------------------------+--------------------+----------------------------------------+---------------+--------+-----------+-------------+---------+

| 8757e4d459e14c00b7e2d03b0db4e41f | Apache HTTP Server | io.murano.apps.apache.ApacheHttpServer | Mirantis, Inc | True | True | Application | |

| 5aa3f1abdecf45939be2e9299ee92c28 | Core library | io.murano | murano.io | True | True | Library | | +----------------------------------+--------------------+----------------------------------------+---------------+--------+-----------+-------------+---------+

Why does deploy of murano environment fail with NoPackageForClassFound: Package for class "io.murano.Environment" is not found

I cannot deploy murano environment due to aforementioned error.

2016-07-14 12:04:34.291 17 ERROR murano.common.engine [-] Exception Package for class "io.murano.Environment" is not found occurred during invocation of <load>
2016-07-14 12:04:34.291 17 ERROR murano.common.engine Traceback (most recent call last):
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/common/engine.py", line 183, in _execute
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     obj = executor.load(self.model)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/dsl/executor.py", line 216, in load
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     return self._load(data)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/dsl/executor.py", line 222, in _load
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     result = self._object_store.load(data.get(constants.DM_OBJECTS), None)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/dsl/object_store.py", line 74, in load
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     obj_type, version_spec)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 541, in load_class_package
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     class_name, version_spec)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 138, in load_class_package
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     exc_info[2])
 2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 132, in load_class_package
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     package_definition = self._get_definition(filter_opts)
2016-07-14 12:04:34.291 17 ERROR murano.common.engine   File "/usr/lib/python2.7/site-packages/murano/engine/package_loader.py", line 207, in _get_definition
2016-07-14 12:04:34.291 17 ERROR murano.common.engine     raise LookupError()
2016-07-14 12:04:34.291 17 ERROR murano.common.engine NoPackageForClassFound: Package for class "io.murano.Environment" is not found
2016-07-14 12:04:34.291 17 ERROR murano.common.engine

.

From what I've seen I'm being directed to the core library but it is uploaded:

murano package-list

package-list +----------------------------------+--------------------+----------------------------------------+---------------+--------+-----------+-------------+---------+ | ID | Name | FQN | Author | Active | Is Public | Type | Version | +----------------------------------+--------------------+----------------------------------------+---------------+--------+-----------+-------------+---------+

| 8757e4d459e14c00b7e2d03b0db4e41f | Apache HTTP Server | io.murano.apps.apache.ApacheHttpServer | Mirantis, Inc | True | True | Application | |

| 5aa3f1abdecf45939be2e9299ee92c28 | Core library | io.murano | murano.io | True | True | Library | | |

+----------------------------------+--------------------+----------------------------------------+---------------+--------+-----------+-------------+---------+

murano package-show 5aa3f1abdecf45939be2e9299ee92c28

+----------------------+----------------------------------------------------+
| Property             | Value                                              |
+----------------------+----------------------------------------------------+
| categories           |                                                    |
| class_definitions    | io.murano.StackTrace, io.murano.resources.Network, |
|                      | io.murano.system.NetworkExplorer,                  |
|                      | io.murano.test.TestFixture,                        |
|                      | io.murano.resources.HeatSWConfigLinuxInstance,     |
|                      | io.murano.resources.Instance, io.murano.Exception, |
|                      | io.murano.File, io.murano.system.MistralClient,    |
|                      | io.murano.resources.Volume, io.murano.Environment, |
|                      | io.murano.system.InstanceNotifier,                 |
|                      | io.murano.system.Logger,                           |
|                      | io.murano.system.SecurityGroupManager,             |
|                      | io.murano.configuration.Linux,                     |
|                      | io.murano.resources.CinderVolumeBackup,            |
|                      | io.murano.system.NeutronSecurityGroupManager,      |
|                      | io.murano.resources.NovaNetwork,                   |
|                      | io.murano.system.StatusReporter,                   |
|                      | io.murano.resources.LinuxUDInstance,               |
|                      | io.murano.system.Agent, io.murano.Object,          |
|                      | io.murano.resources.LinuxMuranoInstance,           |
|                      | io.murano.resources.ExistingNeutronNetwork,        |
|                      | io.murano.resources.ExistingCinderVolume,          |
|                      | io.murano.system.HeatStack, io.murano.SharedIp,    |
|                      | io.murano.Application,                             |
|                      | io.murano.resources.LinuxInstance,                 |
|                      | io.murano.resources.NeutronNetwork,                |
|                      | io.murano.system.AgentListener,                    |
|                      | io.murano.system.Resources,                        |
|                      | io.murano.resources.CinderVolume,                  |
|                      | io.murano.resources.ConfLangInstance,              |
|                      | io.murano.resources.CinderVolumeSnapshot,          |
|                      | io.murano.resources.HeatSWConfigInstance,          |
|                      | io.murano.resources.NeutronNetworkBase,            |
|                      | io.murano.system.AwsSecurityGroupManager,          |
|                      | io.murano.resources.WindowsInstance                |
| description          | Core MuranoPL library                              |
| enabled              | True                                               |
| fully_qualified_name | io.murano                                          |
| id                   | 5aa3f1abdecf45939be2e9299ee92c28                   |
| is_public            | True                                               |
| name                 | Core library                                       |
| owner_id             | 7945aad0e1864b1da3ebacd582dcc278                   |
| tags                 | MuranoPL                                           |
| type                 | Library                                            |
+----------------------+----------------------------------------------------+