getting lxd forkstart error while doing bootstrap

2016-09-22 Thread Rajith P Venkata
Hi

I am getting error while doing bootstrap 
 I am getting ERROR failed to bootstrap model: cannot start bootstrap 
instance: Error calling 'lxd forkstart juju-4fce6d-0 
/var/lib/lxd/containers /var/log/lxd/juju-4fce6d-0/lxc.conf': err='exit 
status 1'

this error is on root@:/var/log/lxd/juju-4fce6d-0# uname -a
Linux c277-pkvm-vm54 3.16.0-70-generic #90~14.04.1-Ubuntu SMP Wed Apr 6 
22:57:48 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux





Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



lxc.log
Description: Binary data
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Error while doing bootstrap

2016-09-01 Thread Rajith P Venkata
Thanks Christian, boot strap completed with below work around.



Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Christian Muirhead <christian.muirh...@canonical.com>
To: Rajith P Venkata/India/IBM@IBMIN
Cc: juju@lists.ubuntu.com, Katherine Cox-Buday 
<katherine.cox-bu...@canonical.com>
Date:   01-09-16 02:22 PM
Subject:Re: Error while doing bootstrap



Hi Rajith - 

You need to run that command on the machine that will host your containers 
(it doesn't need to be run as root). It configures LXD to listen to HTTPS 
traffic on port 8443, so that the connection to LXD from the bootstrapped 
controller (inside the container) will succeed. If you run that command 
and then bootstrap to LXD it should complete.

Is that enough information?

Cheers,
Christian


On Thu, Sep 1, 2016 at 8:34 AM Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
Hi Christain,

In  bug 1618636, you have mentioned of workaround

The workaround is to run this command to make lxd listen to https:
lxc config set core.https_address [::] 

please give more details, so I can try with workaround


Thanks and Regard


Rajith



From:Christian Muirhead <christian.muirh...@canonical.com>
To:Rajith P Venkata/India/IBM@IBMIN
Cc:juju@lists.ubuntu.com, Katherine Cox-Buday <
katherine.cox-bu...@canonical.com>
Date:31-08-16 01:43 PM
Subject:Re: Error while doing bootstrap



I've raised http://pad.lv/1618636 for this. I can reproduce it using the 
beta16 from the ppa but not from the beta16 tag built from source.

The bug probably needs more logs - what should I add?

On Wed, Aug 31, 2016 at 7:07 AM Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
Hi 

Error I am getting is different from lp:1605714.   Below error I have 
encountered while bootstraping on juju 2 beta 16.


Error details: 

tmux is already the newest version (2.1-3build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Attempt 1 to download tools from 
https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz..
.
tools from 
https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz
downloaded: HTTP 200; time 22.641s; size 19586816 bytes; speed 865091.000 
bytes/s Tools downloaded successfully.
5c8364fad79e358cf74713734a421dbd826edefe25c608583911770c75495e08 
 /var/lib/juju/tools/2.0-beta16-xenial-ppc64el/tools.tar.gz
ff24b22b83734a4c209ea825daa1106976a0001d30d58f1ef93ee07134b8c566 
 /var/lib/juju/gui/gui.tar.bz2
2016-08-31 06:03:18 INFO juju.cmd supercommand.go:63 running jujud 
[2.0-beta16 gc go1.6.2]
2016-08-31 06:03:18 ERROR cmd supercommand.go:458 creating LXD client: Get 
https://10.12.56.1:8443/1.0:Unable to connect to: 10.12.56.1:8443
ERROR failed to bootstrap model: subprocess encountered error code 1

Let us know if any other details required.



Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:Christian Muirhead <christian.muirh...@canonical.com>
To:Katherine Cox-Buday <katherine.cox-bu...@canonical.com>, Rajith 
P Venkata/India/IBM@IBMIN
Cc:juju@lists.ubuntu.com
Date:30-08-16 09:05 PM
Subject:Re: Error while doing bootstrap



Someone was just asking about the same error in #juju. I can reproduce it 
if I do a bootstrap inside a lxd container (with security.nesting on), 
with either lxd 2.1 or 2.0.4. Trying it with a built-from-source juju 
doesn't give the same error.
 
On Tue, Aug 30, 2016 at 3:29 PM Katherine Cox-Buday <
katherine.cox-bu...@canonical.com> wrote:
Hey Rajith,

This sounds like lp:1605714, do you agree? Mick (CCed) is currently 
investigating this as his top priority, so hopefully we'll have a fix 
soon.

"Rajith P Venkata" <rajith...@in.ibm.com> writes:

> Hi
>
> I am installing juju 2.16 on Ubuntu 16.04 power machine: ppc64le.
> While doing bootstrap getting below error:
>
> 2016-08-30 04:40:24 ERROR cmd supercommand.go:458 creating LXD client:
> Get https://10.12.56.1:8443/1.0:Unableto connect to: 10.12.56.1:8443
> ERROR failed to bootstrap model: subprocess encountered error code 1
>
> Please fix this issue.
>
> Rajith
>
> IBM AIX Certified, OCPCertified
> 
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com

--
Katherine

--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju







-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Error while doing bootstrap

2016-09-01 Thread Rajith P Venkata
Hi Christain,

In  bug 1618636, you have mentioned of workaround

The workaround is to run this command to make lxd listen to https:
lxc config set core.https_address [::] 

please give more details, so I can try with workaround


Thanks and Regard


Rajith



From:   Christian Muirhead <christian.muirh...@canonical.com>
To: Rajith P Venkata/India/IBM@IBMIN
Cc: juju@lists.ubuntu.com, Katherine Cox-Buday 
<katherine.cox-bu...@canonical.com>
Date:   31-08-16 01:43 PM
Subject:Re: Error while doing bootstrap



I've raised http://pad.lv/1618636 for this. I can reproduce it using the 
beta16 from the ppa but not from the beta16 tag built from source.

The bug probably needs more logs - what should I add?

On Wed, Aug 31, 2016 at 7:07 AM Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
Hi 

Error I am getting is different from lp:1605714.   Below error I have 
encountered while bootstraping on juju 2 beta 16.


Error details: 

tmux is already the newest version (2.1-3build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Attempt 1 to download tools from 
https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz..
.
tools from 
https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz
downloaded: HTTP 200; time 22.641s; size 19586816 bytes; speed 865091.000 
bytes/s Tools downloaded successfully.
5c8364fad79e358cf74713734a421dbd826edefe25c608583911770c75495e08 
 /var/lib/juju/tools/2.0-beta16-xenial-ppc64el/tools.tar.gz
ff24b22b83734a4c209ea825daa1106976a0001d30d58f1ef93ee07134b8c566 
 /var/lib/juju/gui/gui.tar.bz2
2016-08-31 06:03:18 INFO juju.cmd supercommand.go:63 running jujud 
[2.0-beta16 gc go1.6.2]
2016-08-31 06:03:18 ERROR cmd supercommand.go:458 creating LXD client: Get 
https://10.12.56.1:8443/1.0:Unable to connect to: 10.12.56.1:8443
ERROR failed to bootstrap model: subprocess encountered error code 1

Let us know if any other details required.



Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:Christian Muirhead <christian.muirh...@canonical.com>
To:Katherine Cox-Buday <katherine.cox-bu...@canonical.com>, Rajith 
P Venkata/India/IBM@IBMIN
Cc:juju@lists.ubuntu.com
Date:30-08-16 09:05 PM
Subject:Re: Error while doing bootstrap



Someone was just asking about the same error in #juju. I can reproduce it 
if I do a bootstrap inside a lxd container (with security.nesting on), 
with either lxd 2.1 or 2.0.4. Trying it with a built-from-source juju 
doesn't give the same error.
 
On Tue, Aug 30, 2016 at 3:29 PM Katherine Cox-Buday <
katherine.cox-bu...@canonical.com> wrote:
Hey Rajith,

This sounds like lp:1605714, do you agree? Mick (CCed) is currently 
investigating this as his top priority, so hopefully we'll have a fix 
soon.

"Rajith P Venkata" <rajith...@in.ibm.com> writes:

> Hi
>
> I am installing juju 2.16 on Ubuntu 16.04 power machine: ppc64le.
> While doing bootstrap getting below error:
>
> 2016-08-30 04:40:24 ERROR cmd supercommand.go:458 creating LXD client:
> Get https://10.12.56.1:8443/1.0:Unableto connect to: 10.12.56.1:8443
> ERROR failed to bootstrap model: subprocess encountered error code 1
>
> Please fix this issue.
>
> Rajith
>
> IBM AIX Certified, OCPCertified
> 
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com

--
Katherine

--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju





-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Error while doing bootstrap

2016-08-31 Thread Rajith P Venkata
Hi 

Error I am getting is different from lp:1605714.   Below error I have 
encountered while bootstraping on juju 2 beta 16.


Error details: 

tmux is already the newest version (2.1-3build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Attempt 1 to download tools from 
https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz..
.
tools from 
https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz
 
downloaded: HTTP 200; time 22.641s; size 19586816 bytes; speed 865091.000 
bytes/s Tools downloaded successfully.
5c8364fad79e358cf74713734a421dbd826edefe25c608583911770c75495e08 
/var/lib/juju/tools/2.0-beta16-xenial-ppc64el/tools.tar.gz
ff24b22b83734a4c209ea825daa1106976a0001d30d58f1ef93ee07134b8c566 
/var/lib/juju/gui/gui.tar.bz2
2016-08-31 06:03:18 INFO juju.cmd supercommand.go:63 running jujud 
[2.0-beta16 gc go1.6.2]
2016-08-31 06:03:18 ERROR cmd supercommand.go:458 creating LXD client: Get 
https://10.12.56.1:8443/1.0: Unable to connect to: 10.12.56.1:8443
ERROR failed to bootstrap model: subprocess encountered error code 1

Let us know if any other details required.



Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Christian Muirhead <christian.muirh...@canonical.com>
To: Katherine Cox-Buday <katherine.cox-bu...@canonical.com>, Rajith P 
Venkata/India/IBM@IBMIN
Cc: juju@lists.ubuntu.com
Date:   30-08-16 09:05 PM
Subject:Re: Error while doing bootstrap



Someone was just asking about the same error in #juju. I can reproduce it 
if I do a bootstrap inside a lxd container (with security.nesting on), 
with either lxd 2.1 or 2.0.4. Trying it with a built-from-source juju 
doesn't give the same error.
 
On Tue, Aug 30, 2016 at 3:29 PM Katherine Cox-Buday <
katherine.cox-bu...@canonical.com> wrote:
Hey Rajith,

This sounds like lp:1605714, do you agree? Mick (CCed) is currently 
investigating this as his top priority, so hopefully we'll have a fix 
soon.

"Rajith P Venkata" <rajith...@in.ibm.com> writes:

> Hi
>
> I am installing juju 2.16 on Ubuntu 16.04 power machine: ppc64le.
> While doing bootstrap getting below error:
>
> 2016-08-30 04:40:24 ERROR cmd supercommand.go:458 creating LXD client:
> Get https://10.12.56.1:8443/1.0:Unable to connect to: 10.12.56.1:8443
> ERROR failed to bootstrap model: subprocess encountered error code 1
>
> Please fix this issue.
>
> Rajith
>
> IBM AIX Certified, OCPCertified
> 
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com

--
Katherine

--
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju



-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Error while doing bootstrap

2016-08-29 Thread Rajith P Venkata
Hi

I am installing juju 2.16 on Ubuntu 16.04 power machine: ppc64le.   While 
doing bootstrap getting below error: 

2016-08-30 04:40:24 ERROR cmd supercommand.go:458 creating LXD client: Get 
https://10.12.56.1:8443/1.0: Unable to connect to: 10.12.56.1:8443
ERROR failed to bootstrap model: subprocess encountered error code 1


Please fix this issue.

Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Error while installing Mariadb 5.5

2016-08-12 Thread Rajith P Venkata
Hi 

I am getting error while installing Mariadb version 5.5  from charm store 
.  Please find log details attached







Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



unit-mariadb-3.log
Description: Binary data
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Need information for connecting to mariadb from remote machine

2016-06-22 Thread Rajith P Venkata
Hi

I have deployed Mariadb 5.5 and  tried to connect to mariadb from remote 
machine, I am getting error: ERROR 1045 (28000):Access denied for user

As Mariadb has restricted access is it fine If I execute following queries 
in Mariadb to  access  from remote machine.


CREATE USER 'root'@'%' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
FLUSH PRIVILEGES;

Let me know if this queries are fine or any alternate approach you have.




Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Rajith P Venkata/India/IBM
To: Mauricio Tavares <raubvo...@gmail.com>
Cc: juju <juju@lists.ubuntu.com>
Date:   20-06-16 04:11 PM
Subject:Re: Need information for connecting to mariadb from remote 
machine


Hi

please check this



I am connecting to mariadb from remote machine 10.0.3.76.  Mariadb is 
installed in 10.0.3.46






Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com




From:   Mauricio Tavares <raubvo...@gmail.com>
To:     Rajith P Venkata/India/IBM@IBMIN
Cc: juju <juju@lists.ubuntu.com>
Date:   20-06-16 04:02 PM
Subject:Re: Need information for connecting to mariadb from remote 
machine



On Mon, Jun 20, 2016 at 6:23 AM, Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
> Hi
>
> To be more precise,  I am  getting below error when I execute this :
>
> ubuntu@charm-local-machine-5:~$ mysql -h 10.0.3.46 -u ietohvoibaitaik
> ERROR 1045 (28000): Access denied for user 'ietohvoibaitaik'@'10.0.3.76'
>

1. Your command seems to be incomplete. How are you passing the password?
2. Have you tried as I suggested connecting from 10.0.3.46 instead of 
10.0.3.76?

> Rajith
>
> IBM AIX Certified, OCPCertified
> 
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com
>
>
>
> From:Mauricio Tavares <raubvo...@gmail.com>
> To:Rajith P Venkata/India/IBM@IBMIN
> Cc:Daniel Bartholomew <db...@mariadb.com>, juju
> <juju@lists.ubuntu.com>
> Date:20-06-16 03:46 PM
> Subject:Re: Need information for connecting to mariadb from 
remote
> machine
> 
>
>
>
> On Mon, Jun 20, 2016 at 5:51 AM, Rajith P Venkata <rajith...@in.ibm.com>
> wrote:
>> Hi
>>
>> I am connecting to mariadb from remote machine , I am executing this
>> commands from bash
>>
>> @when 'relation_name.available'
>> function mariadb_install_check(){
>> db_host=`relation-get host`
>> db_user=`relation-get user`
>> db_pass=`relation-get password`
>> mysql -h db_host -u db_user -p db_pass
>> }
>>
>  Didn't know that is a proper bash function; learning something
> new every day.
>
>>
>> while connecting to my sql : I am getting error: ERROR 1045 (28000):
>> Access
>> denied for user
>>
>  Have you tried manually to connect as said user? From the
> mariadb server and then from remote host?
>
>> please let me know what grant permission I can provide from mariadb to
>> default user of remote machine.
>>
>  I think that is a mysql (and derivatives) question, not a juju
> one. The error message you got might provide a hint.
>
>> remote machine user I am getting: ietohvoibaitaik
>>
>>
>>
>>
>> Rajith
>>
>> IBM AIX Certified, OCPCertified
>> 
>>
>> Cell- 9901966577
>> Email: rajith...@in.ibm.com
>>
>>
>>
>> From:Rajith P Venkata/India/IBM
>> To:Daniel Bartholomew <db...@mariadb.com>, juju
>> <juju@lists.ubuntu.com>
>> Date:14-06-16 11:31 PM
>> Subject:Need information  for performing housekeeping tasks on
>> mariadb from a remote machine
>> 
>>
>>
>> Hi,
>>
>> I have deployed mariadb in unit 1 and want to perform following tasks 
from
>> RTM charm which is in unit 2
>>
>> rm -f /var/lib/mysql/ib_logfile*
>> service mysql stop
>> rm -f /var/lib/mysql/ibdata*
>>
>> Please let me know how I can perform this housekeeping tasks.
>>
>>
>> Rajith
>>
>> IBM AIX Certified, OCPCertified
>> 
>>
>> Cell- 9901966577
>> Email: rajith...@in.ibm.com
>>
>>
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>
>
>
>






-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Need information for connecting to mariadb from remote machine

2016-06-20 Thread Rajith P Venkata
Hi

please check this



I am connecting to mariadb from remote machine 10.0.3.76.  Mariadb is 
installed in 10.0.3.46






Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Mauricio Tavares <raubvo...@gmail.com>
To: Rajith P Venkata/India/IBM@IBMIN
Cc: juju <juju@lists.ubuntu.com>
Date:   20-06-16 04:02 PM
Subject:Re: Need information for connecting to mariadb from remote 
machine



On Mon, Jun 20, 2016 at 6:23 AM, Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
> Hi
>
> To be more precise,  I am  getting below error when I execute this :
>
> ubuntu@charm-local-machine-5:~$ mysql -h 10.0.3.46 -u ietohvoibaitaik
> ERROR 1045 (28000): Access denied for user 'ietohvoibaitaik'@'10.0.3.76'
>

1. Your command seems to be incomplete. How are you passing the password?
2. Have you tried as I suggested connecting from 10.0.3.46 instead of 
10.0.3.76?

> Rajith
>
> IBM AIX Certified, OCPCertified
> 
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com
>
>
>
> From:Mauricio Tavares <raubvo...@gmail.com>
> To:Rajith P Venkata/India/IBM@IBMIN
> Cc:Daniel Bartholomew <db...@mariadb.com>, juju
> <juju@lists.ubuntu.com>
> Date:20-06-16 03:46 PM
> Subject:Re: Need information for connecting to mariadb from 
remote
> machine
> 
>
>
>
> On Mon, Jun 20, 2016 at 5:51 AM, Rajith P Venkata <rajith...@in.ibm.com>
> wrote:
>> Hi
>>
>> I am connecting to mariadb from remote machine , I am executing this
>> commands from bash
>>
>> @when 'relation_name.available'
>> function mariadb_install_check(){
>> db_host=`relation-get host`
>> db_user=`relation-get user`
>> db_pass=`relation-get password`
>> mysql -h db_host -u db_user -p db_pass
>> }
>>
>  Didn't know that is a proper bash function; learning something
> new every day.
>
>>
>> while connecting to my sql : I am getting error: ERROR 1045 (28000):
>> Access
>> denied for user
>>
>  Have you tried manually to connect as said user? From the
> mariadb server and then from remote host?
>
>> please let me know what grant permission I can provide from mariadb to
>> default user of remote machine.
>>
>  I think that is a mysql (and derivatives) question, not a juju
> one. The error message you got might provide a hint.
>
>> remote machine user I am getting: ietohvoibaitaik
>>
>>
>>
>>
>> Rajith
>>
>> IBM AIX Certified, OCPCertified
>> 
>>
>> Cell- 9901966577
>> Email: rajith...@in.ibm.com
>>
>>
>>
>> From:Rajith P Venkata/India/IBM
>> To:Daniel Bartholomew <db...@mariadb.com>, juju
>> <juju@lists.ubuntu.com>
>> Date:14-06-16 11:31 PM
>> Subject:Need information  for performing housekeeping tasks on
>> mariadb from a remote machine
>> 
>>
>>
>> Hi,
>>
>> I have deployed mariadb in unit 1 and want to perform following tasks 
from
>> RTM charm which is in unit 2
>>
>> rm -f /var/lib/mysql/ib_logfile*
>> service mysql stop
>> rm -f /var/lib/mysql/ibdata*
>>
>> Please let me know how I can perform this housekeeping tasks.
>>
>>
>> Rajith
>>
>> IBM AIX Certified, OCPCertified
>> 
>>
>> Cell- 9901966577
>> Email: rajith...@in.ibm.com
>>
>>
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>
>
>
>





-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Need information for connecting to mariadb from remote machine

2016-06-20 Thread Rajith P Venkata
Hi 

To be more precise,  I am  getting below error when I execute this :

ubuntu@charm-local-machine-5:~$ mysql -h 10.0.3.46 -u ietohvoibaitaik
ERROR 1045 (28000): Access denied for user 'ietohvoibaitaik'@'10.0.3.76'

Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Mauricio Tavares <raubvo...@gmail.com>
To: Rajith P Venkata/India/IBM@IBMIN
Cc: Daniel Bartholomew <db...@mariadb.com>, juju 
<juju@lists.ubuntu.com>
Date:   20-06-16 03:46 PM
Subject:Re: Need information for connecting to mariadb from remote 
machine



On Mon, Jun 20, 2016 at 5:51 AM, Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
> Hi
>
> I am connecting to mariadb from remote machine , I am executing this
> commands from bash
>
> @when 'relation_name.available'
> function mariadb_install_check(){
> db_host=`relation-get host`
> db_user=`relation-get user`
> db_pass=`relation-get password`
> mysql -h db_host -u db_user -p db_pass
> }
>
  Didn't know that is a proper bash function; learning something
new every day.

>
> while connecting to my sql : I am getting error: ERROR 1045 (28000): 
Access
> denied for user
>
  Have you tried manually to connect as said user? From the
mariadb server and then from remote host?

> please let me know what grant permission I can provide from mariadb to
> default user of remote machine.
>
  I think that is a mysql (and derivatives) question, not a juju
one. The error message you got might provide a hint.

> remote machine user I am getting: ietohvoibaitaik
>
>
>
>
> Rajith
>
> IBM AIX Certified, OCPCertified
> ________
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com
>
>
>
> From:Rajith P Venkata/India/IBM
> To:Daniel Bartholomew <db...@mariadb.com>, juju
> <juju@lists.ubuntu.com>
> Date:14-06-16 11:31 PM
> Subject:Need information  for performing housekeeping tasks on
> mariadb from a remote machine
> 
>
>
> Hi,
>
> I have deployed mariadb in unit 1 and want to perform following tasks 
from
> RTM charm which is in unit 2
>
> rm -f /var/lib/mysql/ib_logfile*
> service mysql stop
> rm -f /var/lib/mysql/ibdata*
>
> Please let me know how I can perform this housekeeping tasks.
>
>
> Rajith
>
> IBM AIX Certified, OCPCertified
> 
>
> Cell- 9901966577
> Email: rajith...@in.ibm.com
>
>
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>





-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Need information for connecting to mariadb from remote machine

2016-06-20 Thread Rajith P Venkata
Hi

I am connecting to mariadb from remote machine , I am executing this 
commands from bash

@when 'relation_name.available'
function mariadb_install_check(){
db_host=`relation-get host`
db_user=`relation-get user`
db_pass=`relation-get password`
mysql -h db_host -u db_user -p db_pass
}


while connecting to my sql : I am getting error: ERROR 1045 (28000): 
Access denied for user 

please let me know what grant permission I can provide from mariadb to 
default user of remote machine.

remote machine user I am getting: ietohvoibaitaik




Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Rajith P Venkata/India/IBM
To: Daniel Bartholomew <db...@mariadb.com>, juju 
<juju@lists.ubuntu.com>
Date:   14-06-16 11:31 PM
Subject:Need information  for performing housekeeping tasks on 
mariadb from a remote machine


Hi,

I have deployed mariadb in unit 1 and want to perform following tasks from 
RTM charm which is in unit 2

rm -f /var/lib/mysql/ib_logfile*
service mysql stop
rm -f /var/lib/mysql/ibdata*

Please let me know how I can perform this housekeeping tasks.


Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com




-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Need information for performing housekeeping tasks on mariadb from a remote machine

2016-06-14 Thread Rajith P Venkata
Hi,

I have deployed mariadb in unit 1 and want to perform following tasks from 
RTM charm which is in unit 2

rm -f /var/lib/mysql/ib_logfile*
service mysql stop
rm -f /var/lib/mysql/ibdata*

Please let me know how I can perform this housekeeping tasks.


Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com


-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: issue for other charms after installing mariadb 5.5

2016-06-13 Thread Rajith P Venkata
Thanks Daniel, for Mariadb 5.5 we were able to deploy on power machine 
without any work around.



Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Daniel Bartholomew <db...@mariadb.com>
To: Rajith P Venkata/India/IBM@IBMIN
Cc: juju <juju@lists.ubuntu.com>
Date:   11-06-16 01:40 AM
Subject:Re: issue for other charms after installing mariadb 5.5



On Wed, Jun 8, 2016 at 9:30 AM, Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
> Thanks for below information, after deploying Mariadb 5.5 , we are not 
able
> to add any new charm we are getting  below error if we deploy any charm
> after Mariadb 5.5 charm.
>
> http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/dists/trusty/InRelease
>
>  Unable to find expected entry 'main/binary-ppc64el/Packages' in Release
> file (Wrong sources.list entry or malformed file)
>
> As a workaround I  had tried to comment the below url, in
> /etc/apt/sources.list, which helped to proceed with my charm.

deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu  trusty main

Leave the above uncommented in your sources.list

> and in sources.list we have below url commented:
> # deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu  trusty main
>

There was an error in the 5.5 repository. Basically, the metadata and
some of the Power8 packages were missing. It should be good now. Can
you check?

Thanks.

-- 
Daniel Bartholomew, MariaDB Release Manager
MariaDB | http://mariadb.com





-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


issue for other charms after installing mariadb 5.5

2016-06-08 Thread Rajith P Venkata
Hi

Thanks for below information, after deploying Mariadb 5.5 , we are not 
able to add any new charm we are getting  below error if we deploy any 
charm after Mariadb 5.5 charm.

http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/dists/trusty/InRelease 
Unable to find expected entry 'main/binary-ppc64el/Packages' in Release 
file (Wrong sources.list entry or malformed file)

As a workaround I  had tried to comment the below url, in 
/etc/apt/sources.list, which helped to proceed with my charm.
deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main

and in sources.list we have below url commented: 
# deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main

please help us in fixing this issue.

Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Daniel Bartholomew <db...@mariadb.com>
To: Rajith P Venkata/India/IBM@IBMIN
Cc: juju <juju@lists.ubuntu.com>
Date:   03-06-16 10:55 PM
Subject:Re: error with mariadb



On Fri, Jun 3, 2016 at 6:18 AM, Rajith P Venkata <rajith...@in.ibm.com> 
wrote:
> I am trying to use  Mariadb 5.5 on  Ubuntu 14.x on Power 8 Little Endian
> with this we are getting error as unexpected token,
> Token I have used form https://mariadb.com/my_portal
>
> With verision Mariadb 10.05 we do not get this error but the plugin we 
are
> installing needs Mariadb 5.5.
>
> Please refer the logs below and let us know if Mariadb 5.5 works on 
Ubuntu
> 14.x on Power 8 Little Endian

MariaDB 5.5 does work on Ubuntu 14.x on Power 8 Little Endian.
However, after looking at the logs, I'm not sure what your error is.

In the unit-mariadb-5.log file, I see one error where something is
trying to connect to MariaDB when MariaDB isn't running, but I'm not
sure exactly what is trying to connect. A few lines further down in
the log MariaDB is started again, so if whatever was trying to access
MariaDB had waited a few seconds I would assume the connection attempt
would have succeeded. During installation and upgrades MariaDB is
stopped and started at various points as needed to apply updates to
internal system tables and other tasks.

In the unit-ibm-platform-rtm-4.log I see that line 203 of the
ibm-prtm.sh script has a syntax error, but I don't know anything about
that script that would enable me to comment further. I also see that
the script runs a ibm-prtm-mariadb.available test several times, but
again I don't know anything about that test or what it is checking
for.

I don't know if it will help you or not, but I recently pushed some
updates to my personal launchpad tree -
lp:~dbart/charms/trusty/mariadb/trunk - that sets the MariaDB charm to
use the MariaDB Foundation repositories by default if the MariaDB Inc
EULA and token are not provided as specified in the README. This new
version of the charm is not in the charm store yet, but hopefully it
will be soon.

I can confirm that the MariaDB Foundation repositories do have
packages for MariaDB 5.5 for Trusty on Power 8 Little Endian. The only
caveat I would add is that you'll get much better performance on Power
8 using MariaDB 10.0 or 10.1.


Also, the choice of which series to use should be changed using a
local config.yaml file with the series variable set to one of "5.5",
"10.0", or "10.1" (the default in the charm store is currently 10.0,
but my new update bumps the default up to 10.1). For example:

mariadb:
series: "5.5"

When using my repository locally I can then deploy MariaDB 5.5 with:
juju deploy --config ./mariadb.yaml
--repository="/home/${USER}/src/charms/" local:trusty/mariadb


And FYI, using something like:

juju set mariadb series="5.5"

...after the initial deployment to downgrade MariaDB from the default
series to 5.5 does not work. It has to be set using a yaml file as
described above and used during the initial deployment. Using the set
command to upgrade MariaDB, from say 5.5 to 10.0, does work, it's just
downgrades that don't work.

I'm not sure if any of the above will be of help, but hopefully some
of it will. If you have additional questions or comments, please let
me know.

Thanks.

-- 
Daniel Bartholomew, MariaDB Release Manager
MariaDB | http://mariadb.com





-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


issue after installing Mariadb Enterprise edition

2016-05-26 Thread Rajith P Venkata
Hi

Thanks for earlier  information. I have below issue : 

1)
After Installing Mariadb Enterprise edition on to power 8 machine from 
charm store, I am trying to install any layer charm from charm store on 
the same machine as I have dependency with mariadb, I am getting error 
:Failed to fetch 
http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu/dists/trusty/InRelease 
Unable to find expected entry 'main/binary-ppc64el/Packages' in Release 
file (Wrong sources.list entry or malformed file)

2)After I got the above error I tried to follow the steps given in link: 
http://bazaar.launchpad.net/~dbart/charms/trusty/mariadb/trunk/view/head:/README.md#L24
 
 and used the mariadb code from lp:~dbart/charms/trusty/mariadb/trunk  or 
directly deploying from charm store, I am getting token error KeyError: 
'token , I have taken token from https://mariadb.com/my_portal


Attached log for 



Please help me in fixing above issue 



Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Daniel Bartholomew <db...@mariadb.com>
To: Kevin Monroe <kevin.mon...@canonical.com>
Cc:     Rajith P Venkata/India/IBM@IBMIN, juju <juju@lists.ubuntu.com>, 
Mark Shuttleworth <m...@ubuntu.com>
Date:   25-05-16 04:09 AM
Subject:Re: information needed for Mariadb Enterprise edition



On Thu, May 19, 2016 at 7:46 PM, Kevin Monroe
<kevin.mon...@canonical.com> wrote:
> I recently took a look at the mariadb charm on ppc64le and ran across 
some
> interesting bits.  I'm looping in the charm maintainer (dbart) for extra
> insights.
>
> First, MariaDB has both enterprise and community versions available for 
this
> charm to deploy.  Rajith, as you saw in the readme, you should be able 
to
> obtain credentials from the MariaDB Portal
> (https://mariadb.com/user/login?destination=my_portal/download
>
> ).  However, there was a recent change in the package signing key [0] 
that
> may affect installation.  Daniel, are these "enterprise.yaml" creation
> instructions in the charm readme still valid?:
>
> 
http://bazaar.launchpad.net/~charmers/charms/trusty/mariadb/trunk/view/head:/README.md#L46

>

No. Those are old instructions. I submitted an updated version of the
charm way back in November, but it looks like it never made it into
the charm store. As a first step, the version of the charm currently
in my repo (revision 28) should immediately be pushed to the charm
store: lp:~dbart/charms/trusty/mariadb/trunk

The correct readme is here:

http://bazaar.launchpad.net/~dbart/charms/trusty/mariadb/trunk/view/head:/README.md#L24


...but the instructions there won't work unless the charm in the store
is updated.


> Second, line 382 of Rajith's log (http://paste.ubuntu.com/16514402/) 
shows that if the configured repo is ignored, the charm will continue to
> install mariadb-[server|client] from the trusty archives.  This will put
> mariadb-5.x on the unit, which may or may not be intended.  Perhaps the
> charm should warn the user if mariadb is installed from a location other
> than the configured repo?

A warning is something that could be added. In the log the configured
repo is ignored because it is trying to use the MariaDB repositories
(not the MariaDB Enterprise repositories). Only the MariaDB Enterprise
repositories have packages for the POWER8 architecture.


> Third, I was able to reproduce the behavior seen in Rajith's log where
> mariadb did not start successfully.  I think the default dataset-size
> configuration is too aggressive in some scenarios.  I've opened a bug 
[1] to
> track this.

It could be that the version of MariaDB in the Ubuntu repositories is
what is at fault here. It's the older 5.5 version, whereas the MariaDB
Enterprise version is 10.0. That said, I can definitely make the
change to the default config in the charm.


> Rajith, I know you specifically asked about the enterprise edition, and
> hopefully Daniel will be able to assist there.  That said, I have 
verified
> the community edition works when deploying from the charm store to a 
ppc64le
> container.  Let me know if I can be of any help to get that running in 
your
> environment.
>
> [0] https://jira.mariadb.org/browse/MDEV-9781

This MDEV is a red herring. It has no bearing on MariaDB Enterprise
and only affects MariaDB for Xenial and Debian Sid.

> [1] https://bugs.launchpad.net/charms/+source/mariadb/+bug/1583834

As mentioned above, assuming the default mem config is to blame, this
bug is simple to solve. I'll add the fix to the current update I'm
working on.

And speaking of updates, I'm working on an updated version of the
charm that installs the latest MariaDB from the community
repositories, including for POWER8, and only attempts to install
MariaDB Enterprise if the enterprise.yaml file is in place and called
during the

Re: information needed for Mariadb Enterprise edition

2016-05-19 Thread Rajith P Venkata
attaching logs for further reference




Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



From:   Rajith P Venkata/India/IBM
To: juju@lists.ubuntu.com
Date:   19-05-16 03:40 PM
Subject:information needed for Mariadb Enterprise edition 



Hi 
I am installing Mariadb Enterprise edition by following below steps from 
charm store, I am getting hook fail error,


Obtain a username/password from the MariaDB Portal and you will then have 
access to the MariaDB Enterprise repository. 
Next create a file called enterprise.yaml with the following contents, 
replacing username:password with your actual username and password: 
mariadb:
  enterprise-eula: true
  key: 0xd324876ebe6a595f
  source: "deb 
https://username:passw...@code.mariadb.com/mariadb-enterprise/10.0/repo/ubuntu 
trusty main"
Lastly, deploy MariaDB as normal but with the addition of the yaml file
juju deploy --config ./enterprise.yaml mariadb


 please let me know steps for getting username and password .  Is username 
and password same as site username and password.

Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com




unit-mariadb-0.log
Description: Binary data
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


information needed for Mariadb Enterprise edition

2016-05-19 Thread Rajith P Venkata
Hi 
I am installing Mariadb Enterprise edition by following below steps from 
charm store, I am getting hook fail error,


Obtain a username/password from the MariaDB Portal and you will then have 
access to the MariaDB Enterprise repository. 
Next create a file called enterprise.yaml with the following contents, 
replacing username:password with your actual username and password: 
mariadb:
  enterprise-eula: true
  key: 0xd324876ebe6a595f
  source: "deb 
https://username:passw...@code.mariadb.com/mariadb-enterprise/10.0/repo/ubuntu 
trusty main"
Lastly, deploy MariaDB as normal but with the addition of the yaml file
juju deploy --config ./enterprise.yaml mariadb


 please let me know steps for getting username and password .  Is username 
and password same as site username and password.

Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju