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

Re: Failed creating another domain on OpenShift Origin v3



Hi Harrison and Khalid,

What Mike is referring to (when he says we patched it) is creating domains using the web GUI. It's also possible to add another domain in Origin V3 by using RHC's "domain create" command. That works out of the box, without patching.

For example:
$ rhc domain create newdomain

Mike will post the patch we came up with as soon as he gets the chance.

Best,
Eugene


On Fri, Jun 6, 2014 at 10:20 AM, Michael.McConachie <Michael McConachie hotmail com> wrote:
Hi Harrison, we patched that last week and it works as expected. I'll send the changes when I get to work .


Sent from my T-Mobile 4G LTE Device
-------- Original message --------
From: "N. Harrison Ripps"
Date:2014/06/06 10:10 (GMT-05:00)
To: Khalid Adisendjaja
Subject: Re: Failed creating another domain on OpenShift Origin v3

Hey Khalid--

On Jun 6, 2014, at 6:03, Khalid Adisendjaja <khalid think web id> wrote:

> I have succesfully installed OpenShift Origin release 3 using Puppet deployment method as describe on
> http://openshift.github.io/documentation/oo_deployment_guide_puppet.html
>
> OO installed on Single host (broker+console+node)
>
> I can not create new domains other than the domain that has been made ​​previously to create a new application.
> Only returning a blank page after submission, no error code reveal to explain what just happened
>
> I've tried to add some configuration options DEFAULT_MAX_DOMAINS = "10" on /etc/openshift/broker.conf
> but nothing happened

Hopefully some other OpenShifters can correct me if I'm wrong, but I believe that only one domain per user is supported in Origin v3.

