Error in deploying wordpress

2015-11-19 Thread dinesh.senapaty
Hi,

Am using manual provisioning to deploy wordpress on a machine and am getting 
the following error. When using "juju resolved --retry wordpress/0" got "ERROR 
unit "wordpress/0" is not in an error state". Can anyone help me out?
Juju version : 1.24.7-trusty-amd64

[cid:image001.jpg@01D122D8.40C1D460]

Regards,
Dinesh
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: Ceph deployment

2015-11-19 Thread Pshem Kowalczyk
Hi,

It looks like ceph had to take its time to come up. After about 35 mins the
ceph-osd charms are showing as:

ceph-osd/14 active idle1.25.0  1
 node1.maas  Unit is ready
(1 OSD)
ceph-osd/15 active idle1.25.0  2
 node2.maas  Unit is ready
(1 OSD)

All I have to do now is tell ceph to use only 2 OSDs.

kind regards
Pshem


On Fri, 20 Nov 2015 at 11:45 Pshem Kowalczyk  wrote:

> Hi,
>
> Please see the complete juju status for the whole setup.
>
> This is a test/POC setup. I'm building this on 3 machines - two compute
> nodes that also run the ceph-osd and once generic 'controller' node that
> carries all the other functions.
>
> kind regards
> Pshem
>
>
>
> On Fri, 20 Nov 2015 at 11:14 James Page  wrote:
>
>> Hi Pshem
>>
>> On Thu, Nov 19, 2015 at 10:04 PM, Pshem Kowalczyk 
>>  wrote:
>>
>>> Hi,
>>>
>>> I'm trying to deploy ceph and ceph-osd, however with this config:
>>>
>>> ceph:
>>>  source: cloud:trusty-liberty
>>>  fsid: 015cc90c-8f06-11e5-be28-0050569a
>>>  monitor-secret: AQB3QU5WiW3GEhAAVLK19SNzR46kXXX==
>>>  osd-devices: /dev/sdb
>>>  osd-reformat: 'yes'
>>>
>>> ceph-osd:
>>>  source: cloud:trusty-liberty
>>>  osd-devices: /dev/sdb
>>>  osd-reformat: 'yes'
>>>
>>> and a relation between ceph and ceph-osd I end up with status:
>>> No block devices detected using current configuration
>>>
>>> The devices are there and a closer inspection of ceph setup reveals that
>>> the keys are not copied onto the ceph-osd nodes and ceph is failing with:
>>>
>>> ERROR: osd init failed: (1) Operation not permitted
>>>
>>
>> No keys in /etc/ceph is actually as intended - the OSD's use a special
>> bootstrap key in /var/lib/ceph/bootstrap-osd
>>
>>> the only relation I have is ceph-osd:mon ceph:osd
>>>
>>
>> That should be fine.
>>
>>
>>>
>>> ceph -s on the mon nodes gives:
>>>
>>> # ceph -s
>>> cluster 015cc90c-8f06-11e5-be28-0050569a302e
>>>  health HEALTH_ERR
>>> 464 pgs stuck inactive
>>> 464 pgs stuck unclean
>>> no osds
>>>  monmap e1: 3 mons at {juju-machine-0-lxc-25=
>>> 10.0.11.79:6789/0,juju-machine-0-lxc-26=10.0.11.106:6789/0,juju-machine-0-lxc-27=10.0.11.107:6789/0
>>> }
>>> election epoch 4, quorum 0,1,2
>>> juju-machine-0-lxc-25,juju-machine-0-lxc-26,juju-machine-0-lxc-27
>>>  osdmap e5: 0 osds: 0 up, 0 in
>>>   pgmap v6: 464 pgs, 3 pools, 0 bytes data, 0 objects
>>> 0 kB used, 0 kB / 0 kB avail
>>>  464 creating
>>>
>>
>>  Looking at this output
>>
>> 1) the mon cluster bootstrapped OK - which is good
>> 2) you're running the ceph charm under LXC containers - which is unusual
>> - the ceph charm is a superset of the ceph-osd charm function, so is
>> normally run on hardware as well - but typically just 3 units.
>>
>> Could you provide the output of 'juju status' so we can see how you have
>> the charms laid out in the deployment? That might help.
>>
>> Cheers
>>
>> James
>>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


[Review Queue] wordpress, mysqltest, mediawiki, haproxy

2015-11-19 Thread Kevin Monroe
Hi!

The Juju Big Data team had some time in the review queue today.  It was
especially exciting as this was our first review session with our newest
team member, Konstantinos!  Here's what we found:


   -

   wordpress
   -


  
https://code.launchpad.net/~tvansteenburgh/charms/trusty/wordpress/test-fixes/+merge/276894
  -

  Fixes for tests
  -

  Applied cleanly, all tests passed
  -

  +1, this has been merged and should be in the charm store shortly
  -

   mysqltest
   -

  https://bugs.launchpad.net/charms/+bug/1513863
  -

  This is a new charm that provides functional tests for mysql
  -

  Currently failing automated CI, and has some other questions and
  concerns to be addressed
  -

  -1 for now
  -

   mediawiki
   -


  
