[jira] [Updated] (AMBARI-25521) Error when building in OpenSuse

2020-06-13 Thread Steven Matison (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Matison updated AMBARI-25521:

Description: 
I have built ambari 2.7.5 from source in openSuse.   When attempting to run 
ambari-server and ambari-agent in 
[opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
 they both fail class OSCheck in detecting the correct operating system.  I 
tried to debug why, but was not successful.

 

I have been able to get around the issue by creating a replacement for 
"platform.linux_distribution()" as:

 
{noformat}
        #distribution = platform.linux_distribution()
        distribution = ("suse", "12", "Core"){noformat}
Since this is my first, issue I do not want to overstep boundaries, nor suggest 
what the solution is, but I wanted to create an adjustment to get this 
important scenario resolved in a future release.

  was:
I have built ambari 2.7.5 from source in openSuse/suse12.   When attempting to 
run ambari-server and ambari-agent in 
[opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
 they both fail class OSCheck in detecting the correct operating system.  I 
tried to debug why, but was not successful.

 

I have been able to get around the issue by creating a replacement for 
"platform.linux_distribution()" as:

 
{noformat}
        #distribution = platform.linux_distribution()
        distribution = ("suse", "12", "Core"){noformat}

Since this is my first, issue I do not want to overstep boundaries, nor suggest 
what the solution is, but I wanted to create an adjustment to get this 
important scenario resolved in a future release.


> Error when building in OpenSuse
> ---
>
> Key: AMBARI-25521
> URL: https://issues.apache.org/jira/browse/AMBARI-25521
> Project: Ambari
>  Issue Type: Improvement
>  Components: ambari-server
>Affects Versions: 2.7.5
> Environment: opensuse
>Reporter: Steven Matison
>Priority: Minor
>
> I have built ambari 2.7.5 from source in openSuse.   When attempting to run 
> ambari-server and ambari-agent in 
> [opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
>  they both fail class OSCheck in detecting the correct operating system.  I 
> tried to debug why, but was not successful.
>  
> I have been able to get around the issue by creating a replacement for 
> "platform.linux_distribution()" as:
>  
> {noformat}
>         #distribution = platform.linux_distribution()
>         distribution = ("suse", "12", "Core"){noformat}
> Since this is my first, issue I do not want to overstep boundaries, nor 
> suggest what the solution is, but I wanted to create an adjustment to get 
> this important scenario resolved in a future release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AMBARI-25521) Error when building in OpenSuse

2020-06-13 Thread Steven Matison (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Matison updated AMBARI-25521:

Environment: opensuse  (was: 
[opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
  with my own Ambari and HDP repositories)

> Error when building in OpenSuse
> ---
>
> Key: AMBARI-25521
> URL: https://issues.apache.org/jira/browse/AMBARI-25521
> Project: Ambari
>  Issue Type: Improvement
>  Components: ambari-server
>Affects Versions: 2.7.5
> Environment: opensuse
>Reporter: Steven Matison
>Priority: Minor
>
> I have built ambari 2.7.5 from source in openSuse/suse12.   When attempting 
> to run ambari-server and ambari-agent in 
> [opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
>  they both fail class OSCheck in detecting the correct operating system.  I 
> tried to debug why, but was not successful.
>  
> I have been able to get around the issue by creating a replacement for 
> "platform.linux_distribution()" as:
>  
> {noformat}
>         #distribution = platform.linux_distribution()
>         distribution = ("suse", "12", "Core"){noformat}
> Since this is my first, issue I do not want to overstep boundaries, nor 
> suggest what the solution is, but I wanted to create an adjustment to get 
> this important scenario resolved in a future release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMBARI-25519) Ambari builds are failing with a bower error

2020-06-12 Thread Steven Matison (Jira)


[ 
https://issues.apache.org/jira/browse/AMBARI-25519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133811#comment-17133811
 ] 

Steven Matison edited comment on AMBARI-25519 at 6/13/20, 4:02 AM:
---

Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{npmVersion: 6.14.4}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.8.0",
"angular-route": "1.8.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.8.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.8.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  },
   "resolutions": {
     "angular": "1.8.0"
   }
} {code}
{{}}


was (Author: stevendfheinz):
Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{npmVersion: 6.14.4}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.3.0",
"angular-route": "1.3.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.3.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.3.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  }
} {code}
{{}}

> Ambari builds are failing with a bower error
> 
>
> Key: AMBARI-25519
> URL: https://issues.apache.org/jira/browse/AMBARI-25519
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-admin
>Affects Versions: 2.7.4, 2.7.5
>Reporter: Dmytro Pidhaiets
>Assignee: Dmytro Grinenko
>Priority: Major
> Fix For: 2.7.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code}
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 download 
> https://github.com/angular/bower-angular/archive/v1.7.9.tar.gz2020/06/05 
> 12:34:51 - util.py::run_cmd  343 - INFO: bower angular#>=1.2.26 
> <1.8  extract archive.tar.gz
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 resolved 
> https://github.com/angular/bower-angular.git#1.7.92020/06/05 12:34:51 - 
> util.py::run_cmd  343 - INFO: bower   
>ECONFLICT Unable to find suitable version for angular
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AMBARI-25522) KeyError when Adding Custom Ambari Service

2020-06-12 Thread Steven Matison (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steven Matison updated AMBARI-25522:

Description: 
When attempting to add any custom service to ambari  (user group management on) 
the following error occurs:
{noformat}
KeyError: u'serviceuser'{noformat}
or example:
{noformat}
KeyError: u'flink'{noformat}
A current bulky work around is a python to disable user group management:
{code:java}
python /var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n 
DDP -l hdp.dfheinz.com -t 8080 -a set -c cluster-env -k  
ignore_groupsusers_create -v true{code}
 I have tried to find a source of the users in ambari metastore, as well as 
proper/correct source code in the custom service fileset to add/create the 
user:group requirements.  I have not been successful.

I am currently working on a seamless install of HDP with 3 different Third 
party services and this is a blocker to this solution.

 

  was:
When attempting to add any custom service to ambari  (user group management on) 
the following error occurs:
{noformat}
KeyError: u'serviceuser'{noformat}
or example:
{noformat}
KeyError: u'flink'{noformat}
A current bulky work around is a python to disable user group management:
{code:java}
python /var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n 
DDP -l ddp.dfheinz.com -t 8080 -a set -c cluster-env -k  
ignore_groupsusers_create -v true{code}
 I have tried to find a source of the users in ambari metastore, as well as 
proper/correct source code in the custom service fileset to add/create the 
user:group requirements.  I have not been successful.

I am currently working on a seamless install of HDP with 3 different Third 
party services and this is a blocker to this solution.

 


> KeyError when Adding Custom Ambari Service
> --
>
> Key: AMBARI-25522
> URL: https://issues.apache.org/jira/browse/AMBARI-25522
> Project: Ambari
>  Issue Type: Improvement
>  Components: ambari-web
>Affects Versions: 2.7.5
>Reporter: Steven Matison
>Priority: Blocker
>
> When attempting to add any custom service to ambari  (user group management 
> on) the following error occurs:
> {noformat}
> KeyError: u'serviceuser'{noformat}
> or example:
> {noformat}
> KeyError: u'flink'{noformat}
> A current bulky work around is a python to disable user group management:
> {code:java}
> python /var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin 
> -n DDP -l hdp.dfheinz.com -t 8080 -a set -c cluster-env -k  
> ignore_groupsusers_create -v true{code}
>  I have tried to find a source of the users in ambari metastore, as well as 
> proper/correct source code in the custom service fileset to add/create the 
> user:group requirements.  I have not been successful.
> I am currently working on a seamless install of HDP with 3 different Third 
> party services and this is a blocker to this solution.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AMBARI-25522) KeyError when Adding Custom Ambari Service

2020-06-12 Thread Steven Matison (Jira)
Steven Matison created AMBARI-25522:
---

 Summary: KeyError when Adding Custom Ambari Service
 Key: AMBARI-25522
 URL: https://issues.apache.org/jira/browse/AMBARI-25522
 Project: Ambari
  Issue Type: Improvement
  Components: ambari-web
Affects Versions: 2.7.5
Reporter: Steven Matison


When attempting to add any custom service to ambari  (user group management on) 
the following error occurs:
{noformat}
KeyError: u'serviceuser'{noformat}
or example:
{noformat}
KeyError: u'flink'{noformat}
A current bulky work around is a python to disable user group management:
{code:java}
python /var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n 
DDP -l ddp.dfheinz.com -t 8080 -a set -c cluster-env -k  
ignore_groupsusers_create -v true{code}
 I have tried to find a source of the users in ambari metastore, as well as 
proper/correct source code in the custom service fileset to add/create the 
user:group requirements.  I have not been successful.

I am currently working on a seamless install of HDP with 3 different Third 
party services and this is a blocker to this solution.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (AMBARI-25521) Error when building in OpenSuse

2020-06-12 Thread Steven Matison (Jira)
Steven Matison created AMBARI-25521:
---

 Summary: Error when building in OpenSuse
 Key: AMBARI-25521
 URL: https://issues.apache.org/jira/browse/AMBARI-25521
 Project: Ambari
  Issue Type: Improvement
  Components: ambari-server
Affects Versions: 2.7.5
 Environment: 
[opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
  with my own Ambari and HDP repositories
Reporter: Steven Matison


I have built ambari 2.7.5 from source in openSuse/suse12.   When attempting to 
run ambari-server and ambari-agent in 
[opensuse|https://app.vagrantup.com/opensuse]/[Tumbleweed.x86_64|https://app.vagrantup.com/opensuse/boxes/Tumbleweed.x86_64]
 they both fail class OSCheck in detecting the correct operating system.  I 
tried to debug why, but was not successful.

 

I have been able to get around the issue by creating a replacement for 
"platform.linux_distribution()" as:

 
{noformat}
        #distribution = platform.linux_distribution()
        distribution = ("suse", "12", "Core"){noformat}

Since this is my first, issue I do not want to overstep boundaries, nor suggest 
what the solution is, but I wanted to create an adjustment to get this 
important scenario resolved in a future release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMBARI-25519) Ambari builds are failing with a bower error

2020-06-11 Thread Steven Matison (Jira)


[ 
https://issues.apache.org/jira/browse/AMBARI-25519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133811#comment-17133811
 ] 

Steven Matison edited comment on AMBARI-25519 at 6/12/20, 12:28 AM:


Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{npmVersion: 6.14.4}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.3.0",
"angular-route": "1.3.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.3.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.3.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  }
} {code}
{{}}


was (Author: stevendfheinz):
Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{npmVersion: 6.14.4}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.3.0",
"angular-route": "1.3.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.3.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.3.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  }
}{code}
 

