Could not find declared class ::nova::db::mysql_placement

asked 2017-04-20 08:29:06 -0500

Madhukar gravatar image

Packstack installation fails with below error: Can someone please guide on how to rectify this ?

140.140.1.100_controller.pp: [ ERROR ] Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 140.140.1.100controller.pp Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class ::nova::db::mysqlplacement at /var/tmp/packstack/934ed5d0ea5545b3a22dc27bdd34adfe/modules/packstack/manifests/mariadb/services.pp:109 on node

I see that the class is declared properly at ~/manifests/mariadb/services.pp :

if hiera('CONFIG_NOVA_INSTALL') == 'y' {
    class { '::nova::db::mysql':
      password      => hiera('CONFIG_NOVA_DB_PW'),
      host          => '%',
      allowed_hosts => '%',
      charset       => 'utf8',
    }
    class { '::nova::db::mysql_api':
      password      => hiera('CONFIG_NOVA_DB_PW'),
      host          => '%',
      allowed_hosts => '%',
      charset       => 'utf8',
    }
    class { '::nova::db::mysql_placement':
      password      => hiera('CONFIG_NOVA_DB_PW'),
      host          => '%',
      allowed_hosts => '%',
      charset       => 'utf8',
    }
}
edit retag flag offensive close merge delete