diff --git a/manifests/nova.pp b/manifests/nova.pp index 70fe7f25e..8d7e15b3a 100644 --- a/manifests/nova.pp +++ b/manifests/nova.pp @@ -62,8 +62,28 @@ class openstack_integration::nova { } class { '::nova::scheduler': } class { '::nova::vncproxy': } - class { '::nova::network::neutron': - neutron_password => 'a_big_secret', + + # Nova versions are different on Ubuntu & RedHat systems. + # RedHat packaging is more recent than Ubuntu. + # Recent Nova in Mitaka requires keystone v3 credentials. + # See LP #1542486 for more details. + # Drop this case when Ubuntu will update Mitaka packaging. + case $::osfamily { + 'Debian': { + class { '::nova::network::neutron': + neutron_auth_url => 'http://127.0.0.1:35357', + neutron_auth_plugin => 'password', + neutron_password => 'a_big_secret', + } + } + 'RedHat': { + class { '::nova::network::neutron': + neutron_password => 'a_big_secret', + } + } + default: { + fail("Unsupported osfamily (${::osfamily})") + } } } diff --git a/manifests/repos.pp b/manifests/repos.pp index 85fe21a0e..2defdfff0 100644 --- a/manifests/repos.pp +++ b/manifests/repos.pp @@ -22,13 +22,13 @@ class openstack_integration::repos { manage_priorities => false, manage_rdo => false, repo_hash => { - 'mitaka-current-passed-ci' => { - 'baseurl' => 'http://trunk.rdoproject.org/centos7/current-passed-ci/', - 'descr' => 'Mitaka tested', + 'mitaka-current' => { + 'baseurl' => 'https://trunk.rdoproject.org/centos7/5b/14/5b14d1e1de78ca59521b953f7e4e345665e6cea8_563ab7b1/', + 'descr' => 'Mitaka Current', 'gpgcheck' => 'no', 'priority' => 1, }, - 'delorean-deps' => { + 'delorean-deps' => { 'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/', 'descr' => 'Liberty delorean-deps', 'gpgcheck' => 'no',