- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari Blueprint doesn't configure the SmartSense ActiveAnalysis Admin password
- Labels:
-
Apache Ambari
-
Hortonworks SmartSense
Created on ‎11-11-2016 08:25 PM - edited ‎08-18-2019 03:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When use Ambari Blueprint to auto install HDP2.5.0 including SmartSense, the ActivityAnalysis admin password is not configured by "default_password" in blueprint. The component is failed to start, and have to manually set the password.
Ambari version is V2.4.1.0. This bug should be fixed.
Regards,
Wendell
Created ‎12-09-2016 07:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks wbu,
What version of Ambari are you using? I'm guessing 2.4.x
I created https://issues.apache.org/jira/browse/AMBARI-19155 on your behalf.
Created ‎12-09-2016 07:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks wbu,
What version of Ambari are you using? I'm guessing 2.4.x
I created https://issues.apache.org/jira/browse/AMBARI-19155 on your behalf.
Created ‎12-10-2016 12:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎12-20-2016 02:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case of Blueprint install you need to add the below property to configuration list, to set this password for SmartSense:
"activity-zeppelin-shiro": { "properties": { "users.admin": "YOUR_SECRET_ADMIN_PASSWORD" } }
Created ‎12-20-2016 10:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @wbu,
@Alejandro Fernandez's and
are both correct.
The main problem is that SmartSense's Ambari Stack definitions are not included in the default stack definitions. Generally, the configuration properties that are passwords are marked with metadata to indicate that a given property is of type "PASSWORD". This metadata is used by the Blueprints processor in order to determine which properties can be set with the value of "default_password", which is set in the Cluster Creation Template.
In the current release (Ambari 2.4), the only way to resolve this would be to use @smagyari's recommendation, and set the password directly. Generally, we recommend that passwords only be included in the Cluster Creation Template, since Ambari does not persist that document.
Hope this helps!
Created ‎12-20-2016 10:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
@rnettleton and @Attila Kanto and @smagyari
Your solution is fine for manually provision the cluster with blueprint. But within current version cloudbreak, there's no way to add a template. You can only either inherit "default_password" configured in cloudbreak UI or add "users.admin" in your blueprint which is less secured.
Regards,
Wendell
Created ‎12-31-2016 05:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @smagyari
I did try to add users.admin in the blueprint. The password still needs to be manually added on the UI.
{ "hst-server-conf": { "properties": { "customer.account.name": "Hortonworks PS EMEA", "agent.request.processing.timeout": "7200", "client.threadpool.size.max": "40", "server.storage.dir": "/var/lib/smartsense/hst-server/data", "gateway.registration.port": "9450", "gateway.port": "9451", "customer.notification.email": "ps_test@hortonworks.com", "agent.request.syncup.interval": "180", "gateway.host": "embedded", "server.port": "9000", "server.tmp.dir": "/var/lib/smartsense/hst-server/tmp", "customer.smartsense.id": "A-88888888-C-88888888", "users.admin": "admin" } } },
Can you please double check whether there's a bug in Ambari?
Regards,
Wendell
Created ‎01-02-2017 02:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @wbu
Right the problem here is that 'users.admin' property must be set on 'activity-zeppelin-shiro' config type not on 'hst-server-conf'. I've tried it and seems to work fine.
BR
Sandor
