https content repo with pki cert
by Claudianus A
All -
Is there a way to define an HTTPS content repository in RHQ where the
authentication is done using the user's PKI cert?
I know you can currently define an http repo similar to the the JBoss repo
where the user's credentials are entered as username and password combo.
Our use case is such that instead of using username/password we want to be
able to derive that information from a PKI certificate that is already
loaded into the browser being used by the user.
This is similar to having a web application that is using client-cert as
its auth-method (in the web.xml) and then having a filter or login module
to process the cert and retrieve the principal's info from that cert.
I guess we could write a plugin for HTTPS content repo but I was wondering
if there is something similar already out there?
Any idea on how to best achieve this is greatly appreciated.
--
Claudianus
10 years, 8 months
postgres auth used by the agent
by Attila Heidrich
Hi All,
when agent is running, I have got a 'password authentication failed for
user "postgres"' line in the postgresql log in every 15 mins.
I have got two basic kind of postgres installation,
- one of them does not veen use the postgres user (there's another user
used for superuser), there is no password at all, since no password login
for the postgres user, only the local "trust". I have disabled the postgres
user check in RHQ, so there is no alerts on this, but the probe still tries
to login periodically.
- the other is even more interesting... here we use the postgres user, and
ther's also a password set, which works in RHQ - after setting up in
inventory/connection details. But the 15 mins "authentication failed" lines
are still present in the postgresql log.
Anyone has any idea, how to prevent theese dumb login attempts?
Regards,
Attila
10 years, 8 months
Question for users of Bundle Provisioning
by Jay Shaughnessy
In 4.9 we'll be introducing support for bundle groups and fine-grained
bundle permissions. This will allow for better organization of your
bundles and much tighter control over how bundles are manipulated.
We're working on GUI support now and there is one thing on which I'd
like your opinion.
Currently, in the bundle create wizard you just upload your bundle
distribution file, (or specify a URL, or provide the recipe...) and then
the bundle version gets created. If it is the first version the
associated bundle is also created as an umbrella for all the related
versions.
Going forward, new bundles can be (or in certain cases, must be)
assigned to at least one bundle group. That means if the upload is for
the initial bundle version there may need to be an additional step for
group assignment. But for subsequent versions it's not relevant,
because the bundle itself is not being created; it already exists and
has already been assigned to its bundle groups.
The question is this: As a bundle creator, is it OK to distinguish
between "New Bundle" and "Upload New Version for Existing Bundle"?
Basically, can you answer that question up front when uploading a bundle
distribution file. Is this the initial bundle version or is it a new
version for a bundle already in the system?
If that distinction can be made, RHQ will likely ask you to make that
distinction. If not then RHQ won't ask, but it will make things more
clunky internally, and possibly in the wizard as well.
10 years, 8 months
Summary report for 'RHQ Overnight Full Report'
by Michael Foley
Hi,
In the interest of transparency, information sharing, and community involvement ... I am sharing the recent test automation results for RHQ.
The tests are located here -->> https://github.com/RedHatQE/jon-tests
Anyone is welcome to :
* look at the tests
* contribute tests
* learn from the tests ( I would expect the CLI and REST would provide the most useful code snippets, as most people are familiar with the UI)
Regards,
Michael Foley
QE Lead, JBoss Operations Network
----- Original Message -----
From: noreply(a)redhat.com
To: jon-qa-list(a)redhat.com
Sent: Sunday, August 11, 2013 9:00:01 AM
Subject: [jon-qa-list] Summary report for 'RHQ Overnight Full Report'
Report Engine - Email Report Hello, This is auto generated email from Report Engine. It's based on RHQ Overnight Full Report
Test Suite Name Total Passed Failed Skipped Build Start Time End Time Duration RHQ CLI JS/JAVA Test 98 (0) 30 (+30) 28 (+28) 40 (-58) 4.9.0-SNAPSHOT (34e1c7b) Aug 11 15:35:43 IST 2013 Aug 11 17:18:15 IST 2013 01:42:31
Check Resource Configuration 52 (+4) 0 (0) 0 (0) 52 (+4) - Aug 11 15:28:01 IST 2013 Aug 11 15:35:18 IST 2013 00:07:15
RHQ REST Groovy Client Test 8 (0) 8 (0) 0 (0) 0 (0) 4.9.0-SNAPSHOT (34e1c7b) Aug 11 14:44:09 IST 2013 Aug 11 14:45:01 IST 2013 00:00:50
RHQ REST JAVA Client Test 40 (0) 39 (+19) 1 (-19) 0 (0) 4.9.0-SNAPSHOT (34e1c7b) Aug 11 14:43:33 IST 2013 Aug 11 14:49:41 IST 2013 00:06:07
RHQ REST Python 78 (0) 58 (+1) 4 (-1) 16 (0) 4.9.0-SNAPSHOT (34e1c7b) Aug 11 14:43:23 IST 2013 Aug 11 15:26:40 IST 2013 00:43:17
RHQ 4.x core UI Test 281 (+6) 59 (-127) 179 (+101) 43 (+32) 4.9.0-SNAPSHOT (34e1c7b) Aug 11 06:49:55 IST 2013 Aug 11 14:42:41 IST 2013 07:52:44
Import Resources 4 (0) 4 (0) 0 (0) 0 (0) 4.9.0-SNAPSHOT (34e1c7b) Aug 10 22:17:49 IST 2013 Aug 10 22:18:56 IST 2013 00:01:06
RHQ_4.4_UI_AS7Plugin_Test 210 (0) 134 (+14) 35 (+7) 41 (-21) 4.9.0-SNAPSHOT (9674555) EAP 6.1.0.GA Jul 28 15:46:17 IST 2013 Jul 28 21:07:11 IST 2013 05:20:52
RHQ CLI EAP6 44 (0) 39 (+5) 5 (-1) 0 (-4) 4.9.0-SNAPSHOT (9674555) EAP 6.1.0.GA Jul 28 13:58:39 IST 2013 Jul 28 15:45:24 IST 2013 01:46:33
Fresh Installation of RHQ 1 (0) 0 (0) 1 (0) 0 (0) - Dec 24 23:45:58 IST 2012 Dec 24 23:47:26 IST 2012 00:01:28 Summary: 816 371 253 192 17:42:47
Test Suite Detaild View:
Test Suite: RHQ CLI JS/JAVA Test
Group Name Total Passed Failed Skipped Import all Resources 2 1 1 0
Examples from jon documentation 22 8 12 2
bz reproduction test 3 1 0 2
Examples from rhq documentation 4 2 1 1
Samples from CLI client 3 0 3 0
operation scheduling test 3 0 3 0
manager test 6 5 1 0
permission test 15 0 0 15
role test 2 1 0 1
subject test 2 2 0 0
drift test 1 1 0 0
DynaGroup definitions test 9 1 0 8
Bundles 15 5 5 5
schedule_Management_For_RHQ_Agent 1 1 0 0
RHQ Storage Alert Definition 1 1 0 0
StorageNodesTest 3 1 2 0
stress test 5 0 0 5
Uninventory-Platforms-End 1 0 0 1 Total: 98 30 28 40 Test Suite: Check Resource Configuration
Group Name Total Passed Failed Skipped GuiLoginTest 1 0 0 1
Version Information 1 0 0 1
CheckResourceConfiguration 49 0 0 49
GuiLogoutTest 1 0 0 1 Total: 52 0 0 52 Test Suite: RHQ REST Groovy Client Test
Group Name Total Passed Failed Skipped Status 2 2 0 0
Login 3 3 0 0
Resource 3 3 0 0 Total: 8 8 0 0 Test Suite: RHQ REST JAVA Client Test
Group Name Total Passed Failed Skipped Login Test Negative 2 2 0 0
check New Rest Api 1 1 0 0
Login Test Positive 1 1 0 0
List Status 1 1 0 0
Visit Platforms 1 1 0 0
Visit Platforms By Id 1 1 0 0
get Resource By Platform Name 1 1 0 0
get Resource By Platform Name And Category 1 1 0 0
get Resource By Category 1 1 0 0
get Resource By Paging 1 1 0 0
get Platform Xml 1 1 0 0
Validate Children 1 1 0 0
get Alerts For Resources 1 1 0 0
get Schedules For Resources 1 1 0 0
get Availability For Resources 1 1 0 0
get Availability History For Resources 1 1 0 0
get Root URI 1 1 0 0
get Json PWrapper 1 1 0 0
verify AS Server Presence 1 1 0 0
Check Platform Operations 1 1 0 0
Validate Schedules 1 1 0 0
Validate Metric Data Default 1 1 0 0
Validate Metric Data 1 1 0 0
Visit Alerts 1 1 0 0
Redirect From Definition 1 1 0 0
Alert Definitions 1 1 0 0
Alert Count 1 1 0 0
AlertSender 1 1 0 0
AlertSender_DirectEmails 1 1 0 0
AlertSender_Mobicents 1 1 0 0
AlertSender_NotExisting 1 1 0 0
get Event Sources 1 1 0 0
get Event Definitions 1 1 0 0
get Group 1 1 0 0
get Group With Params 1 1 0 0
get Metrics Schedule 1 1 0 0
get Metrics Schedule By Id 1 0 1 0
get Favorite Resources 1 1 0 0
get Favorite Groups 1 1 0 0 Total: 40 39 1 0 Test Suite: RHQ REST Python
Group Name Total Passed Failed Skipped proboscis.case.MethodTest 78 58 4 16 Total: 78 58 4 16 Test Suite: RHQ 4.x core UI Test
Group Name Total Passed Failed Skipped GuiLoginTest 1 1 0 0
Version Information 1 1 0 0
Metric Collection Schedules validation 39 0 39 0
AlertDefinitionCreationTest 13 13 0 0
InventoryTest 11 2 5 4
BundleTest 3 0 2 1
TopLevelMenusTest 12 12 0 0
ReportsTest 7 7 0 0
DashboardTest 12 10 2 0
ResourcesTest 5 0 4 1
AdministrationTest 6 0 3 3
HelpTest 10 9 1 0
RecentOperationsTest 5 0 1 4
FavouriteTest 4 0 1 3
PluginsTest 52 0 52 0
Individualconfig 4 0 2 2
Configuration History 2 1 1 0
Group Config 3 0 1 2
SubNavigationMenuTests 2 0 2 0
Administration JSP page validation 6 1 5 0
Drift management-Create-[add/change/remove]-Delete 5 0 1 4
AlertHistoryValidationTest 13 0 13 0
AlertHistoryDeletionTest 13 0 13 0
AlertDefinitionDeletionTest 13 0 13 0
Scheduling Groups 4 0 1 3
Search groups... 6 0 3 3
Permissions Test 7 0 7 0
Alert Definition Template 6 0 1 5
CheckAlertDefTempCreated 1 0 1 0
Drift Definition Template 3 0 1 2
AlertDefinitionTest 5 0 1 4
StorageAutoInventoryTest 1 0 0 1
StorageNode 3 1 2 0
Setup LDAP 1 0 0 1
GuiLDAPUserLoginTest 1 1 0 0
GuiLogoutTest 1 0 1 0 Total: 281 59 179 43 Test Suite: Import Resources
Group Name Total Passed Failed Skipped GuiLoginTest 1 1 0 0
Version Information 1 1 0 0
GImportResourcesTest 1 1 0 0
GuiLogoutTest 1 1 0 0 Total: 4 4 0 0 Test Suite: RHQ_4.4_UI_AS7Plugin_Test
Group Name Total Passed Failed Skipped GuiLoginTest 1 1 0 0
Version Information 1 1 0 0
Standalone_AutodetectConfiguration 1 1 0 0
DetectServerVersion 1 1 0 0
Standalone_SocketBindingGroups 3 3 0 0
Standalone_Logging_Subsystem 16 9 3 4
Standalone_SecuritySubsystem 6 4 2 0
Standalone_Naming_Subsystem 1 1 0 0
Standalone_SignalServerReload 2 1 1 0
Standalone_Mail_Subsystem 13 3 4 6
Standalone_InfinispanSubsystem 9 3 3 3
Standalone_Web_Subsystem 7 6 0 1
Standalone_ResourceCreation 2 2 0 0
Standalone_Monitoring 3 1 1 1
Standalone_Deployment 20 18 2 0
Standalone_JMSDestinations 4 4 0 0
Standalone_Datasources 16 3 2 11
Standalone_SystemProperties 3 3 0 0
Standalone_ResourceConfiguration 5 5 0 0
Standalone_OSGI_Child_Configuration_Test 6 0 0 6
Standalone_Transactions_Test 1 1 0 0
Standalone_JAXR_Test 4 3 1 0
Standalone_Operations 4 4 0 0
Standalone_ManualImport 28 22 5 1
Domain_AutodetectConfiguration 1 1 0 0
Domain_ResourceConfiguration 3 3 0 0
Domain_SystemProperties 12 7 2 3
Domain_ResourceCreation 2 2 0 0
Domain_Monitoring 3 1 2 0
Domain_JMSDestinations 4 2 1 1
Domain_Deployment 6 2 1 3
Domain_Operations 4 4 0 0
Domain_ManagedServersManagement 7 7 0 0
Domain_ServerGroupsManagement 10 4 5 1
GuiLogoutTest 1 1 0 0 Total: 210 134 35 41 Test Suite: RHQ CLI EAP6
Group Name Total Passed Failed Skipped Standalone_Discovery_StartCommand_Parameters 15 15 0 0
Domain_Discovery_StartCommand_Parameters 4 4 0 0
Uninventory_EAP_Servers 1 1 0 0
Inventory_EAP_Servers 1 1 0 0
Detect_ServerVersion 1 1 0 0
Standalone_Deployment 5 4 1 0
Standalone_BundleDeployment 1 1 0 0
Standalone_NetworkInterfaces 1 0 1 0
Standalone_MailSubsystemTest 1 0 1 0
Standalone_BZ918677Test 1 1 0 0
DeployAndRestartSampleTest 1 1 0 0
Domain_Deployment 11 10 1 0
Domain_NetworkInterfaces 1 0 1 0 Total: 44 39 5 0 Test Suite: Fresh Installation of RHQ
Group Name Total Passed Failed Skipped GuiInstallationTest 1 0 1 0 Total: 1 0 1 0 Report Engine URL: https://mercury.lab.eng.pnq.redhat.com:8443/re
Report Generated on: Aug 11 18:30:00 IST 2013
_______________________________________________
jon-qa-list mailing list
jon-qa-list(a)redhat.com
https://post-office.corp.redhat.com/mailman/listinfo/jon-qa-list
10 years, 8 months
SMTP Authentication on RQH Server settings.
by Edwin Langton
Can someone point me to the settings I need to add to the Properties file
of the server to enable SMTP Authentication to our SMTP Server?
This does not appear to be in the documentation I have found so far.
I can only find these settings, but not the Authentication settings.
rhq.server.email.smtp-host=127.0.0.1
rhq.server.email.smtp-port=25
rhq.server.email.from-address=rhqadmin(a)blubber.com
perhaps something like
rhq.server.email.smtp-user ?? perhaps ??
Many thanks
Ed Langton
CONFIDENTIALITY NOTICE
The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential
information of Argility (Proprietary) Limited and/or its subsidiaries. Any review, use or dissemination thereof by anyone
other than the intended addressee is prohibited.If you are not the intended addressee please notify the writer immediately
and destroy the e-mail. Argility (Proprietary) Limited and its subsidiaries distance themselves from and accept no liability
for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.
10 years, 9 months
RHQ Deployment Issue 'Unknown Content Source'
by Matthew Rivet
I am using RHQ(JON 3.1.2) to deploy ear and war files using the
CLI(updateBackingContent) or Web interface (ContentTab -> New)
I see this problem at times deploying:
Error writing new application bits to temporary file - cause:
javax.ejb.EJBException: [Warning] java.lang.RuntimeException: Resource
[16998] cannot access package version
[PackageDetailsKey[Name=archadmin.war,
Version=[sha256=dfbde207cbfc999e4c6cc1e86595fb6fd41f47578ef75d8484cf49077a33b499]
Arch=noarch Type=file]] - no content source exists to deliver it.
I can see the war file in JON and see its version number listed.
To resolve this problem I un-inventory the JBoss Server and reinventory it.
After re inventorying the Server the war and ear files arnt displayed under
content -> deployed(I dont see the names version date depoyed etc but still
see them in the Application Tree). At this point I am unable to run
deployments via the CLI because the the packageName and packageVersion
dosen't exist. If I delete the ChildResource of the war and ear from JON
and attempt to redeploy via the CLI here is the error I get from the RHQ
Agents:
2013-07-29 13:24:05,748 ERROR [ResourceContainer.invoker.nonDaemon-3]
(rhq.plugins.jbossas5.deploy.ManagedComponentDeployer)- Error deploying
application for request [CreateResourceReport:
ResourceType=[{JBossAS5}Enterprise Application (EAR)], ResourceKey=[null]].
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy8.downloadPackageBitsForChildResource(Unknown Source)
at
org.rhq.core.pc.content.ContentManager.downloadPackageBitsForChildResource(ContentManager.java:259)
at
org.rhq.plugins.jbossas5.deploy.RemoteDownloader.prepareArchive(RemoteDownloader.java:89)
at
org.rhq.plugins.jbossas5.deploy.ManagedComponentDeployer.deploy(ManagedComponentDeployer.java:88)
at
org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:147)
at
org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:79)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1024)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1303)
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:227)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at
org.rhq.enterprise.communications.command.client.ClientCommandSenderTask.run(ClientCommandSenderTask.java:143)
at
org.rhq.enterprise.communications.command.client.ClientCommandSender.sendSynch(ClientCommandSender.java:647)
at
org.rhq.enterprise.communications.command.client.ClientRemotePojoFactory$RemotePojoProxyHandler.invoke(ClientRemotePojoFactory.java:407)
... 17 more
2013-07-29 13:24:05,824 WARN [WorkerThread#1[158.60.185.45:50475]]
(command.impl.stream.server.RemoteOutputStreamCommandService)-
{RemoteOutputStreamCommandService.invoke-stream-failure}Output stream being
accessed from a remote client encountered an exception - the method invoked
was [write]. The command was: [Command: type=[remoteoutstream];
cmd-in-response=[false]; config=[{}]; params=[{streamId=4,
invocation=NameBasedInvocation[write]}]]. Cause:
java.lang.reflect.InvocationTargetException
2013-07-29 13:24:06,902 INFO [InventoryManager.availability-1]
(rhq.core.pc.inventory.AvailabilityExecutor)- Scan Starting: Mon Jul 29
13:24:06 EDT 2013
2013-07-29 13:24:07,841 INFO [InventoryManager.availability-1]
(rhq.core.pc.inventory.AvailabilityExecutor)- Scan Ended : Mon Jul 29
13:24:07 EDT 2013 : Scan [startTime=1375118646902, endTime=1375118647841,
runtime=939, isFull=false, isForced=false, numResources=535,
numGetAvailabilityCalls=36, numScheduledRandomly=0, numPushedByInterval=39,
numAvailabilityChanges=0, numDeferToParent=71]
10 years, 9 months