Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 951679 Details for
Bug 1092707
If re-install is attempted using a different storage node host name, install fails due to JON installer still trying to use old host name
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
re-install.log
re-unstall.log (text/plain), 13.71 KB, created by
Armine Hovsepyan
on 2014-10-29 09:11:52 UTC
(
hide
)
Description:
re-install.log
Filename:
MIME Type:
Creator:
Armine Hovsepyan
Created:
2014-10-29 09:11:52 UTC
Size:
13.71 KB
patch
obsolete
>[hudson@bug1092707 ~]$ vim jon-server-3.3.0.ER05/bin/rhq-storage.properties >[hudson@bug1092707 ~]$ ./jon-server-3.3.0.ER05/bin/rhqctl install >05:08:46,307 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1 > >The [rhq.autoinstall.server.admin.password] property is required but not set in [rhq-server.properties]. >Do you want to set [rhq.autoinstall.server.admin.password] value now? >yes|no: yes >rhq.autoinstall.server.admin.password (enter as plain text): >Confirm: >rhq.autoinstall.server.admin.password (enter as plain text): > >The [jboss.bind.address] property is required but not set in [rhq-server.properties]. >Do you want to set [jboss.bind.address] value now? >yes|no: yes >jboss.bind.address: 0.0.0.0 >Is [0.0.0.0] correct? >yes|no: yes >05:08:57,022 INFO [org.rhq.server.control.command.Install] Preparing to install RHQ storage node. >Starting RHQ Storage Installer ... >05:08:57,639 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1 >05:08:57,784 INFO [org.rhq.storage.installer.StorageInstaller] Running RHQ Storage Node installer... >05:08:57,804 INFO [org.rhq.storage.installer.StorageInstaller] Checking perms for ../../../rhq-data/saved_caches >05:08:57,806 INFO [org.rhq.storage.installer.StorageInstaller] Checking perms for ../../../rhq-data/commit_log >05:08:57,807 INFO [org.rhq.storage.installer.StorageInstaller] Checking perms for ../../../rhq-data/data >05:08:57,816 INFO [org.rhq.cassandra.Deployer] Unzipping storage node to /home/hudson/jon-server-3.3.0.ER05/rhq-storage >05:08:58,222 INFO [org.rhq.cassandra.Deployer] Applying configuration changes to /home/hudson/jon-server-3.3.0.ER05/rhq-storage/conf/cassandra.yaml >05:08:58,343 INFO [org.rhq.cassandra.Deployer] Applying configuration changes to /home/hudson/jon-server-3.3.0.ER05/rhq-storage/conf/log4j-server.properties >05:08:58,350 INFO [org.rhq.cassandra.Deployer] Applying configuration changes to /home/hudson/jon-server-3.3.0.ER05/rhq-storage/conf/cassandra-jvm.properties >05:08:58,369 INFO [org.rhq.cassandra.Deployer] Updating file permissions in /home/hudson/jon-server-3.3.0.ER05/rhq-storage/bin >05:08:58,374 INFO [org.rhq.storage.installer.StorageInstaller] Updating rhq-server.properties... >05:08:58,419 INFO [org.rhq.storage.installer.StorageInstaller] Installation of the storage node is complete >05:08:58,447 INFO [org.rhq.server.control.command.Install] The storage node installer has finished with an exit value of 0 > INFO 05:08:58,957 Logging initialized > INFO 05:08:58,978 JVM vendor/version: OpenJDK 64-Bit Server VM/1.7.0_45 > INFO 05:08:58,978 Heap size: 523501568/523501568 > INFO 05:08:58,978 Classpath: ./../conf:./../build/classes/main:./../build/classes/thrift:./../lib/antlr-3.2.jar:./../lib/apache-cassandra-1.2.18-jboss-1.jar:./../lib/apache-cassandra-clientutil-1.2.18-jboss-1.jar:./../lib/apache-cassandra-thrift-1.2.18-jboss-1.jar:./../lib/avro-1.4.0-fixes.jar:./../lib/avro-1.4.0-sources-fixes.jar:./../lib/commons-cli-1.1.jar:./../lib/commons-codec-1.2.jar:./../lib/commons-lang-2.6.jar:./../lib/compress-lzf-0.8.4.jar:./../lib/concurrentlinkedhashmap-lru-1.3.jar:./../lib/guava-13.0.1.jar:./../lib/high-scale-lib-1.1.2.jar:./../lib/jackson-core-asl-1.9.2.jar:./../lib/jackson-mapper-asl-1.9.2.jar:./../lib/jamm-0.2.5.jar:./../lib/jbcrypt-0.3m.jar:./../lib/jline-1.0.jar:./../lib/json-simple-1.1.jar:./../lib/libthrift-0.7.0.jar:./../lib/log4j-1.2.16.jar:./../lib/lz4-1.1.0.jar:./../lib/metrics-core-2.2.0.jar:./../lib/netty-3.6.6.Final.jar:./../lib/netty-3.9.1.Final.jar:./../lib/rhq-cassandra-auth-4.12.0.JON330ER05.jar:./../lib/servlet-api-2.5-20081211.jar:./../lib/slf4j-api-1.7.2.jar:./../lib/slf4j-log4j12-1.7.2.jar:./../lib/snakeyaml-1.6.jar:./../lib/snappy-java-1.0.4.1-rhq-p1.jar:./../lib/snaptree-0.1.jar:./../lib/jamm-0.2.5.jar > INFO 05:08:58,980 JNA not found. Native methods will be disabled. > INFO 05:08:58,995 Loading settings from file:/home/hudson/jon-server-3.3.0.ER05/rhq-storage/conf/cassandra.yaml > INFO 05:08:59,504 Data files directories: [../../../rhq-data/data] > INFO 05:08:59,504 Commit log directory: ../../../rhq-data/commit_log > INFO 05:08:59,505 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap > INFO 05:08:59,505 disk_failure_policy is stop > INFO 05:08:59,519 Global memtable threshold is enabled at 166MB > INFO 05:08:59,686 Not using multi-threaded compaction > WARN 05:08:59,706 Cannot initialize native Snappy library. Compression on new tables will be disabled. > INFO 05:08:59,988 Initializing key cache with capacity of 24 MBs. > INFO 05:09:00,000 Scheduling key cache save to each 14400 seconds (going to save all keys). > INFO 05:09:00,001 Initializing row cache with capacity of 0 MBs and provider org.apache.cassandra.cache.SerializingCacheProvider >05:09:05,643 INFO [org.rhq.server.control.command.Install] Pausing to ensure RHQ Storage is initialized prior to RHQ Server installation. >05:09:18,181 INFO [org.rhq.server.control.command.Install] The RHQ Server must be started to complete its installation. Starting the RHQ server in preparation of running the server installer... >05:09:18,191 INFO [org.rhq.server.control.command.Install] Waiting for the RHQ Server to start in preparation of running the server installer... >Trying to start the RHQ Server... >RHQ Server (pid 6028 ) is starting >05:09:24,707 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1 >05:09:24,968 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install. >05:09:25,109 INFO [org.xnio] XNIO Version 3.0.10.GA-redhat-1 >05:09:25,122 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.10.GA-redhat-1 >05:09:25,170 INFO [org.jboss.remoting] JBoss Remoting version (unknown) >05:09:25,853 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Installing into app server version [7.4.0.Final-redhat-19] >05:09:26,038 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Database is supported: postgresql8.4(postgresql:8.4) >05:09:26,072 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] This will be considered a new server: [name=bug1092707.bc.jonqe.lab.eng.bos.redhat.com, address=bug1092707.bc.jonqe.lab.eng.bos.redhat.com, port=7080, secureport=7443] >05:09:26,073 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] The app server where the installation will go is found at: /home/hudson/jon-server-3.3.0.ER05 >05:09:26,074 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] It looks like everything is OK and you can start the installation. >05:09:26,079 INFO [org.rhq.server.control.command.Install] The RHQ Server is ready to be upgraded by the server installer. >05:09:26,080 INFO [org.rhq.server.control.command.Install] Installing RHQ Server >05:09:26,081 INFO [org.rhq.server.control.command.Install] The RHQ Server installer is running >05:09:26,201 INFO [org.xnio] XNIO Version 3.0.10.GA-redhat-1 >05:09:26,210 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.10.GA-redhat-1 >05:09:26,232 INFO [org.jboss.remoting] JBoss Remoting version (unknown) >05:09:26,926 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1 >05:09:27,088 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install. >05:09:27,168 INFO [org.xnio] XNIO Version 3.0.10.GA-redhat-1 >05:09:27,178 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.10.GA-redhat-1 >05:09:27,199 INFO [org.jboss.remoting] JBoss Remoting version (unknown) >05:09:27,683 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Installing into app server version [7.4.0.Final-redhat-19] >05:09:27,940 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Database is supported: postgresql8.4(postgresql:8.4) >05:09:27,971 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Database setup log file directory: /home/hudson/jon-server-3.3.0.ER05/logs >05:09:28,011 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Database schema exists - it will now be updated. >05:09:28,510 INFO [org.rhq.cassandra.schema.VersionManager] Preparing to check storage schema compatibility. >05:09:28,752 INFO [org.rhq.cassandra.schema.VersionManager] Completed storage schema compatibility check. >05:09:28,752 ERROR [org.rhq.enterprise.server.installer.InstallerServiceImpl] Failed to connect to the storage cluster. Please check the following: > 1) At least one storage node is running > 2) The rhq.storage.nodes property specifies the correct hostname/address of at least one storage node > 3) The rhq.storage.cql-port property has the correct value > >05:09:28,754 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Could not connect to the storage cluster: All host(s) tried for query failed (tried: /127.0.0.1 ([/127.0.0.1] Cannot connect)) > at org.rhq.enterprise.server.installer.InstallerServiceImpl.prepareStorageSchema(InstallerServiceImpl.java:724) [rhq-installer-util-4.12.0.JON330ER05.jar:4.12.0.JON330ER05] > at org.rhq.enterprise.server.installer.InstallerServiceImpl.prepareDatabase(InstallerServiceImpl.java:644) [rhq-installer-util-4.12.0.JON330ER05.jar:4.12.0.JON330ER05] > at org.rhq.enterprise.server.installer.InstallerServiceImpl.install(InstallerServiceImpl.java:409) [rhq-installer-util-4.12.0.JON330ER05.jar:4.12.0.JON330ER05] > at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:134) [rhq-installer-util-4.12.0.JON330ER05.jar:4.12.0.JON330ER05] > at org.rhq.enterprise.server.installer.Installer.main(Installer.java:59) [rhq-installer-util-4.12.0.JON330ER05.jar:4.12.0.JON330ER05] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] > at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] > at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1] > at org.jboss.modules.Main.main(Main.java:460) [jboss-modules.jar:1.3.3.Final-redhat-1] > >Trying to stop the RHQ Server... >RHQ Server (pid=6028) is stopping... >RHQ Server has stopped. >RHQ Server (no pid file) is âdown >Stopping RHQ storage node... >RHQ storage node (pid=5818) is stopping... >RHQ storage node has stopped >05:09:39,962 ERROR [org.rhq.server.control.RHQControl] Installer failed with code 2, shut down server >05:09:39,963 WARN [org.rhq.server.control.command.Install] UNDO: Removing server-installed marker file and management user and reverting to original standalone-full.xml >05:09:39,964 WARN [org.rhq.server.control.command.Install] UNDO: Stopping component: --server >RHQ Server (no pid file) is âdown >05:09:40,012 WARN [org.rhq.server.control.command.Install] UNDO: Stopping component: --storage >05:09:40,013 WARN [org.rhq.server.control.command.Install] UNDO: Removing storage node data and install directories >05:09:40,038 WARN [org.rhq.server.control.command.Install] UNDO: Reverting server properties file >[hudson@bug1092707 ~]$ cat jon-server-3.3.0.ER05/bin/rhq-server.properties | grep storage ># its backend RDBMS storage. >rhq.storage.username= >rhq.storage.password= ># A comma-delimited list of storage nodes. Each Storage node uses this list as >rhq.storage.nodes=10.16.23.118 ># The ports used by storage nodes to communicate with each other >rhq.storage.cql-port=9142 >rhq.storage.gossip-port=7100 ># communicates with the storage cluster >rhq.storage.request.limit.topology-delta=30000 ># rhq.storage.request.limit will be decreased. The change will be persisted to >rhq.storage.request.limit.timeout-delta=0.2 >rhq.storage.request.limit.timeout-dampening=30000 >rhq.storage.request.limit.min=5000 >[hudson@bug1092707 ~]$ cat jon-server-3.3.0.ER05/bin/rhq-storage.properties | grep storage ># /opt/rhq/rhq-server-RHQ-VERSION/rhq-storage ># /opt/rhq/rhq-data/storage/commitlog ># /opt/rhq/rhq-data/storage/data ># /opt/rhq/rhq-data/storage/saved_caches ># of the storage node installation. The paths are NOT relative to ># rhq.storage.commitlog ># The directory where the storage node keeps commit log files. ># Defaults to: RHQ_HOME/rhq-data/storage/commitlog ># rhq.storage.data ># The directory where the storage node keeps data files. ># Defaults to: RHQ_HOME/rhq-data/storage/data ># rhq.storage.saved-caches ># The directory where the storage node keeps saved cache files. ># Defaults to: RHQ_HOME/rhq-data/storage/saved_caches >#rhq.storage.commitlog= >#rhq.storage.data= >#rhq.storage.saved-caches= ># rhq.storage.heap-size ># rhq.storage.heap-new-size ># rhq.storage.stack-size >#rhq.storage.heap-size= >#rhq.storage.heap-new-size= >#rhq.storage.stack-size= ># rhq.storage.cql-port ># rhq.storage.jmx-port ># rhq.storage.gossip-port >#rhq.storage.cql-port= >#rhq.storage.jmx-port= >#rhq.storage.gossip-port= ># rhq.storage.hostname ># rhq.storage.seeds >rhq.storage.hostname=10.16.23.118 >#rhq.storage.seeds= ># rhq.storage.verify-data-dirs-empty >#rhq.storage.verify-data-dirs-empty= >[hudson@bug1092707 ~]$ >[hudson@bug1092707 ~]$ >[hudson@bug1092707 ~]$ su >Password: >[root@bug1092707 hudson]# su - postgres >-bash-4.1$ psql \rhq >psql (8.4.18) >Type "help" for help. > >rhq=# select * from rhq_storage_node; > id | address | cql_port | operation_mode | ctime | mtime | error_msg | maintenance_pending | resource_id | resource_op_hist_id >| version >------+-----------+----------+----------------+---------------+---------------+-----------+---------------------+-------------+--------------------- >+------------------- > 1001 | 127.0.0.1 | 9142 | INSTALLED | 1414572048911 | 1414572048911 | | f | | >| 4.12.0.JON330ER05 >(1 row) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1092707
: 951679 |
954000