Request to support to work with Juju

2015-04-30 Thread dinesh.senapaty
Hi,
I have been working on Juju for last 2 weeks. There are some blockages while 
working on it like:
1.In juju bootstrap. It is not downloading the  disc image itself. But when I 
check juju status, it is showing machine-0 (started state).
2.And when I try to deploy any service, it adding the charm but the new 
instance is staying in pending state forever and it is not creating the 
template.

Kindly help me figure out the way to solve the above problems.

Thanks and Regards,
Dinesh Kumar Senapaty,
Wipro Technologies.
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Request to support to work with Juju

2015-05-03 Thread dinesh.senapaty
Hi,
I have been working on Juju for last 2 weeks. There are some blockages while 
working on it like:
1.In juju bootstrap. It is not downloading the  disc image itself. I checked in 
the path: /var/cache/lxc/cloud , the image is not present.
2.And when I try to deploy any service, it adding the charm but the new 
instance is staying in pending state forever. And also the LXC template is 
being created. 'sudo lxc-ls -fancy' is not giving any output.
I am using local provider. I am using Juju on top of Ubuntu (version 14.04).
Juju version: 1.23.2.1-trusty-amd64

I am getting the below output when I give "juju status":

environment: local
machines:
  "0":
agent-state: started
agent-version: 1.23.2.1
dns-name: localhost
instance-id: localhost
series: trusty
state-server-member-status: has-vote
  "1":
agent-state-info: 'container failed to start and was destroyed: 
router-local-machine-1'
instance-id: pending
series: trusty
services:
  mysql:
charm: cs:trusty/mysql-25
exposed: false
relations:
  cluster:
  - mysql
units:
  mysql/0:
agent-state: allocating
machine: "1"


Thanks and Regards,
Dinesh Kumar Senapaty,
Wipro Technologies
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Request to support to work with Juju

2015-04-30 Thread Marco Ceppi
Hello, are you using the local provider? If so it can take several minutes
to seed the initial download of the cloud image. You can find if the image
was downloaded by checking /var/cache/lxc/cloud-* where * is precise,
trusty, or the series you're trying to deploy. Images are downloaded only
when you first attempt to deploy and then cached in that directory. Once
cached it will attempt to build a LXC template (`sudo lxc-ls --fancy`
should produce output with something like "juju-trusty-lxc-template") if
you don't see anything in the cache directory, or in the lxc-ls output, or
you do, or you're not using local provider, let us know.

Also, the version of juju you're using may also help us identify issues
you're having.

Thanks,
Marco Ceppi

On Thu, Apr 30, 2015 at 3:52 AM  wrote:

>  Hi,
>
> I have been working on Juju for last 2 weeks. There are some blockages
> while working on it like:
>
> 1.In *juju bootstrap. *It is *not downloading the  disc image* itself.
> But when I check juju status, it is showing machine-0 (started state).
>
> 2.And when I try to *deploy any service*, it adding the charm but the new
> instance is staying in *pending state* forever and it is not *creating
> the template*.
>
>
>
> Kindly help me figure out the way to solve the above problems.
>
>
>
> Thanks and Regards,
>
> Dinesh Kumar Senapaty,
>
> Wipro Technologies.
>  The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.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: Request to support to work with Juju

2015-05-04 Thread Katherine Cox-Buday
Thanks for reaching out, Dinesh!

I have opened two bugs for these issues:

1.In *juju bootstrap. *It is *not downloading the  disc image* itself. But
> when I check juju status, it is showing machine-0 (started state).
>
https://bugs.launchpad.net/juju-core/+bug/1451487


> 2.And when I try to *deploy any service*, it adding the charm but the new
> instance is staying in *pending state* forever and it is not *creating
> the template*.

https://bugs.launchpad.net/juju-core/+bug/1451488


Would you mind logging any relevant information there? It will help us to
triage the issue more quickly.

-
Katherine


On Thu, Apr 30, 2015 at 3:13 AM, Marco Ceppi  wrote:

