[foreman-users] Cluster installation CentOS 7.4 network problems

2017-11-23 Thread Vadim Bulst
tl enable ${puppet_unit}
/sbin/chkconfig --level 345 puppet on

# export a custom fact called 'is_installer' to allow detection of the 
installer environment in Puppet modules
export FACTER_is_installer=true
# passing a non-existent tag like "no_such_tag" to the puppet agent only 
initializes the node
/opt/puppetlabs/bin/puppet agent --config /etc/puppetlabs/puppet/puppet.conf 
--onetime --tags no_such_tag --server urzlxdeploy.rz.uni-leipzig.de 
--no-daemonize






sync

# Inform the build system that we are done.
echo "Informing Foreman that we are built"
wget -q -O /dev/null --no-check-certificate 
http://urzlxdeploy.rz.uni-leipzig.de/unattended/built
) 2>&1 | tee /root/install.post.log
exit 0

%end

Thanks in advance for your suggestions.

Cheers,

Vadim


--
Vadim Bulst

Universität Leipzig / URZ
04109  Leipzig, Augustusplatz 10

phone: +49-341-97-33380
mail:vadim.bu...@uni-leipzig.de

--
You received this message because you are subscribed to the Google Groups "Foreman 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Hammer host create

2017-07-27 Thread Vadim Bulst
Hi there,

when i tried to integrate my new compute cluster into foreman with Hammer, 
Foreman / Hammer failed. I did it with the same setup but at least 8 month 
ago. Since then I upgraded Foreman constantly.

Command:

hammer -v -d host create --subnet-id 4 --environment-id 1 --medium-id 12 
--hostgroup-id=56 --partition-table-id 86 --environment-id 1 
--architecture-id 1 --domain-id 5 --puppet-proxy-id 1 --operatingsystem-id 
13 --ip 172.18.144.211 --name polstor01 --mac 24:6e:96:3f:1b:28 --comment 
"(Polaris Storage Node)" --managed 1


System:

Foreman 1.15.2
Centos 7.3
Official SSL-Certificates

Apache-Conf:

# 
# Vhost template in module puppetlabs-apache
# Managed by Puppet
# 


  ServerName urzlxdeploy.rz.uni-leipzig.de
  ## Vhost docroot
  DocumentRoot "/usr/share/foreman/public"

  ## Directories, there should at least be a declaration for 
/usr/share/foreman/public

  
Options SymLinksIfOwnerMatch
AllowOverride None
Require all granted
  

  ## Logging
  ErrorLog "/var/log/httpd/foreman-ssl_error_ssl.log"
  ServerSignature Off
  CustomLog "/var/log/httpd/foreman-ssl_access_ssl.log" combined 

  ## Server aliases
  ServerAlias foreman

  ## SSL directives
  SSLEngine on
  SSLCertificateFile 
 "/etc/ssl/certs/urzlxdeploy-cert-7651137570087527.pem"
  SSLCertificateKeyFile   "/etc/pki/tls/private/urzlxdeploy.pem"
  SSLCertificateChainFile "/etc/ssl/certs/cachain.crt"
  SSLCACertificateFile"/var/lib/puppet/ssl/certs/ca.pem"
  SSLCARevocationFile "/var/lib/puppet/ssl/crl.pem"
  SSLCARevocationCheck"chain"
  SSLVerifyClient optional
  SSLVerifyDepth  3
  SSLOptions +StdEnvVars +ExportCertData

  ## Custom fragment
  # Static public dir serving



  
Allow from all
  
  = 2.4>
Require all granted
  


  PassengerAppRoot /usr/share/foreman
  PassengerRuby /usr/bin/tfm-ruby
  PassengerMinInstances 1
  PassengerStartTimeout 600
  PassengerPreStart https://urzlxdeploy.rz.uni-leipzig.de

  AddDefaultCharset UTF-8



Error messages:

[ INFO 2017-07-27 13:17:47 Init] Initialization of Hammer CLI (0.10.2) has 
started... 

[46/1936]
[DEBUG 2017-07-27 13:17:47 Init] Running at ruby 2.2.2-p95
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/etc/hammer/cli_config.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/etc/hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/etc/hammer/cli.modules.d/foreman_bootdisk.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/etc/hammer/cli.modules.d/foreman_discovery.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/home/urzadmin/.hammer/cli_config.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/home/urzadmin/.hammer/cli.modules.d/foreman.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/home/urzadmin/.hammer/cli.modules.d/foreman_bootdisk.yml has been loaded
[ INFO 2017-07-27 13:17:47 Init] Configuration from the file 
/home/urzadmin/.hammer/cli.modules.d/foreman_discovery.yml has been loaded
[DEBUG 2017-07-27 13:17:47 SSLoptions] SSL options: {
:verify_ssl => true
}
[DEBUG 2017-07-27 13:17:47 API] Global headers: {
:content_type => "application/json",
  :accept => "application/json;version=2",
"Accept-Language" => "en"
}
[DEBUG 2017-07-27 13:17:47 API] Follow redirects: never
[DEBUG 2017-07-27 13:17:47 Connection] Registered: foreman
[ INFO 2017-07-27 13:17:47 Modules] Extension module hammer_cli_foreman 
(0.10.2) loaded
[ INFO 2017-07-27 13:17:47 Modules] Extension module 
hammer_cli_foreman_bootdisk (0.1.3) loaded
[ INFO 2017-07-27 13:17:47 Modules] Extension module 
hammer_cli_foreman_discovery (1.0.0) loaded
[DEBUG 2017-07-27 13:17:47 Init] Using locale 'en'
[DEBUG 2017-07-27 13:17:47 Init] 'mo' files for locale domain 'hammer-cli' 
loaded from 
'/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.10.2/locale'
[DEBUG 2017-07-27 13:17:47 Init] 'mo' files for locale domain 
'hammer-cli-foreman' loaded from 
'/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/locale'
[ INFO 2017-07-27 13:17:47 HammerCLI::MainCommand] Called with options: 
{"option_verbose"=>true, "option_debug"=>true}
[ INFO 2017-07-27 13:17:47 HammerCLIForeman::Host] Called with options: {}
[ INFO 2017-07-27 13:17:47 HammerCLIForeman::Host::CreateCommand] Called 
with options: {"option_managed"=>true, "option_build"=>true, 
"option_enabled"=>true, "option_overwrite"=>true, "option_volume_list"=>[], 
"option_interface_li$
t"=>[], "option_environment_id"=>1, "option_architecture_id"=>1, 
"option_domain_id"=>5, "option_operatingsystem_id"=>13, 
"option_medium_id"=>12, 

[foreman-users] Foreman Web-UI

2017-02-09 Thread Vadim Bulst
Hi there,

I updated to from 13.x to 14.1 and there is something wrong with the UI - 
see screenshot:




I'm using Apache on Centos 7 

Did somebody already submitted a bug report ?

Cheers,

Vadim

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Re: Foreman Ansible

2016-08-03 Thread Vadim Bulst
Thanks KaneK, one step ;) But still no events when i look into the 
production log file. Did you get any further?