{{}}

> Ambari builds are failing with a bower error
> 
>
> Key: AMBARI-25519
> URL: https://issues.apache.org/jira/browse/AMBARI-25519
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-admin
>Affects Versions: 2.7.4, 2.7.5
>Reporter: Dmytro Pidhaiets
>Assignee: Dmytro Grinenko
>Priority: Major
> Fix For: 2.7.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code}
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 download 
> https://github.com/angular/bower-angular/archive/v1.7.9.tar.gz2020/06/05 
> 12:34:51 - util.py::run_cmd  343 - INFO: bower angular#>=1.2.26 
> <1.8  extract archive.tar.gz
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 resolved 
> https://github.com/angular/bower-angular.git#1.7.92020/06/05 12:34:51 - 
> util.py::run_cmd  343 - INFO: bower   
>ECONFLICT Unable to find suitable version for angular
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (AMBARI-25519) Ambari builds are failing with a bower error

2020-06-11 Thread Steven Matison (Jira)


[ 
https://issues.apache.org/jira/browse/AMBARI-25519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133811#comment-17133811
 ] 

Steven Matison edited comment on AMBARI-25519 at 6/12/20, 12:27 AM:


Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{npmVersion: 6.14.4}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.3.0",
"angular-route": "1.3.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.3.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.3.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  }
}{code}
 

