Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

Trying to install compute role on a machine #233

Open
riteshnanda09 opened this issue Feb 4, 2016 · 1 comment
Open

Trying to install compute role on a machine #233

riteshnanda09 opened this issue Feb 4, 2016 · 1 comment

Comments

@riteshnanda09
Copy link

While trying to assign compute role on machine , puppet tries to install keystone server and running Keystone::Resource::Service_identity , i see in openstack::common::neutron.pp we are including
include ::openstack::common::keystone but are not having any check whether it is a controller.

Adding fixes it

if $is_controller {

neutron auth depends upon a keystone configuration

include ::openstack::common::keystone

class { '::neutron::keystone::auth':
password => $::openstack::config::neutron_password,
public_address => $::openstack::config::controller_address_api,
admin_address => $::openstack::config::controller_address_management,
internal_address => $::openstack::config::controller_address_management,
region => $::openstack::config::region,
}
}

Is it correct , has nobody else seen this issue.

@mmogylenko
Copy link

Confirming, the issue still persists (Role openstack::role::compute):
Error: Could not find resource 'Service[apache2]' for relationship from 'Service[keystone]' on node compute01 Error: Could not find resource 'Service[apache2]' for relationship from 'Service[keystone]' on node compute01

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants