Ask Your Question
0

[ RDO ] Could not find declared class ::remote::db

asked 2015-11-19 13:17:36 -0500

ruben gravatar image

Hello,

When deploying an Openstack environment with a Galera cluster as database backend i get the following error:

 ERROR : Error appeared during Puppet run: 10.63.0.11_mariadb.pp
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class ::remote::db at /var/tmp/packstack/a0e7485ead60455688ea427f76dea4ab/manifests/10.63.0.11_mariadb.pp:11 on node infra01.fccloud.nl
You will find full trace in log /var/tmp/packstack/20151119-195723-0ubbc1/manifests/10.63.0.11_mariadb.pp.log

I tried some things i found on the internet and checked the database passwords but it all look correct.

Creation log: http://paste.openstack.org/show/479466/

Puppet trace log: http://paste.openstack.org/show/479467/

Database part of the answer file: http://paste.openstack.org/show/479468/

Thanks, Ruben.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-04-11 11:51:22 -0500

jpena-c gravatar image

Hi Ruben,

The error message says Packstack is not being able to find a Puppet module called "remote". It should be installed as part of the openstack-puppet-modules package, can you check if there is a directory named /usr/share/openstack-puppet/modules/remote ?

Regards, Javier

edit flag offensive delete link more

Comments

Hi Javier, I encountered the same problem. I have checked /usr/share/openstack-puppet/modules/remote and it exists. I checked /var/tmp/packstack/.../manifests/9.114.219.142_mariadb.pp. Here I attached the line reporting error: class { '::remote::db': } It seems to be a problem of the manifest.

Anqi Lu gravatar imageAnqi Lu ( 2016-04-12 05:25:08 -0500 )edit

It is finding remote, it's just not finding the class ::remote::db. If you go into /usr/share/openstack-puppet/modules/remote/manifests you will see a mysql.pp file. This is what is currently holding the remote::db class. If you rename it from mysql.pp to db.pp it'll finish the install.

gusgarza gravatar imagegusgarza ( 2016-12-14 12:58:30 -0500 )edit

@gusgarza I have encountered this and rename file as you said. But it didn't work.Any other solutions?

lhx gravatar imagelhx ( 2017-05-08 03:06:44 -0500 )edit
0

answered 2016-06-06 23:47:38 -0500

SB99 gravatar image

In my case it failed with following error Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class ::galera::server at /var/tmp/packstack/57a45d6a17af4dac9988eaf3a2a28a4d/manifests/10.209.248.38_mariadb.pp:29 on node I checked /usr/share/openstack-puppet/modules/ and coudn't find any module in it. Is there a way to install it?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-11-19 13:17:36 -0500

Seen: 1,009 times

Last updated: Apr 11 '16