https://code.launchpad.net/~tvansteenburgh/charms/trusty/mediawiki/test-fixes/+merge/277054
  -

  Fixes for tests
  -

  Applied cleanly, all tests passed
  -

  +1, this has been merged and should be in the charm store shortly
  -

   haproxy
   -


  
https://code.launchpad.net/~verterok/charms/trusty/haproxy/restart-rsyslog-after-install/+merge/268981
  -

  Restart rsyslog if haproxy config changes
  -

  Needed to tweak tests to reference units correctly
  -

 d.sentry[‘haproxy’][0] instead of d.sentry.unit[‘haproxy/0’]
 -

  Applied cleanly, all tests passed
  -

  +1, this has been merged and should be in the charm store shortly


Questions/comments?  We're in #juju on irc.freenode.net.

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


Re: Ceph deployment

2015-11-19 Thread James Page
Hi Pshem

On Thu, Nov 19, 2015 at 10:04 PM, Pshem Kowalczyk  wrote:

> Hi,
>
> I'm trying to deploy ceph and ceph-osd, however with this config:
>
> ceph:
>  source: cloud:trusty-liberty
>  fsid: 015cc90c-8f06-11e5-be28-0050569a
>  monitor-secret: AQB3QU5WiW3GEhAAVLK19SNzR46kXXX==
>  osd-devices: /dev/sdb
>  osd-reformat: 'yes'
>
> ceph-osd:
>  source: cloud:trusty-liberty
>  osd-devices: /dev/sdb
>  osd-reformat: 'yes'
>
> and a relation between ceph and ceph-osd I end up with status:
> No block devices detected using current configuration
>
> The devices are there and a closer inspection of ceph setup reveals that
> the keys are not copied onto the ceph-osd nodes and ceph is failing with:
>
> ERROR: osd init failed: (1) Operation not permitted
>

No keys in /etc/ceph is actually as intended - the OSD's use a special
bootstrap key in /var/lib/ceph/bootstrap-osd


> the only relation I have is ceph-osd:mon ceph:osd
>

That should be fine.


>
> ceph -s on the mon nodes gives:
>
> # ceph -s
> cluster 015cc90c-8f06-11e5-be28-0050569a302e
>  health HEALTH_ERR
> 464 pgs stuck inactive
> 464 pgs stuck unclean
> no osds
>  monmap e1: 3 mons at {juju-machine-0-lxc-25=
> 10.0.11.79:6789/0,juju-machine-0-lxc-26=10.0.11.106:6789/0,juju-machine-0-lxc-27=10.0.11.107:6789/0
> }
> election epoch 4, quorum 0,1,2
> juju-machine-0-lxc-25,juju-machine-0-lxc-26,juju-machine-0-lxc-27
>  osdmap e5: 0 osds: 0 up, 0 in
>   pgmap v6: 464 pgs, 3 pools, 0 bytes data, 0 objects
> 0 kB used, 0 kB / 0 kB avail
>  464 creating
>

 Looking at this output

1) the mon cluster bootstrapped OK - which is good
2) you're running the ceph charm under LXC containers - which is unusual -
the ceph charm is a superset of the ceph-osd charm function, so is normally
run on hardware as well - but typically just 3 units.

Could you provide the output of 'juju status' so we can see how you have
the charms laid out in the deployment? That might help.

Cheers

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


[Blog] - Charmer Interviews

2015-11-19 Thread Charles Butler
Greetings,

As some of you may have noticed we (somewhat silently) published a video
interview with Adam Stokes over on the Juju youtube channel:

https://www.youtube.com/watch?v=lowRfWcxky0

This video interview gives a brief introduction to Adam, his take on
charming with layers and the reactive pattern, and goes on in depth to
cover his work with the NodeJS runtime layer for charmers looking to charm
up their NodeJS apps.

If you're working in this space, and are interested in getting a community
spotlight on your work - or even just want to talk about your experience
with layers and the reactive framework, let me know and I'll be happy to
schedule some time to hop on a hangout, record the interaction(s) and put
together a post similar to the above.

If you're interested in doing your own interviews, media kits, et-al feel
free to reach out. I've started an initiative to help our developers get
the word out about their awesome work. The world will only know about what
we're up to if we're telling them. This really helps our narrative as we
make the big push towards 1.26 - And a solid media profile of all the
greatness we've cranked out since 1.25 has landed will help us tell that
narrative. Food for thought :)

All the best,

Charles



Charles Butler  - Juju Charmer
Come see the future of datacenter orchestration: http://jujucharms.com
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Latest on the LXD Provider!

2015-11-19 Thread Simon Davy
On 18 November 2015 at 17:15, Katherine Cox-Buday
 wrote:
> Simon, I've gone ahead and added you as a subscriber to the blueprint for
> this feature. That was as things develop you can stay in the loop.
>
> Would you be willing to give feedback on how this feature is shaping up when
> we begin developing?

Absolutely.

I spend 80% of my working day using the current local provider, so am
keen to help improve things.