> Hello, are you using the local provider? If so it can take several minutes
> to seed the initial download of the cloud image. You can find if the image
> was downloaded by checking /var/cache/lxc/cloud-* where * is precise,
> trusty, or the series you're trying to deploy. Images are downloaded only
> when you first attempt to deploy and then cached in that directory. Once
> cached it will attempt to build a LXC template (`sudo lxc-ls --fancy`
> should produce output with something like "juju-trusty-lxc-template") if
> you don't see anything in the cache directory, or in the lxc-ls output, or
> you do, or you're not using local provider, let us know.
>
> Also, the version of juju you're using may also help us identify issues
> you're having.
>
> Thanks,
> Marco Ceppi
>
> On Thu, Apr 30, 2015 at 3:52 AM  wrote:
>
>>  Hi,
>>
>> I have been working on Juju for last 2 weeks. There are some blockages
>> while working on it like:
>>
>> 1.In *juju bootstrap. *It is *not downloading the  disc image* itself.
>> But when I check juju status, it is showing machine-0 (started state).
>>
>> 2.And when I try to *deploy any service*, it adding the charm but the
>> new instance is staying in *pending state* forever and it is not *creating
>> the template*.
>>
>>
>>
>> Kindly help me figure out the way to solve the above problems.
>>
>>
>>
>> Thanks and Regards,
>>
>> Dinesh Kumar Senapaty,
>>
>> Wipro Technologies.
>>  The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the addressee(s) and
>> may contain proprietary, confidential or privileged information. If you are
>> not the intended recipient, you should not disseminate, distribute or copy
>> this e-mail. Please notify the sender immediately and destroy all copies of
>> this message and any attachments. WARNING: Computer viruses can be
>> transmitted via email. The recipient should check this email and any
>> attachments for the presence of viruses. The company accepts no liability
>> for any damage caused by any virus transmitted by this email.
>> www.wipro.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
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Request to support to work with Juju

2015-05-04 Thread John Meinel
On Mon, May 4, 2015 at 8:49 PM, Katherine Cox-Buday <
katherine.cox-bu...@canonical.com> wrote:

> Thanks for reaching out, Dinesh!
>
> I have opened two bugs for these issues:
>
> 1.In *juju bootstrap. *It is *not downloading the  disc image* itself.
>> But when I check juju status, it is showing machine-0 (started state).
>>
> https://bugs.launchpad.net/juju-core/+bug/1451487
>

So it sounded like this was the local provider, in which case "machine-0"
is the host machine not an LXC instance. Thus it is definitely already
running.


>
>
>
>> 2.And when I try to *deploy any service*, it adding the charm but the
>> new instance is staying in *pending state* forever and it is not *creating
>> the template*.
>
> https://bugs.launchpad.net/juju-core/+bug/1451488
> 
>
> Would you mind logging any relevant information there? It will help us to
> triage the issue more quickly.
>

This is more when the image would be downloaded. I'm not sure when it would
be stuck in pending. I do think this is worthy of looking into. I know
there were some bugs in the past.

Just some precursor questions:

   1. What version of juju are you using (juju --version)
   2. What version of Ubuntu and what services are you trying to deploy?
   (in case your on U/V trying to deploy a T charm, etc)
   3. I believe you need a package (cloud-image-tools?) to be able to find
   containers for Ubuntu versions that don't match your current version. I
   would think that would be installed if you install "juju-local", as it
   should include all the dependencies we need for running the Juju local
   provider.

Thanks for opening the conversation, hopefully we can help you get up and
running.

John
=:->


-
Katherine


On Thu, Apr 30, 2015 at 3:13 AM, Marco Ceppi  wrote:

> Hello, are you using the local provider? If so it can take several minutes
> to seed the initial download of the cloud image. You can find if the image
> was downloaded by checking /var/cache/lxc/cloud-* where * is precise,
> trusty, or the series you're trying to deploy. Images are downloaded only
> when you first attempt to deploy and then cached in that directory. Once
> cached it will attempt to build a LXC template (`sudo lxc-ls --fancy`
> should produce output with something like "juju-trusty-lxc-template") if
> you don't see anything in the cache directory, or in the lxc-ls output, or
> you do, or you're not using local provider, let us know.
>
> Also, the version of juju you're using may also help us identify issues
> you're having.
>
> Thanks,
> Marco Ceppi
>
> On Thu, Apr 30, 2015 at 3:52 AM  wrote:
>
>>  Hi,
>>
>> I have been working on Juju for last 2 weeks. There are some blockages
>> while working on it like:
>>
>> 1.In *juju bootstrap. *It is *not downloading the  disc image* itself.
>> But when I check juju status, it is showing machine-0 (started state).
>>
>> 2.And when I try to *deploy any service*, it adding the charm but the
>> new instance is staying in *pending state* forever and it is not *creating
>> the template*.
>>
>>
>>
>> Kindly help me figure out the way to solve the above problems.
>>
>>
>>
>> Thanks and Regards,
>>
>> Dinesh Kumar Senapaty,
>>
>> Wipro Technologies.
>>  The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the addressee(s) and
>> may contain proprietary, confidential or privileged information. If you are
>> not the intended recipient, you should not disseminate, distribute or copy
>> this e-mail. Please notify the sender immediately and destroy all copies of
>> this message and any attachments. WARNING: Computer viruses can be
>> transmitted via email. The recipient should check this email and any
>> attachments for the presence of viruses. The company accepts no liability
>> for any damage caused by any virus transmitted by this email.
>> www.wipro.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
>
>

--
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: Request to support to work with Juju

2015-05-05 Thread Charles Butler
This appears to be a duplicate thread thats a bit lighter on information.