{{}}


was (Author: stevendfheinz):
Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{}}

{{npmVersion: 6.14.4}}

{{}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.3.0",
"angular-route": "1.3.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.3.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.3.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  }
}{code}
 

 

{{}}

{{}}{{}}

{{}}

> Ambari builds are failing with a bower error
> 
>
> Key: AMBARI-25519
> URL: https://issues.apache.org/jira/browse/AMBARI-25519
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-admin
>Affects Versions: 2.7.4, 2.7.5
>Reporter: Dmytro Pidhaiets
>Assignee: Dmytro Grinenko
>Priority: Major
> Fix For: 2.7.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code}
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 download 
> https://github.com/angular/bower-angular/archive/v1.7.9.tar.gz2020/06/05 
> 12:34:51 - util.py::run_cmd  343 - INFO: bower angular#>=1.2.26 
> <1.8  extract archive.tar.gz
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 resolved 
> https://github.com/angular/bower-angular.git#1.7.92020/06/05 12:34:51 - 
> util.py::run_cmd  343 - INFO: bower   
>ECONFLICT Unable to find suitable version for angular
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (AMBARI-25519) Ambari builds are failing with a bower error

2020-06-11 Thread Steven Matison (Jira)


[ 
https://issues.apache.org/jira/browse/AMBARI-25519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17133811#comment-17133811
 ] 

