[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to automate OpenShift installation onto OpenStack Icehouse



Hi all
I am trying to automate deploy OpenShift Origin into OpenStack by Heat using this template:
https://github.com/openstack/heat-templates/blob/master/openshift-origin/centos65/OpenShift.yaml 
I have used a centos-6.5-x86_64 image with preinstalled cfntools.

I can see the following into the /var/log/configure_origin.log:

...
...
Info: /Stage[main]/Openshift_origin::Plugins::Auth::Htpasswd/File[Auth plugin config]: Scheduling refresh of Service[openshift-broker]
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openshift-origin-cartridge-python' returned 1: Error: Package: python33-mod_wsgi-3.4-9.el6.x86_64 (origin-deps)
           Requires: httpd24-httpd-mmn = 20120211x8664
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Error: /Stage[main]/Openshift_origin::Cartridges/Openshift_origin::Cartridges::Openshiftcartridge[python]/Package[openshift-origin-cartridge-python]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openshift-origin-cartridge-python' returned 1: Error: Package: python33-mod_wsgi-3.4-9.el6.x86_64 (origin-deps)
           Requires: httpd24-httpd-mmn = 20120211x8664
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


What does this error mean?


Moreover, despite that error the installation process continues:
Notice: /Stage[main]/Openshift_origin::Plugins::Dns::Nsupdate/File[plugin openshift-origin-dns-nsupdate.conf]/ensure: defined content as '{md5}2b8e9cfc7f82dc303c3a6fbd9fa14fcb'
Notice: /Stage[main]/Openshift_origin::Plugins::Frontend::Apache_mod_rewrite/Package[rubygem-openshift-origin-frontend-apache-mod-rewrite]/ensure: created
Notice: /Stage[main]/Openshift_origin::Cartridges/Openshift_origin::Cartridges::Openshiftcartridge[cron]/Package[openshift-origin-cartridge-cron]/ensure: created
Info: /Stage[main]/Openshift_origin::Cartridges/Openshift_origin::Cartridges::Openshiftcartridge[cron]/Package[openshift-origin-cartridge-cron]: Scheduling refresh of Service[ruby193-mcollective]

but now it is blocked on the last row.

Can you help me to solve both errors?

Thank you very much,
Giuseppe




2015-03-21 18:00 GMT+01:00 Dariusz Chrząścik <dariusz chrzascik com>:
Hello,

I reckon that you can leverge one of the infrastructure automation tools such as Ansible, Puppet, Chef, etc and their specific plugin to talk with OpenStack. In my case, I have used Chef and knife-openstack plugin to spin off virtual machines, preconfigure them (ssh keys, sudo, etc) and then install OpenShift using oo-install expressed as a part of recipe. With that approach I can easily extend the basic broker / node roles with such capabilities as installing custom, in-house built cartridges or integrating OpenShft authentication mechanism with Keystone by this awesome plugin (https://github.com/RedHatEMEA/c-keystoneclient).


Regards,
Dariusz


On 18/03/15 16:09, Giuseppe Galeota wrote:
Dear all,
is there a way to automatically install OpenShift Origin onto OpenStack Icehouse?
That is, I am reading many docs which refer to Heat. So, I would know if Heat is the only way I can walk to do that.

Thank you,
Giuseppe


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]