Re: Deploy OpenStack HA failed on regular HDDs by juju-deployer

2015-10-25 Thread Ray Wang
Hello

On Fri, Oct 23, 2015 at 10:25 PM, 曾建銘  wrote:
> Hi  Ray,
>
> many thanks for your response.
>
> As you mentioned, juju-deployer has the options to set the delays when
> adding relations.
>
> Did you mean juju-deployer can add delay when adding every relation? If so,
> which option can do that? I can not find it in "juju-deployer -h".
>
> I have tried "-s" and "-w" two options to delay the deploy process. But I
> still failed when deploy OpenStack(20 charms and 60+ relations) in physical
> machines with regular hard disks.

You just mentioned it's failed, but I have no idea what fails, so I
might not be helpful here.

You can also try --ignore-erros or --no-relation to see if the
services can be deployed or not, if there are no errors, you can
continue to add relations by re-run juju-deployer again

Other than that, you can also separate the bundle into different
phases, which also helps you to debug. For example in phase1, you
provision all the nodes with ubuntu charm. in phase2, you deploy
services into different nodes, in phase3, you can add-relations etc.


>
> Sincerely yours,
> Leon
>
>
>
> On Fri, Oct 23, 2015 at 6:26 PM, Ray Wang  wrote:
>>
>> Hello 建铭
>>
>> On Fri, Oct 23, 2015 at 4:57 PM, 曾建銘  wrote:
>> > Hi all,
>> >
>> > I tried to deploy OpenStack HA by juju-deployer on several physical
>> > machines. (with MAAS)
>> >
>> > When the OSs on those physical machines are installed in SSD, deploy
>> > OpenStack by juju-deployer will be success.
>> >
>> > But if the OSs are installed in regular HDDs, deploy OpenStack by
>> > juju-deployer always failed.
>> >
>> > I used the same configuration file to deploy on different type of disks,
>> > and
>> > I got the different results. It really surprised me when I got these
>> > results.
>> >
>> > Is SSD required if deploy a lot of charms simultaneously(e.g. OpenStack
>> > HA)
>> > by juju-deployer?
>>
>> juju-deployer has the options to set the delays when adding relations,
>> deploy services etc, so it's worth to try to set different delays for
>> both services deployment and add relations.
>>
>> >
>> > By the way, my OpenStack deploy configuration contains 20 charms and
>> > more
>> > than 60 relations, is that matter?
>> >
>> > Thanks for your response in advanced.
>>
>> Do you have the error logs, so that we can see where is the problem?
>> Or is it possible to post your bundle file?
>>
>> >
>> > Sincerely yours,
>> > Leon
>> >
>> > --
>> > Juju mailing list
>> > Juju@lists.ubuntu.com
>> > Modify settings or unsubscribe at:
>> > https://lists.ubuntu.com/mailman/listinfo/juju
>> >
>>
>>
>>
>> --
>> Ray Wang
>> Canonical  www.canonical.com | Ubuntu  www.ubuntu.com
>
>



-- 
Ray Wang
Canonical  www.canonical.com | Ubuntu  www.ubuntu.com

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


Deploy OpenStack HA failed on regular HDDs by juju-deployer

2015-10-23 Thread 曾建銘
Hi all,

I tried to deploy OpenStack HA by juju-deployer on several physical
machines. (with MAAS)

When the OSs on those physical machines are installed in SSD, deploy
OpenStack by juju-deployer will be success.

But if the OSs are installed in regular HDDs, deploy OpenStack by
juju-deployer always failed.

I used the same configuration file to deploy on different type of disks,
and I got the different results. It really surprised me when I got these
results.

Is SSD required if deploy a lot of charms simultaneously(e.g. OpenStack HA)
by juju-deployer?

By the way, my OpenStack deploy configuration contains 20 charms and more
than 60 relations, is that matter?

Thanks for your response in advanced.

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


Re: Deploy OpenStack HA failed on regular HDDs by juju-deployer

2015-10-23 Thread 曾建銘
Hi  Ray,

many thanks for your response.

As you mentioned, juju-deployer has the options to set the delays when
adding relations.

Did you mean juju-deployer can add delay when adding every relation? If so,
which option can do that? I can not find it in "juju-deployer -h".

I have tried "-s" and "-w" two options to delay the deploy process. But I
still failed when deploy OpenStack(20 charms and 60+ relations) in physical
machines with regular hard disks.

Sincerely yours,
Leon



On Fri, Oct 23, 2015 at 6:26 PM, Ray Wang  wrote:

> Hello 建铭
>
> On Fri, Oct 23, 2015 at 4:57 PM, 曾建銘  wrote:
> > Hi all,
> >
> > I tried to deploy OpenStack HA by juju-deployer on several physical
> > machines. (with MAAS)
> >
> > When the OSs on those physical machines are installed in SSD, deploy
> > OpenStack by juju-deployer will be success.
> >
> > But if the OSs are installed in regular HDDs, deploy OpenStack by
> > juju-deployer always failed.
> >
> > I used the same configuration file to deploy on different type of disks,
> and
> > I got the different results. It really surprised me when I got these
> > results.
> >
> > Is SSD required if deploy a lot of charms simultaneously(e.g. OpenStack
> HA)
> > by juju-deployer?
>
> juju-deployer has the options to set the delays when adding relations,
> deploy services etc, so it's worth to try to set different delays for
> both services deployment and add relations.
>
> >
> > By the way, my OpenStack deploy configuration contains 20 charms and more
> > than 60 relations, is that matter?
> >
> > Thanks for your response in advanced.
>
> Do you have the error logs, so that we can see where is the problem?
> Or is it possible to post your bundle file?
>
> >
> > Sincerely yours,
> > Leon
> >
> > --
> > Juju mailing list
> > Juju@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/juju
> >
>
>
>
> --
> Ray Wang
> Canonical  www.canonical.com | Ubuntu  www.ubuntu.com
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Deploy OpenStack HA failed on regular HDDs by juju-deployer

2015-10-23 Thread Ray Wang
Hello 建铭

On Fri, Oct 23, 2015 at 4:57 PM, 曾建銘  wrote:
> Hi all,
>
> I tried to deploy OpenStack HA by juju-deployer on several physical
> machines. (with MAAS)
>
> When the OSs on those physical machines are installed in SSD, deploy
> OpenStack by juju-deployer will be success.
>
> But if the OSs are installed in regular HDDs, deploy OpenStack by
> juju-deployer always failed.
>
> I used the same configuration file to deploy on different type of disks, and
> I got the different results. It really surprised me when I got these
> results.
>
> Is SSD required if deploy a lot of charms simultaneously(e.g. OpenStack HA)
> by juju-deployer?

juju-deployer has the options to set the delays when adding relations,
deploy services etc, so it's worth to try to set different delays for
both services deployment and add relations.

>
> By the way, my OpenStack deploy configuration contains 20 charms and more
> than 60 relations, is that matter?
>
> Thanks for your response in advanced.

Do you have the error logs, so that we can see where is the problem?
Or is it possible to post your bundle file?

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



-- 
Ray Wang
Canonical  www.canonical.com | Ubuntu  www.ubuntu.com

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