Am Mittwoch, 3. August 2016 16:36:04 UTC+2 schrieb KaneK:
>
> The URL is the address you type in to get to your Foreman website eg 
> https://billybob.localdomain.net
>
> If you installed via foreman-installer your wont need the port as it sets 
> up Apache not to need one.
>
>
>
> On Wednesday, 3 August 2016 13:38:23 UTC+1, Vadim Bulst wrote:
>>
>> Hi there,
>>
>> I'm trying to use Ansible with Foreman. 
>> Foreman 1.12.1 and Ansible 1.9 is on SL7 installed. I followed the plugin 
>> instalation instructions but some questions are still open. 
>>
>> FOREMAN_URL: the URL of your Foreman installation (default 
>> “http://localhost:3000”) - I have no service listening on port 3000 - which 
>> port/service should i chose?
>>
>> [root@urzlxdeploy urzadmin]# netstat -tulpn
>> Active Internet connections (only servers)
>> Proto Recv-Q Send-Q Local Address   Foreign Address State 
>>   PID/Program name
>> tcp0  0 127.0.0.1:34409 0.0.0.0:*   
>> LISTEN  5692/Passenger Rack 
>> tcp0  0 0.0.0.0:81400.0.0.0:*   
>> LISTEN  4720/httpd  
>> tcp0  0 0.0.0.0:80800.0.0.0:*   
>> LISTEN  4720/httpd  
>> tcp0  0 0.0.0.0:80  0.0.0.0:*   
>> LISTEN  4720/httpd  
>> tcp0  0 0.0.0.0:22  0.0.0.0:*   
>> LISTEN  1288/sshd   
>> tcp0  0 127.0.0.1:5432  0.0.0.0:*   
>> LISTEN  1584/postgres   
>> tcp0  0 0.0.0.0:443 0.0.0.0:*   
>> LISTEN  4720/httpd  
>> tcp0  0 0.0.0.0:84430.0.0.0:*   
>> LISTEN  4565/ruby   
>> tcp0  0 127.0.0.1:46246 0.0.0.0:*   
>> LISTEN  6846/Passenger Rack 
>> tcp6   0  0 :::22   :::*   
>>  LISTEN  1288/sshd   
>> udp0  0 0.0.0.0:69  0.0.0.0:*   
>> 1299/xinetd 
>> udp0  0 127.0.0.1:323   0.0.0.0:*   
>> 626/chronyd 
>> udp6   0  0 ::1:323 :::* 
>>626/chronyd
>>
>>
>> Cheers,
>>
>> Vadim
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Foreman Ansible

2016-08-03 Thread Vadim Bulst
Hi there,

I'm trying to use Ansible with Foreman. 
Foreman 1.12.1 and Ansible 1.9 is on SL7 installed. I followed the plugin 
instalation instructions but some questions are still open. 

FOREMAN_URL: the URL of your Foreman installation (default 
“http://localhost:3000”) - I have no service listening on port 3000 - which 
port/service should i chose?

[root@urzlxdeploy urzadmin]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State   
PID/Program name
tcp0  0 127.0.0.1:34409 0.0.0.0:*   LISTEN 
 5692/Passenger Rack 
tcp0  0 0.0.0.0:81400.0.0.0:*   LISTEN 
 4720/httpd  
tcp0  0 0.0.0.0:80800.0.0.0:*   LISTEN 
 4720/httpd  
tcp0  0 0.0.0.0:80  0.0.0.0:*   LISTEN 
 4720/httpd  
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN 
 1288/sshd   
tcp0  0 127.0.0.1:5432  0.0.0.0:*   LISTEN 
 1584/postgres   
tcp0  0 0.0.0.0:443 0.0.0.0:*   LISTEN 
 4720/httpd  
tcp0  0 0.0.0.0:84430.0.0.0:*   LISTEN 
 4565/ruby   
tcp0  0 127.0.0.1:46246 0.0.0.0:*   LISTEN 
 6846/Passenger Rack 
tcp6   0  0 :::22   :::*LISTEN 
 1288/sshd   
udp0  0 0.0.0.0:69  0.0.0.0:*   
1299/xinetd 
udp0  0 127.0.0.1:323   0.0.0.0:*   
626/chronyd 
udp6   0  0 ::1:323 :::*   
 626/chronyd


Cheers,

Vadim

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.