We are also trying to use juju in application development, i.e. have
the deployed charm be the development environment. Currently manually
creating/configuring an lxd container, and deploying the charm to it
with the manual provider. I would be keen to see what options might be
possible to do this with the lxd provider, like providing a base
image, and configuring the container with profiles, as we could then
use the lxd provider to create the units rather than manually.

Thanks

-- 
Simon

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


Re: Error in deploying wordpress

2015-11-19 Thread Charles Butler
Greetings Dinesh,

This is indeed some strange behavior. I see this is a local charm
deployment. Was this a copy from the charm store?

If so, can you file a bug against the wordpress charm here:
https://bugs.launchpad.net/charms/+source/wordpress and attach the
wordpress unit logs so we can take a look at why this may have failed?

Sorry you ran into this, and we'll be happy to take a look.

All the best,

Charles


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

On Thu, Nov 19, 2015 at 4:10 AM,  wrote:

> Hi,
>
>
>
> Am using manual provisioning to deploy wordpress on a machine and am
> getting the following error. When using “juju resolved --retry wordpress/0”
> got “ERROR unit "wordpress/0" is not in an error state”. Can anyone help me
> out?
>
> Juju version : 1.24.7-trusty-amd64
>
>
>
>
>
> Regards,
>
> Dinesh
> 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: [Blog] - Charmer Interviews

2015-11-19 Thread Charles Butler
It will look very similar to how charms are written today only you will use
the reactive pattern to call your playbook with a particular tag.

Hope this helps :)


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

On Thu, Nov 19, 2015 at 10:57 AM, Sebastian  wrote:

> Thanks Charles and Adam!, the interview was really useful to understand
> how this new way of developing charms works.
>
> How Ansible charms could be developed with layers?
>
> Em qui, 19 de nov de 2015 às 13:29, Rick Harding <
> rick.hard...@canonical.com> escreveu:
>
>> Great stuff Chuck and thanks for walking through this Adam. We should
>> definitely do some more of these and please make sure to share this stuff
>> out to folks who are interested in what we're up to and things like this
>> have some great real work examples to work with.
>>
>>
>> On Thu, Nov 19, 2015 at 6:32 AM Charles Butler <
>> charles.but...@canonical.com> wrote:
>>
>>> Greetings,
>>>
>>> As some of you may have noticed we (somewhat silently) published a video
>>> interview with Adam Stokes over on the Juju youtube channel:
>>>
>>> https://www.youtube.com/watch?v=lowRfWcxky0
>>>
>>> This video interview gives a brief introduction to Adam, his take on
>>> charming with layers and the reactive pattern, and goes on in depth to
>>> cover his work with the NodeJS runtime layer for charmers looking to charm
>>> up their NodeJS apps.
>>>
>>> If you're working in this space, and are interested in getting a
>>> community spotlight on your work - or even just want to talk about your
>>> experience with layers and the reactive framework, let me know and I'll be
>>> happy to schedule some time to hop on a hangout, record the interaction(s)
>>> and put together a post similar to the above.
>>>
>>> If you're interested in doing your own interviews, media kits, et-al
>>> feel free to reach out. I've started an initiative to help our developers
>>> get the word out about their awesome work. The world will only know about
>>> what we're up to if we're telling them. This really helps our narrative as
>>> we make the big push towards 1.26 - And a solid media profile of all the
>>> greatness we've cranked out since 1.25 has landed will help us tell that
>>> narrative. Food for thought :)
>>>
>>> All the best,
>>>
>>> Charles
>>>
>>>
>>>
>>> Charles Butler  - Juju Charmer
>>> Come see the future of datacenter orchestration: http://jujucharms.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: [Blog] - Charmer Interviews

2015-11-19 Thread Rick Harding
Great stuff Chuck and thanks for walking through this Adam. We should
definitely do some more of these and please make sure to share this stuff
out to folks who are interested in what we're up to and things like this
have some great real work examples to work with.


On Thu, Nov 19, 2015 at 6:32 AM Charles Butler 
wrote:

> Greetings,
>
> As some of you may have noticed we (somewhat silently) published a video
> interview with Adam Stokes over on the Juju youtube channel:
>
> https://www.youtube.com/watch?v=lowRfWcxky0
>
> This video interview gives a brief introduction to Adam, his take on
> charming with layers and the reactive pattern, and goes on in depth to
> cover his work with the NodeJS runtime layer for charmers looking to charm
> up their NodeJS apps.
>
> If you're working in this space, and are interested in getting a community
> spotlight on your work - or even just want to talk about your experience
> with layers and the reactive framework, let me know and I'll be happy to
> schedule some time to hop on a hangout, record the interaction(s) and put
> together a post similar to the above.
>
> If you're interested in doing your own interviews, media kits, et-al feel
> free to reach out. I've started an initiative to help our developers get
> the word out about their awesome work. The world will only know about what
> we're up to if we're telling them. This really helps our narrative as we
> make the big push towards 1.26 - And a solid media profile of all the
> greatness we've cranked out since 1.25 has landed will help us tell that
> narrative. Food for thought :)
>
> All the best,
>
> Charles
>
>
>
> Charles Butler  - Juju Charmer
> Come see the future of datacenter orchestration: http://jujucharms.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