Comments (6)
It looks like an issue with rabbitmq. My two suggestions are 1) try upgrading your version of the rabbitmq module. You may have to force-upgrade. 2) Try adding a host entry for your host's hostname pointing to 127.0.0.1, sometimes firewall issues break rabbitmq even within a single host.
Secondly, have you a roadmap or a date for the upgrade to kilo release?
This module has to wait on its dependent modules to be ready for release, which I believe is at least a few weeks out.
from puppetlabs-openstack.
@cmurphy I am getting the following error while running packstack --answer-file=answer-file. Please help.
192.168.2.20_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.2.20_controller.pp
Error: Failed to apply catalog: Execution of '/usr/bin/openstack image list --quiet --format csv --long' returned 1: Service Unavailable (HTTP 503) (tried 36, for a total of 170 seconds)
from puppetlabs-openstack.
Hi,
I have resolve rabbitmq issue with install the last version but I still have error with horizon on first run:
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: 674 static files copied.
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: CommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: 'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' or with staticfiles.
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: Found 'compress' tags in:
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: Compressing...
Error: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]: Failed to call refresh: /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]
Error: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]: /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]
I can't access to horizon I have this message :
"Something went wrong!"
"An unexpected error has occurred. Try refreshing the page. If that doesn't "
"help, contact your local administrator."
When I run /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force
I got :
674 static files copied.
Found 'compress' tags in:
/usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
CommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: 'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' or with staticfiles.
I have simplified my yaml for test :
---
classes:
- openstack::role::controller
# - openstack::role::storage
# - openstack::role::network
# - openstack::role::compute
# - openstack::role::allinone
- openstack
openstack::region: 'openstack'
######## Networks
openstack::network::api: '10.0.249.0/24'
openstack::network::external: '10.0.249.0/24'
openstack::network::management: '10.0.249.0/24'
openstack::network::data: '10.0.249.0/24'
######## Fixed IPs (controllers)
openstack::controller::address::api: '10.0.249.148'
openstack::controller::address::management: '10.0.249.148'
openstack::storage::address::api: '10.0.249.148'
openstack::storage::address::management: '10.0.249.148'
######## Database
openstack::mysql::root_password: 'spam-gak'
openstack::mysql::service_password: 'fuva-wax'
openstack::mysql::allowed_hosts: ['localhost', '127.0.0.1', '10.0.249.%']
openstack::mysql::keystone::user: 'keystone'
openstack::mysql::keystone::pass: 'fuva-wax'
openstack::mysql::cinder::user: 'cinder'
openstack::mysql::cinder::pass: 'fuva-wax'
openstack::mysql::glance::user: 'glance'
openstack::mysql::glance::pass: 'fuva-wax'
openstack::glance::api_servers: ['10.0.249.148:9292']
openstack::mysql::nova::user: 'nova'
openstack::mysql::nova::pass: 'fuva-wax'
openstack::mysql::neutron::user: 'neutron'
openstack::mysql::neutron::pass: 'fuva-wax'
openstack::mysql::heat::user: 'heat'
openstack::mysql::heat::pass: 'fuva-wax'
######## RabbitMQ
openstack::rabbitmq::user: 'openstack'
openstack::rabbitmq::password: 'pose-vix'
openstack::rabbitmq::hosts: ['10.0.249.148:5672']
######## Keystone
openstack::keystone::admin_token: 'sosp-kyl'
openstack::keystone::admin_email: '[email protected]'
openstack::keystone::admin_password: 'fyby-tet'
openstack::keystone::tenants:
"test":
description: "Test tenant"
"test2":
description: "Test tenant"
openstack::keystone::users:
"test":
password: "abc123"
tenant: "test"
email: "[email protected]"
admin: true
"demo":
password: "abc123"
tenant: "test"
email: "[email protected]"
admin: false
"demo2":
password: "abc123"
tenant: "test2"
email: "[email protected]"
admin: false
######## Glance
openstack::images:
Cirros:
container_format: 'bare'
disk_format: 'qcow2'
source: 'http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img'
openstack::glance::password: 'na-mu-va'
######## Cinder
openstack::cinder::password: 'zi-co-se'
openstack::cinder::volume_size: '8G'
######## Swift
openstack::swift::password: 'dexc-flo'
openstack::swift::hash_suffix: 'pop-bang'
######## Nova
openstack::nova::libvirt_type: 'kvm'
openstack::nova::password: 'quuk-paj'
######## Neutron
openstack::neutron::password: 'whi-rtuz'
openstack::neutron::shared_secret: 'by-sa-bo'
openstack::neutron::core_plugin: 'ml2'
openstack::neutron::service_plugins: ['router', 'firewall', 'lbaas', 'vpnaas', 'metering']
######## Ceilometer
openstack::ceilometer::address::management: '10.0.249.148'
openstack::ceilometer::mongo::username: 'mongo'
openstack::ceilometer::mongo::password: 'mongosecretkey123'
openstack::ceilometer::password: 'whi-truz'
openstack::ceilometer::meteringsecret: 'ceilometersecretkey'
######## Heat
openstack::heat::password: 'zap-bang'
openstack::heat::encryption_key: 'heatsecretkey123'
######## Horizon
openstack::horizon::secret_key: 'whu-ghuk'
openstack::horizon::allowed_hosts: ['localhost', '127.0.0.1', '*'] # I have add '*'
######## Tempest
openstack::tempest::configure_images : true
openstack::tempest::image_name : 'Cirros'
openstack::tempest::image_name_alt : 'Cirros'
openstack::tempest::username : 'demo'
openstack::tempest::username_alt : 'demo2'
openstack::tempest::username_admin : 'test'
openstack::tempest::configure_network : true
openstack::tempest::public_network_name : 'public'
openstack::tempest::cinder_available : true
openstack::tempest::glance_available : true
openstack::tempest::horizon_available : true
openstack::tempest::nova_available : true
openstack::tempest::neutron_available : true
openstack::tempest::heat_available : false
openstack::tempest::swift_available : false
######## Log levels
openstack::verbose: 'True'
openstack::debug: 'True'
10.0.249.148 is my real IP on network and I have only one interface one my server.
You can see my puppet module version here :
├── duritong-sysctl (v0.0.8) invalid
├── erlang (???)
├── memcached (???)
├── nanliu-staging (v1.0.2)
├── puppetlabs-apache (v1.2.0)
├── puppetlabs-apt (v1.4.1) invalid
├── puppetlabs-concat (v1.1.2)
├── puppetlabs-firewall (v1.6.0)
├── puppetlabs-inifile (v1.1.4)
├── puppetlabs-mongodb (v0.10.0)
├── puppetlabs-mysql (v3.3.0)
├── puppetlabs-ntp (v3.0.4)
├── puppetlabs-openstack (v5.0.2)
├── puppetlabs-postgresql (v4.0.0) invalid
├── puppetlabs-puppetdb (v4.0.0)
├── puppetlabs-rabbitmq (v5.2.1) invalid
├── puppetlabs-stdlib (v4.3.2)
├── qpid (???)
├── rsync (???)
├── ssh (???)
├── stackforge-ceilometer (v5.0.0)
├── stackforge-cinder (v5.0.0)
├── stackforge-glance (v5.0.0)
├── stackforge-heat (v5.0.0)
├── stackforge-horizon (v5.0.0)
├── stackforge-keystone (v5.0.0)
├── stackforge-neutron (v5.0.0)
├── stackforge-nova (v5.0.0)
├── stackforge-openstack_extras (v5.0.0)
├── stackforge-openstacklib (v5.0.0)
├── stackforge-swift (v5.0.0)
├── stackforge-tempest (v5.0.0)
├── stackforge-vswitch (v1.0.0)
├── stahnma-epel (v1.0.2)
├── vcsrepo (???)
└── xinetd (???)
And my PuppetFile for r10k :
forge "http://forge.puppetlabs.com"
## The core OpenStack modules
mod "openstack",
:git => "git://github.com/puppetlabs/puppetlabs-openstack",
:ref => "master"
mod "keystone",
:git => "git://github.com/stackforge/puppet-keystone",
:ref => "master"
mod "swift",
:git => "git://github.com/stackforge/puppet-swift",
:ref => "master"
mod "glance",
:git => "git://github.com/stackforge/puppet-glance",
:ref => "master"
mod "cinder",
:git => "git://github.com/stackforge/puppet-cinder",
:ref => "master"
mod "neutron",
:git => "git://github.com/stackforge/puppet-neutron",
:ref => "master"
mod "nova",
:git => "git://github.com/stackforge/puppet-nova",
:ref => "master"
mod "heat",
:git => "git://github.com/stackforge/puppet-heat",
:ref => "master"
mod "ceilometer",
:git => "git://github.com/stackforge/puppet-ceilometer",
:ref => "master"
mod "horizon",
:git => "git://github.com/stackforge/puppet-horizon",
:ref => "master"
mod "openstacklib",
:git => "git://github.com/stackforge/puppet-openstacklib",
:ref => "master"
mod "openstack_extras",
:git => "git://github.com/stackforge/puppet-openstack_extras",
:ref => "master"
mod "tempest",
:git => "git://github.com/stackforge/puppet-tempest",
:ref => "master"
mod "vswitch",
:git => "git://github.com/stackforge/puppet-vswitch",
:ref => "master"
## R10K doesn't handle dependencies, so let's handle them here
# pointing to as many stable projects as possible
# TODO automate this dependency list
mod "apache",
:git => "git://github.com/puppetlabs/puppetlabs-apache",
:ref => "1.2.x"
mod "epel",
:git => "git://github.com/stahnma/puppet-module-epel",
:ref => "master"
mod "erlang",
:git => "git://github.com/garethr/garethr-erlang",
:ref => "master"
mod "inifile",
:git => "git://github.com/puppetlabs/puppetlabs-inifile",
:ref => "1.1.x"
mod "mysql",
:git => "git://github.com/puppetlabs/puppetlabs-mysql",
:ref => "3.3.x"
mod "stdlib",
:git => "git://github.com/puppetlabs/puppetlabs-stdlib",
:ref => "4.3.x"
mod "rsync",
:git => "git://github.com/puppetlabs/puppetlabs-rsync",
:ref => "0.2.0"
mod "xinetd",
:git => "git://github.com/puppetlabs/puppetlabs-xinetd",
:ref => "1.2.0"
mod "concat",
:git => "git://github.com/puppetlabs/puppetlabs-concat",
:ref => "1.1.x"
mod "memcached",
:git => "git://github.com/saz/puppet-memcached",
:ref => "658374848a6d2cf07f0bf714bc34709e9d0ee109"
mod "ssh",
:git => "git://github.com/saz/puppet-ssh",
:ref => "a0f5d5da20c91775c76c77d3b57b41f4245a260a"
mod "qpid",
:git => "git://github.com/dprince/puppet-qpid",
:ref => "1.0.2"
mod "sysctl",
:git => "git://github.com/duritong/puppet-sysctl"
mod "rabbitmq",
:git => "git://github.com/puppetlabs/puppetlabs-rabbitmq",
:ref => "master" # 3.0.0
mod "staging",
:git => "git://github.com/nanliu/puppet-staging",
:ref => "1.0.2"
mod "vcsrepo",
:git => "git://github.com/puppetlabs/puppetlabs-vcsrepo",
:ref => "0.2.0"
# indirect dependencies
mod "firewall",
:git => "git://github.com/puppetlabs/puppetlabs-firewall",
:ref => "master"
mod "apt",
:git => "git://github.com/puppetlabs/puppetlabs-apt",
:ref => "1.4.x"
mod "mongodb",
:git => "git://github.com/puppetlabs/puppetlabs-mongodb",
:ref => "0.10.0"
mod "ntp",
:git => "git://github.com/puppetlabs/puppetlabs-ntp",
:ref => "3.0.x"
mod "postgresql",
:git => "git://github.com/puppetlabs/puppetlabs-postgresql",
:ref => "4.0.x"
mod "puppetdb",
:git => "git://github.com/puppetlabs/puppetlabs-puppetdb",
:ref => "4.0.0"
I have tried to install on Debian 7.5 and 8.0 and I got:
Error: Could not apply complete catalog: Found 1 dependency cycle:
(Anchor[apt::source::debian_wheezy] => Apt::Source[debian_wheezy] => Apt::Source[debian_wheezy_backports] => File[debian_wheezy_backports.list] => Exec[apt_update] => Class[Apt::Update] => Anchor[apt::source::debian_wheezy])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
Did you manage to allow installation on Debian ?
Best regards.
from puppetlabs-openstack.
I have the some problem with horizon, the problem is in the stackforge/puppet-horizon repo.
The fix which works for me is:
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -315,7 +315,7 @@ class horizon(
}
exec { 'refresh_horizon_django_cache':
- command => "${::horizon::params::manage_py} collectstatic --noinput --clear && ${::horizon::params::manage_py} compress --force",
- command => "${::horizon::params::manage_py} collectstatic --noinput && ${::horizon::params::manage_py} compress --force",
refreshonly => true,
require => [Package['python-lesscpy'], Package['horizon']],
}
from puppetlabs-openstack.
Agreed with @mmailand, this is an issue with the puppet-horizon module, not this module.
@mmailand would you please submit your patch to the puppet-horizon module or report the bug on launchpad? Thank you
from puppetlabs-openstack.
@cmurphy https://bugs.launchpad.net/puppet-horizon/+bug/1466813
from puppetlabs-openstack.
Related Issues (20)
- Missing packages HOT 2
- Juno - Glance is not correctly configured HOT 3
- Install OpenStack using VLAN
- How to install cinder on multiple servers HOT 1
- Install and configure ceph HOT 1
- Err. Unable to start neutron server on controller server HOT 1
- Having issues applying openstack controller role.
- puppet master and agent configuration - openstack HOT 1
- Facing neutron-lbaas is not working HOT 2
- puppet-ironic
- Puppet seems to use Keystone v3 API, fails to create Neutron user HOT 2
- Add Kilo support
- Kilo Download
- Liberty release HOT 3
- Trying to install compute role on a machine HOT 1
- Error while install controller node
- Can openstack be installed on physical servers using this module?
- user n password ..
- OpenStack Pike
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppetlabs-openstack.