Bug #8341
closed/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!': 500 Internal Server Error (RestClient::InternalServerError)
Description
[root@foreman ~]# staypuft-installer
Networking setup:
Network interface: 'eth0'
IP address: '10.103.118.161'
Network mask: '255.255.252.0'
Network address: '10.103.116.0'
Host Gateway: '10.103.116.1'
DHCP range start: '10.103.118.162'
DHCP range end: '10.103.119.254'
DHCP Gateway: '10.103.118.161'
DNS forwarder: '10.103.118.161'
Domain: 'lss.emc.com'
Foreman URL: 'https://foreman.lss.emc.com'
NTP sync host: '1.centos.pool.ntp.org'
Timezone: 'America/New_York'
Configure networking on this machine: ✓
Configure firewall on this machine: ✓
The installer can configure the networking and firewall rules on this machine with the above configuration. Default values are populated from the this machine's existing networking configuration.
If you DO NOT want to configure networking please set 'Configure networking on this machine' to No before proceeding. Do this by selecting option 'Do not configure networking' from the list below.
How would you like to proceed?:
1. Proceed with the above values
2. Change Network interface
3. Change IP address
4. Change Network mask
5. Change Network address
6. Change Host Gateway
7. Change DHCP range start
8. Change DHCP range end
9. Change DHCP Gateway
10. Change DNS forwarder
11. Change Domain
12. Change Foreman URL
13. Change NTP sync host
14. Change Timezone
15. Do not configure networking
16. Do not configure firewall
17. Cancel Installation
13
new value for NTP sync host
10.106.16.22
Networking setup:
Network interface: 'eth0'
IP address: '10.103.118.161'
Network mask: '255.255.252.0'
Network address: '10.103.116.0'
Host Gateway: '10.103.116.1'
DHCP range start: '10.103.118.162'
DHCP range end: '10.103.119.254'
DHCP Gateway: '10.103.118.161'
DNS forwarder: '10.103.118.161'
Domain: 'lss.emc.com'
Foreman URL: 'https://foreman.lss.emc.com'
NTP sync host: '10.106.16.22'
Timezone: 'America/New_York'
Configure networking on this machine: ✓
Configure firewall on this machine: ✓
The installer can configure the networking and firewall rules on this machine with the above configuration. Default values are populated from the this machine's existing networking configuration.
If you DO NOT want to configure networking please set 'Configure networking on this machine' to No before proceeding. Do this by selecting option 'Do not configure networking' from the list below.
How would you like to proceed?:
1. Proceed with the above values
2. Change Network interface
3. Change IP address
4. Change Network mask
5. Change Network address
6. Change Host Gateway
7. Change DHCP range start
8. Change DHCP range end
9. Change DHCP Gateway
10. Change DNS forwarder
11. Change Domain
12. Change Foreman URL
13. Change NTP sync host
14. Change Timezone
15. Do not configure networking
16. Do not configure firewall
17. Cancel Installation
1
Configure client authentication
SSH public key: ''
Root password: '*******************************************'
Please set a default root password for newly provisioned machines. If you choose not to set a password, it will be generated randomly. The password must be a minimum of 8 characters. You can also set a public ssh key which will be deployed to newly provisioned machines.
How would you like to proceed?:
1. Proceed with the above values
2. Change SSH public key
3. Change Root password
4. Toggle Root password visibility
3
new value for root password
***
enter new root password again to confirm
**
Configure client authentication
SSH public key: ''
Root password: '********'
Please set a default root password for newly provisioned machines. If you choose not to set a password, it will be generated randomly. The password must be a minimum of 8 characters. You can also set a public ssh key which will be deployed to newly provisioned machines.
How would you like to proceed?:
1. Proceed with the above values
2. Change SSH public key
3. Change Root password
4. Toggle Root password visibility
1
Starting networking setup
Networking setup has finished
Installing Done [100%] [............................................................................].Starting configuration...
remote: Counting objects: 9197, done.
remote: Compressing objects: 100% (4399/4399), done.
remote: Total 9197 (delta 3744), reused 9197 (delta 3744)
Receiving objects: 100% (9197/9197), 2.12 MiB, done.
Resolving deltas: 100% (3744/3744), done.
remote: Counting objects: 4074, done.
remote: Total 4074 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (4074/4074), 11.26 MiB | 8.26 MiB/s, done.
Resolving deltas: 100% (1102/1102), done.
No submodule mapping found in .gitmodules for path 'gluster/vagrant/puppet/modules/apt'
Now you should configure installation media which will be used for provisioning.
Note that if you don't configure it properly, host provisioning won't work until you configure installation media manually.
Enter RHEL repo path:
1. Set RHEL repo path (http or https URL): http://
2. Proceed with configuration
3. Skip this step (provisioning won't work)
3
Enter your subscription manager credentials:
1. Subscription manager username:
2. Subscription manager password:
3. Comma separated repositories: rhel-7-server-openstack-5.0-rpms
4. Subscription manager pool (recommended):
5. Subscription manager proxy hostname:
6. Subscription manager proxy port:
7. Subscription manager proxy username:
8. Subscription manager proxy password:
9. Proceed with configuration
10. Skip this step (provisioning won't subscribe your machines)
10
Starting to seed provisioning data
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!': 500 Internal Server Error (RestClient::InternalServerError)
from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `transmit'
from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'
from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/resource.rb:71:in `post'
from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/base.rb:78:in `send'
from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/base.rb:78:in `http_call'
from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/base.rb:61:in `perform_call'
from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/resources/subnet.rb:49:in `create'
from /usr/share/foreman-installer/hooks/lib/foreman.rb:73:in `show_or_ensure'
from /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:37:in `seed'
from /usr/share/foreman-installer/hooks/post/10-setup_provisioning.rb:29:in `load'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/hook_context.rb:13:in `instance_exec'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/hook_context.rb:13:in `execute'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/hooking.rb:48:in `execute'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/hooking.rb:47:in `each_pair'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/hooking.rb:47:in `execute'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:339:in `run_installation'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/exit_handler.rb:24:in `call'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/exit_handler.rb:24:in `exit'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:122:in `exit'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:338:in `run_installation'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:109:in `execute'
from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:in `run'
from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:126:in `run'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:116:in `run'
from /usr/sbin/staypuft-installer:55
and then i cannot "create new host" on web GUI. cou;d soemone help to troubleshoot?