>
> This is my console error log
> # tail /var/log/openshift/console/httpd/error_log
>   passenger (3.0.21) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
>   passenger (3.0.21) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
>   passenger (3.0.21) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
>   passenger (3.0.21) helper-scripts/passenger-spawn-server:102:in `<main>' (pid:18114)
> [Wed Jun 04 23:30:19.991309 2014] [access_compat:error] [pid 2080] [client 127.0.0.1:30340] AH01797: client denied by server configuration: /var/www/html/console/domains, referer:
> https://broker.example.com/console/settings
>
> [Wed Jun 04 23:30:19.992127 2014] [access_compat:error] [pid 2080] [client 127.0.0.1:30340] AH01797: client denied by server configuration: /var/www/html/console/domains, referer:
> https://broker.example.com/console/settings
>
> [Wed Jun 04 23:30:35.624703 2014] [access_compat:error] [pid 2081] [client 127.0.0.1:30341] AH01797: client denied by server configuration: /var/www/html/console/settings, referer:
> https://broker.example.com/console/applications
>
> [Wed Jun 04 23:30:35.625508 2014] [access_compat:error] [pid 2081] [client 127.0.0.1:30341] AH01797: client denied by server configuration: /var/www/html/console/settings, referer:
> https://broker.example.com/console/applications
>
> [Wed Jun 04 23:30:43.951767 2014] [access_compat:error] [pid 18110] [client 127.0.0.1:30349] AH01797: client denied by server configuration: /var/www/html/console/domains, referer:
> https://broker.example.com/console/settings
>
> [Wed Jun 04 23:30:43.952552 2014] [access_compat:error] [pid 18110] [client 127.0.0.1:30349] AH01797: client denied by server configuration: /var/www/html/console/domains, referer:
> https://broker.example.com/console/settings
>
> And this is my oo-diagnostics -v log
>
> [root broker
>
>           console]# oo-diagnostics -v
>
> INFO:
>
>           loading list of installed packages
>
> INFO:
>
>           OpenShift broker installed.
>
> INFO:
>
>           OpenShift node installed.
>
> /usr/share/gems/gems/psych-2.0.0/lib/psych.rb:98:
>
>           warning: already initialized constant Psych::VERSION
>
> /usr/share/ruby/vendor_ruby/psych.rb:98:
>
>           warning: previous definition of VERSION was here
>
> /usr/share/gems/gems/psych-2.0.0/lib/psych.rb:101:
>
>           warning: already initialized constant Psych::LIBYAML_VERSION
>
> /usr/share/ruby/vendor_ruby/psych.rb:101:
>
>           warning: previous definition of LIBYAML_VERSION was here
>
> INFO:
>
>           running: prereq_dns_server_available
>
> INFO:
>
>           checking that the first server in /etc/resolv.conf responds
>
> INFO:
>
>           running: test_enterprise_rpms
>
> INFO:
>
>           skipping test_enterprise_rpms
>
> INFO:
>
>           running: test_selinux_policy_rpm
>
> INFO:
>
>           running: test_selinux_enabled
>
> INFO:
>
>           running: test_broker_cache_permissions
>
> INFO:
>
>           broker application cache permissions appear fine
>
> INFO:
>
>           running: test_node_profiles_districts_from_broker
>
> INFO:
>
>           checking node profiles via MCollective
>
> INFO:
>
>           profile for broker.think.lab: small
>
> WARN:
>
>           test_node_profiles_districts_from_broker
>
>
>             

> No
>
>           districts are defined. Districts should be used in any
>           production installation.
>
>
>             

> Please
>
>           consult the Administration Guide.
>
>
> INFO:
>
>           skipping test_node_profiles_districts_from_broker
>
> INFO:
>
>           running: test_broker_accept_scripts
>
> INFO:
>
>           running oo-accept-broker
>
> INFO:
>
>           oo-accept-broker ran without error:
>
> --BEGIN
>
>           OUTPUT--
>
> NOTICE:
>
>           SELinux is Enforcing
>
> NOTICE:
>
>           SELinux is  Enforcing
>
> PASS
>
> --END
>
>           oo-accept-broker OUTPUT--
>
> INFO:
>
>           running oo-accept-systems -w 2
>
> INFO:
>
>           oo-accept-systems -w 2 ran without error:
>
> --BEGIN
>
>           OUTPUT--
>
> PASS
>
> --END
>
>           oo-accept-systems -w 2 OUTPUT--
>
> INFO:
>
>           running: test_node_accept_scripts
>
> INFO:
>
>           running oo-accept-node
>
> FAIL:
>
>           run_script
>
> oo-accept-node
>
>           had errors:
>
> --BEGIN
>
>           OUTPUT--
>
> FAIL:
>
>           Could not get SELinux context for mcollective
>
> FAIL:
>
>           Could not get SELinux context for oddjobd
>
> FAIL:
>
>           Process 1304 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1306 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1314 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1315 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1380 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1410 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1469 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1473 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1477 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1492 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1499 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1517 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1527 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1531 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1535 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1538 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1544 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1548 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1554 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1573 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1581 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1583 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1586 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1589 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1596 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1602 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1609 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1611 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1625 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1629 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1633 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1657 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1692 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1699 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1704 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1792 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 1842 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 2272 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 2275 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 2276 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 15610 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           Process 18438 is owned by a gear that's no longer on the
>           system, uid: 1000
>
> FAIL:
>
>           directory 538f1dd69b50cc66a4000034 doesn't have a .ssh
>           directory
>
> FAIL:
>
>           directory 538f1dd69b50cc66a4000034 doesn't have a .env
>           directory
>
> FAIL:
>
>           directory 538f1dd69b50cc66a4000034 doesn't have a .sandbox
>           directory
>
> FAIL:
>
>           directory 538f1dd69b50cc66a4000034 doesn't have a .tmp
>           directory
>
> FAIL:
>
>           directory 538f1dd69b50cc66a4000034 doesn't have a cartridge
>           directory
>
> FAIL:
>
>           directory 538f1dd69b50cc66a4000034 doesn't have an associated
>           user
>
> FAIL:
>
>           directory 538f23d29b50cc886c00001d doesn't have a .ssh
>           directory
>
> FAIL:
>
>           directory 538f23d29b50cc886c00001d doesn't have a .env
>           directory
>
> FAIL:
>
>           directory 538f23d29b50cc886c00001d doesn't have a .sandbox
>           directory
>
> FAIL:
>
>           directory 538f23d29b50cc886c00001d doesn't have a .tmp
>           directory
>
> FAIL:
>
>           directory 538f23d29b50cc886c00001d doesn't have a cartridge
>           directory
>
> FAIL:
>
>           directory 538f23d29b50cc886c00001d doesn't have an associated
>           user
>
> FAIL:
>
>           directory 538f22a29b50cc886c000003 doesn't have a .ssh
>           directory
>
> FAIL:
>
>           directory 538f22a29b50cc886c000003 doesn't have a .env
>           directory
>
> FAIL:
>
>           directory 538f22a29b50cc886c000003 doesn't have a .sandbox
>           directory
>
> FAIL:
>
>           directory 538f22a29b50cc886c000003 doesn't have a .tmp
>           directory
>
> FAIL:
>
>           directory 538f22a29b50cc886c000003 doesn't have a cartridge
>           directory
>
> FAIL:
>
>           directory 538f22a29b50cc886c000003 doesn't have an associated
>           user
>
> FAIL:
>
>           directory 538f193c9b50cc66a4000002 doesn't have a .ssh
>           directory
>
> FAIL:
>
>           directory 538f193c9b50cc66a4000002 doesn't have a .env
>           directory
>
> FAIL:
>
>           directory 538f193c9b50cc66a4000002 doesn't have a .sandbox
>           directory
>
> FAIL:
>
>           directory 538f193c9b50cc66a4000002 doesn't have a .tmp
>           directory
>
> FAIL:
>
>           directory 538f193c9b50cc66a4000002 doesn't have a cartridge
>           directory
>
> FAIL:
>
>           directory 538f193c9b50cc66a4000002 doesn't have an associated
>           user
>
> 68
>
>           ERRORS
>
>
> --END
>
>           oo-accept-node OUTPUT--
>
> INFO:
>
>           running: test_broker_httpd_error_log
>
> INFO:
>
>           running: test_broker_passenger_ps
>
> INFO:
>
>           checking the broker application process tree
>
> INFO:
>
>           running: test_for_nonrpm_rubygems
>
> INFO:
>
>           skipping test_for_nonrpm_rubygems
>
> INFO:
>
>           running: test_for_multiple_gem_versions
>
> INFO:
>
>           checking for presence of gem-installed rubygems
>
> INFO:
>
>           running: test_node_httpd_error_log
>
> INFO:
>
>           running: test_node_containerization_plugin
>
> INFO:
>
>           running: test_node_mco_log
>
> sed:
>
>           can't read /var/log/mcollective.log: No such file or directory
>
> INFO:
>
>           running: test_pam_openshift
>
> INFO:
>
>           running: test_services_enabled
>
> INFO:
>
>           checking that required services are running now
>
> INFO:
>
>           checking that required services are enabled at boot
>
> FAIL:
>
>           test_services_enabled
>
>
>           

> The
>
>           following service(s) are not started at boot time:
>
>
>             

> cgconfig,
>
>           cgred
>
>
>           

> These
>
>           services are required for OpenShift functionality.
>
>
>           

> Please
>
>           ensure that they start at boot.
>
>
> INFO:
>
>           running: test_node_quota_bug
>
> INFO:
>
>           skipping test_node_quota_bug
>
> INFO:
>
>           running: test_vhost_servernames
>
> INFO:
>
>           checking for vhost interference problems
>
> WARN:
>
>           test_vhost_servernames
>
>
>             

> The
>
>           VirtualHost defined by default in /etc/httpd/conf.d/ssl.conf
>           is not needed
>
>
>             

> and
>
>           can cause spurious warnings. Please remove it by running this
>           command:
>
>
>
>               

> sed
>
>           -i '/VirtualHost/,/VirtualHost/ d' /etc/httpd/conf.d/ssl.conf
>
>
> INFO:
>
>           running: test_altered_package_owned_configs
>
> WARN:
>
>           test_altered_package_owned_configs
>
>
>                

> RPM
>
>           package owned configuration files have been altered:
>
>
>                  
>  /etc/cups/cups-browsed.conf.rpmnew
>
>
>                

> Ensure
>
>           any package-owned configuration files which have been
>
>
>                

> altered
>
>           are accurate. This may require a manual merge of
>
>
>                

> your
>
>           previous alterations. Once you are comfortable with the merge,
>
>
>                

> remove
>
>           the reported .rpm* configuration file (or you will continue
>
>
>                

> to
>
>           see this warning each time you run the diagnostic test).
>
>
> INFO:
>
>           running: test_broken_httpd_version
>
> INFO:
>
>           running: test_usergroups_enabled
>
> INFO:
>
>           running: test_mcollective_context
>
> INFO:
>
>           running: test_mcollective_bad_facts
>
> INFO:
>
>           running: test_auth_conf_files
>
> INFO:
>
>           running: test_broker_certificate
>
> WARN:
>
>           test_broker_certificate
>
> Using
>
>           a self-signed certificate for the broker
>
> INFO:
>
>           running: test_abrt_addon_python
>
> INFO:
>
>           running: test_node_frontend_clash
>
> INFO:
>
>           running: test_yum_configuration
>
> 4
>           WARNINGS
>
> 2
>           ERRORS
>
>
>
>
>
>
>
>
>
> --
> Khalid Adisendjaja
> Web Developer
>
> PT Thinksmart Ide Brajendra
> Kebayoran Baru
> Jakarta Selatan Indonesia
> Email: khalid think web id
> IM: kh411d (Yahoo)
> Professional Profile
> Personal Website
> Follow Me!
> <Mail Attachment.gif>
>
> See who we know in common     Want a signature like this? _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users


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

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



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