Steven Matison commented on AMBARI-25519:
-

Edit bower.json with suitable combinations of angular and angular-plugins.  
edit pom.xml with suitable versions for node/npm.   

Below is an example I was able to resolve today.

{{nodeVersion: v10.21.0}}

{{}}

{{npmVersion: 6.14.4}}

{{}}
{code:java}
{
  "name": "adminconsole",
  "private": true,
  "dependencies": {
"bootstrap": "3.3.7",
"angular": "1.3.0",
"angular-route": "1.3.0",
"angular-bootstrap": "0.11.0",
"underscore": "1.7.0",
"restangular": "1.4.0",
"angular-bootstrap-toggle-switch": "0.5.1",
"angular-animate": "1.3.0",
"angular-translate": "~2.8.1",
"font-awesome": "4.2.0"
  },
  "devDependencies": {
"angular-mocks": "1.3.0",
"commonjs": "0.2.0",
"chai": "1.8.0",
"mocha": "1.14.0",
"sinon": "1.10.3"
  }
}{code}
 

 

{{}}

{{}}{{}}

{{}}

> Ambari builds are failing with a bower error
> 
>
> Key: AMBARI-25519
> URL: https://issues.apache.org/jira/browse/AMBARI-25519
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-admin
>Affects Versions: 2.7.4, 2.7.5
>Reporter: Dmytro Pidhaiets
>Assignee: Dmytro Grinenko
>Priority: Major
> Fix For: 2.7.6
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {code}
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 download 
> https://github.com/angular/bower-angular/archive/v1.7.9.tar.gz2020/06/05 
> 12:34:51 - util.py::run_cmd  343 - INFO: bower angular#>=1.2.26 
> <1.8  extract archive.tar.gz
> 2020/06/05 12:34:51 - util.py::run_cmd  343 - INFO: bower 
> angular#>=1.2.26 <1.8 resolved 
> https://github.com/angular/bower-angular.git#1.7.92020/06/05 12:34:51 - 
> util.py::run_cmd  343 - INFO: bower   
>ECONFLICT Unable to find suitable version for angular
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)