The other thread is on the same mailing list with the same topic - the
information asked by john appears to have landed there. I'll repost the
information from the may 4'th comm for clarity:


I am using local provider. I am using Juju on top of Ubuntu (version 14.04).

*Juju version: 1.23.2.1-trusty-amd64*


I am getting the below output when I give “juju status”:



environment: local

machines:

  "0":

agent-state: started

agent-version: 1.23.2.1

dns-name: localhost

instance-id: localhost

series: trusty

state-server-member-status: has-vote

  "1":

agent-state-info: 'container failed to start and was destroyed:
router-local-machine-1'

instance-id: pending

series: trusty

services:

  mysql:

charm: cs:trusty/mysql-25

exposed: false

relations:

  cluster:

  - mysql

units:

  mysql/0:

agent-state: allocating

machine: "1"




Charles Butler  - Juju Charmer
Come see the future of datacenter orchestration: http://jujucharms.com

On Mon, May 4, 2015 at 1:13 PM, John Meinel  wrote:

>
>
> On Mon, May 4, 2015 at 8:49 PM, Katherine Cox-Buday <
> katherine.cox-bu...@canonical.com> wrote:
>
>> Thanks for reaching out, Dinesh!
>>
>> I have opened two bugs for these issues:
>>
>> 1.In *juju bootstrap. *It is *not downloading the  disc image* itself.
>>> But when I check juju status, it is showing machine-0 (started state).
>>>
>> https://bugs.launchpad.net/juju-core/+bug/1451487
>>
>
> So it sounded like this was the local provider, in which case "machine-0"
> is the host machine not an LXC instance. Thus it is definitely already
> running.
>
>
>>
>>
>>
>>> 2.And when I try to *deploy any service*, it adding the charm but the
>>> new instance is staying in *pending state* forever and it is not *creating
>>> the template*.
>>
>> https://bugs.launchpad.net/juju-core/+bug/1451488
>> 
>>
>> Would you mind logging any relevant information there? It will help us to
>> triage the issue more quickly.
>>
>
> This is more when the image would be downloaded. I'm not sure when it
> would be stuck in pending. I do think this is worthy of looking into. I
> know there were some bugs in the past.
>
> Just some precursor questions:
>
>1. What version of juju are you using (juju --version)
>2. What version of Ubuntu and what services are you trying to deploy?
>(in case your on U/V trying to deploy a T charm, etc)
>3. I believe you need a package (cloud-image-tools?) to be able to
>find containers for Ubuntu versions that don't match your current version.
>I would think that would be installed if you install "juju-local", as it
>should include all the dependencies we need for running the Juju local
>provider.
>
> Thanks for opening the conversation, hopefully we can help you get up and
> running.
>
> John
> =:->
>
>
> -
> Katherine
>
>
> On Thu, Apr 30, 2015 at 3:13 AM, Marco Ceppi  wrote:
>
>> Hello, are you using the local provider? If so it can take several
>> minutes to seed the initial download of the cloud image. You can find if
>> the image was downloaded by checking /var/cache/lxc/cloud-* where * is
>> precise, trusty, or the series you're trying to deploy. Images are
>> downloaded only when you first attempt to deploy and then cached in that
>> directory. Once cached it will attempt to build a LXC template (`sudo
>> lxc-ls --fancy` should produce output with something like
>> "juju-trusty-lxc-template") if you don't see anything in the cache
>> directory, or in the lxc-ls output, or you do, or you're not using local
>> provider, let us know.
>>
>> Also, the version of juju you're using may also help us identify issues
>> you're having.
>>
>> Thanks,
>> Marco Ceppi
>>
>> On Thu, Apr 30, 2015 at 3:52 AM  wrote:
>>
>>>  Hi,
>>>
>>> I have been working on Juju for last 2 weeks. There are some blockages
>>> while working on it like:
>>>
>>> 1.In *juju bootstrap. *It is *not downloading the  disc image* itself.
>>> But when I check juju status, it is showing machine-0 (started state).
>>>
>>> 2.And when I try to *deploy any service*, it adding the charm but the
>>> new instance is staying in *pending state* forever and it is not *creating
>>> the template*.
>>>
>>>
>>>
>>> Kindly help me figure out the way to solve the above problems.
>>>
>>>
>>>
>>> Thanks and Regards,
>>>
>>> Dinesh Kumar Senapaty,
>>>
>>> Wipro Technologies.
>>>  The information contained in this electronic message and any
>>> attachments to this message are intended for the exclusive use of the
>>> addressee(s) and may contain proprietary, confidential or privileged
>>> information. If you are not the intended recipient, you should not
>>> disseminate, distribute or copy this e-mail. Please notify the sender
>>> immediately and destroy all copies of this message and any attachments.
>>> WARNING: Computer viruses c