Skip to content

Instantly share code, notes, and snippets.

C:\GIT\kitchen\puppet-module-git>kitchen converge
DL is deprecated, please use Fiddle
-----> Starting Kitchen (v1.4.2)
-----> Creating <default-windows>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'win2012r2-virtualbox'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-puppet-module-git-defaul
t-windows_default_1447899376062_36752
==> default: Fixed port collision for 5985 => 5985. Now on port 2200.
I, [2015-11-18T21:14:24.347780 #2420] INFO -- default-windows: -----> Creating <default-windows>...
I, [2015-11-18T21:14:26.112881 #2420] INFO -- default-windows: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-11-18T21:14:27.288948 #2420] INFO -- default-windows: ==> default: Importing base box 'win2012r2-virtualbox'...
I, [2015-11-18T21:16:14.323070 #2420] INFO -- default-windows:
[KProgress: 10%
[KProgress: 80%
[K==> default: Matching MAC address for NAT networking...
I, [2015-11-18T21:16:16.109173 #2420] INFO -- default-windows: ==> default: Setting the name of the VM: kitchen-puppet-module-git-default-windows_default_1447899376062_36752
I, [2015-11-18T21:16:17.802269 #2420] INFO -- default-windows: ==> default: Fixed port collision for 5985 => 5985. Now on port 2200.
I, [2015-11-18T21:16:18.845329 #2420] INFO -- default-windows: ==> default: Clearing any previously set network interfaces...
C:\GIT\kitchen\puppet-module-git>kitchen converge
DL is deprecated, please use Fiddle
-----> Starting Kitchen (v1.4.2)
-----> Converging <default-windows>...
Preparing files for transfer
Preparing modules
Resolving module dependencies with Librarian-Puppet 2.2.1...
Preparing manifests
Preparing files
nothing to do for files
#
#
class ve_oracle::database (
String $oracle_base = hiera('oracle_base_dir'),
String $oracle_home = hiera('oracle_home_dir'),
String $db_name = hiera('db_name')
) {
$folders = ['/data/oradata','/data/oradata/A001','/data/dpdump','/data/dpdump/safe']
==> ve_oracle_centos7: Error: Execution of 'su - oracle -c "export ORACLE_SID=A0
01;export ORAENV_ASK=NO;. oraenv; sqlplus -S /nolog @/tmp/command20160822-18988
-5dgody.sql"' returned 41: The Oracle base remains unchanged with value /u01/app
/oracle
==> ve_oracle_centos7: ORACLE instance started.
==> ve_oracle_centos7: Total System Global Area,2.0267E+10,bytes
==> ve_oracle_centos7: Fixed Size , 2934840,bytes
==> ve_oracle_centos7: Variable Size ,2818574280,bytes
==> ve_oracle_centos7: Database Buffers ,1.7381E+10,bytes
==> ve_oracle_centos7: Redo Buffers , 64172032,bytes
[root@centos7 trace]# cat alert_A001.log
Mon Aug 22 15:48:28 2016
Starting ORACLE instance (normal) (OS id: 32572)
Mon Aug 22 15:48:28 2016
CLI notifier numLatches:3 maxDescs:1674
Mon Aug 22 15:48:28 2016
**********************************************************************
Mon Aug 22 15:48:28 2016
Dump of system resources acquired for SHARED GLOBAL AREA (SGA)
File "/etc/passwd"
F should be file (FAILED - 1)
Failures:
1) File "/etc/passwd" should be file
On host `127.0.0.1'
Failure/Error: it { should be_file }
SystemStackError:
==> ve_oracle_centos7: Error: Execution of 'su - oracle -c "export ORACLE_SID=A0
01;export ORAENV_ASK=NO;. oraenv; sqlplus -S /nolog @/tmp/command20160822-6157-
1p7y9zs.sql"' returned 150: The Oracle base remains unchanged with value /u01/ap
p/oracle
==> ve_oracle_centos7:
==> ve_oracle_centos7:
==> ve_oracle_centos7: Starting Oracle XML DB Installation ...
==> ve_oracle_centos7: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
==> ve_oracle_centos7: Enter Parameter #1 <XDB_PASSWD>, password for XDB schema:
-bash-4.1$ sqlplus -S /nolog @xdb_protocol.sql
Session altered.
Starting Oracle XML DB Installation ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter Parameter #1 <XDB_PASSWD>, password for XDB schema:
[root@puppet-master puppetlabs]# cd console-services/
console-services-daemon.log console-services.log
2016-10-23 00:59:19,617 INFO [o.e.j.u.log] Logging initialized @80811ms
2016-10-23 00:59:36,050 INFO [m.core] Starting migrations
2016-10-23 00:59:36,062 INFO [c.z.h.HikariDataSource] HikariPool-0 - is starting.
2016-10-23 01:00:06,197 ERROR [m.database] Error creating DB connection for {:datasource #object[com.zaxxer.hikari.Hikar
iDataSource 0x52687917 "HikariDataSource (HikariPool-0)"]}
java.sql.SQLTransientConnectionException: HikariPool-0 - Connection is not available, request timed out after 30006ms.
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195) ~[console-services-release.jar:na]
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147) ~[console-services-release.jar:na]