Re: [Openstack] openstack + libvirt + xl for xen

2014-11-10 Thread Xing Lin
Hi,

After compiling and installing xen-4.4 and reboot the machine, now I get
the qemu process running in dom0. Unfortunately, kernel in dom0 crashes
this time when I try to launch an instance from horizon. I am still able to
create a xen guest from command line with virt-install (need to specify
--disk driver_name=qemu).

dmesg:

[ 9443.130600] blkfront: xvda: flush diskcache: enabled; persistent grants:
enabled; indirect descriptors: disabled;
[ 9443.132818]  xvda: xvda1
[ 9444.604489] xen:grant_table: WARNING: g.e. 0x30 still in use!
[ 9444.604496] deferring g.e. 0x30 (pfn 0x)
[ 9444.604499] xen:grant_table: WARNING: g.e. 0x31 still in use!
[ 9444.604502] deferring g.e. 0x31 (pfn 0x)
[ 9444.604505] xen:grant_table: WARNING: g.e. 0x32 still in use!
[ 9444.604508] deferring g.e. 0x32 (pfn 0x)
   lots of them
[ 9444.604719] xen:grant_table: WARNING: g.e. 0xe still in use!
[ 9444.604721] deferring g.e. 0xe (pfn 0x)
[ 9444.604723] xen:grant_table: WARNING: g.e. 0xd still in use!
[ 9444.604725] deferring g.e. 0xd (pfn 0x)
[ 9448.325408] [ cut here ]
[ 9448.325421] WARNING: CPU: 5 PID: 19902 at
/build/buildd/linux-3.13.0/arch/x86/xen/multicalls.c:129 xen_mc_flush+0x
1a9/0x1b0()
[ 9448.325492] CPU: 5 PID: 19902 Comm: sudo Tainted: GF  O
3.13.0-33-generic #58-Ubuntu
[ 9448.325494] Hardware name: Dell Inc. PowerEdge R710/00W9X3, BIOS 2.1.15
09/02/2010
[ 9448.325497]  0009 8802d13d9aa8 8171bd04

[ 9448.325501]  8802d13d9ae0 810676cd 
0001
[ 9448.325505]  88030418ffe0 88031d6ab180 0010
8802d13d9af0
[ 9448.325509] Call Trace:
[ 9448.325518]  [] dump_stack+0x45/0x56
[ 9448.325523]  [] warn_slowpath_common+0x7d/0xa0
[ 9448.325526]  [] warn_slowpath_null+0x1a/0x20
[ 9448.325530]  [] xen_mc_flush+0x1a9/0x1b0
[ 9448.325534]  [] xen_set_pud_hyper+0x109/0x110
[ 9448.325538]  [] xen_set_pud+0x9b/0xb0
[ 9448.325543]  [] __pmd_alloc+0xd6/0x110
[ 9448.325548]  [] move_page_tables+0x678/0x720
[ 9448.325552]  [] ? vma_adjust+0x337/0x7d0
[ 9448.325557]  [] shift_arg_pages+0xbd/0x1b0
[ 9448.325560]  [] ? mprotect_fixup+0x151/0x290
[ 9448.325564]  [] setup_arg_pages+0x1db/0x200
[ 9448.325570]  [] load_elf_binary+0x41c/0xd80
[ 9448.325576]  [] ? ima_get_action+0x23/0x30
[ 9448.325579]  [] ? process_measurement+0x82/0x2c0
[ 9448.325584]  [] search_binary_handler+0x8f/0x1b0
[ 9448.325587]  [] do_execve_common.isra.22+0x5a7/0x7e0
[ 9448.325591]  [] SyS_execve+0x36/0x50
[ 9448.325596]  [] stub_execve+0x69/0xa0
[ 9448.325599] ---[ end trace 53ac16782e751c0a ]---
[ 9448.347994] [ cut here ]
[ 9448.348004] WARNING: CPU: 1 PID: 19902 at
/build/buildd/linux-3.13.0/mm/mmap.c:2736 exit_mmap+0x16b/0x170()
 more message ignored 

-Xing



On Thu, Nov 6, 2014 at 10:10 AM, Xing Lin  wrote:

> Hi Bob,
>
> Thanks for your suggestions. My host machine(dom0) is running ubuntu14.04
> and I installed xen hypervisor by running either "apt-get install
> xen-hypervisor-4.4-amd64" or "apt-get install nova-compute-xen". I check
> and do not find xencommons in /etc/init.d. Only xen and xendomains exist in
> that dir. "apt-file search xencommons" does not return any package. No qemu
> process is running in dom0.
>
> I am not sure how to move forward. I will try to compile and install xen
> from source and see whether I can get xencommons installed. If you have
> some suggestions with this, please let me know. Thanks,
>
>
> I will try to follow the following two links. In their installation, they
> seem to have xencommons installed.
> http://wiki.sebeka.k12.mn.us/virt:xen_4.4_14.04
> http://pravinchavan.wordpress.com/2013/08/14/xen-hypervisor-setup/
>
> -Xing
>
>
>
>
> On Thu, Nov 6, 2014 at 6:09 AM, Bob Ball  wrote:
>
>>  Hi Xing,
>>
>>
>>
>> It may be that the dom0 qemu helper process is not running.  It seems a
>> very similar issue was tracked down to this on the thread at
>> http://lists.xen.org/archives/html/xen-users/2014-05/msg00134.html
>>
>>
>>
>> Ian C pointed out that this helper process is normally started by the
>> xencommons script.
>>
>>
>>
>> I hope this solves the issue.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Bob
>>
>>
>>
>> *From:* Xing Lin [mailto:linxing...@gmail.com]
>> *Sent:* 05 November 2014 21:38
>> *To:* openstack@lists.openstack.org
>> *Subject:* [Openstack] openstack + libvirt + xl for xen
>>
>>
>>
>> Hi,
>>
>>
>>
>> I am aware that Xen via libvirt is in the group C support but since I am
>> not able to install xenserver iso at compute machines I have, I have to
>> consider to use xen with libvirt. I have three nodes, each one running
>> ubuntu 14.04. I follow the instruction to install juno in ubuntu 14.04 and
>> it works (I can create instances from horizon) when I use kvm as the
>> hypervisor at the compute node . However, if I switch to use xen as the
>> hypervisor, it will fail to cr

Re: [Openstack] Swift with Ceilometer

2014-11-10 Thread Samuel Merritt
Swift can be configured to emit lots of telemetry in StatsD format. 
Among the numerous metrics are such things as GETs/sec, PUTs/sec, and 
total bytes transferred per second.


See 
http://docs.openstack.org/developer/swift/admin_guide.html#reporting-metrics-to-statsd 
for more details.


On 11/8/14, 11:02 AM, Marcus White wrote:

Thank you:)

I am also looking for things like PUTs/sec, GETS/sec, etc to be
available, in addition to possibly other statistics like overall
bandwidth, latency numbers for object buckets, etc. Are those sorts of
stats available?

On Thu, Nov 6, 2014 at 11:12 PM, Eoghan Glynn  wrote:




Hello,
I wanted to get some more information on Swift with Ceilometer
integration. I see this in the documentation.

http://docs.openstack.org/developer/ceilometer/measurements.html#object-storage-swift

Are these the only measurements supported?


Yes.


Can I get performance numbers also from Ceilometer, or any other way?


What kind of performance numbers did you have in mind?


Also is there anything needed to be done to enable Ceilometer, other
than enabling the middleware?


The middleware is only required in order to gather the meters related to
API traffic, i.e.

   storage.objects.incoming.bytes
   storage.objects.outgoing.bytes
   storage.api.request

The other meters are gathered by polling the swift API, so only need the
swift endpoint to be available in the keystone service catalog and the
ceilometer central agent to be running.

Cheers,
Eoghan


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Swift with Ceilometer

2014-11-10 Thread Clay Gerrard
Swift is natively instrumented to emit generic statsd metrics that would
cover PUTs/GETs [1].  But I would recommend offline log processing if you
need this data to to be reliable and audit-able, slogging [2] is a
third-party opensource tool for processing swift access logs that might
point you in the right direction.

1.
http://docs.openstack.org/developer/swift/admin_guide.html#reporting-metrics-to-statsd
2. https://github.com/notmyname/slogging

On Mon, Nov 10, 2014 at 1:26 PM, Eoghan Glynn  wrote:

>
>
> > Thank you:)
> >
> > I am also looking for things like PUTs/sec, GETS/sec, etc to be
> > available, in addition to possibly other statistics like overall
> > bandwidth, latency numbers for object buckets, etc. Are those sorts of
> > stats available?
>
> Since we meter GETs and PUTs per-tenant, we don't have direct metering
> of overall GETs and PUTs per-second rates (though in theory it would be
> possible for an administrative user to calculate such numbers via the
> ceilometer API).
>
> Latency OTOH is not measured for the swift API by ceilometer.
>
> Cheers,
> Eoghan
>
>
> > On Thu, Nov 6, 2014 at 11:12 PM, Eoghan Glynn  wrote:
> > >
> > >
> > >> Hello,
> > >> I wanted to get some more information on Swift with Ceilometer
> > >> integration. I see this in the documentation.
> > >>
> > >>
> http://docs.openstack.org/developer/ceilometer/measurements.html#object-storage-swift
> > >>
> > >> Are these the only measurements supported?
> > >
> > > Yes.
> > >
> > >> Can I get performance numbers also from Ceilometer, or any other way?
> > >
> > > What kind of performance numbers did you have in mind?
> > >
> > >> Also is there anything needed to be done to enable Ceilometer, other
> > >> than enabling the middleware?
> > >
> > > The middleware is only required in order to gather the meters related
> to
> > > API traffic, i.e.
> > >
> > >   storage.objects.incoming.bytes
> > >   storage.objects.outgoing.bytes
> > >   storage.api.request
> > >
> > > The other meters are gathered by polling the swift API, so only need
> the
> > > swift endpoint to be available in the keystone service catalog and the
> > > ceilometer central agent to be running.
> > >
> > > Cheers,
> > > Eoghan
> >
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Very low bandwidth between instances and routers with OVS, GRE on Debian Jessie (Icehouse)

2014-11-10 Thread Alberto Molina Coballes
Hi,

I'm continuing with testing ...

It seems this issue is related to virtio driver. Virtio driver is used by
default with the option use_virtio_for_bridges=true in nova-compute.conf,
if this option is disabled instances are created with a RTL-8139 network
interface and the bandwidth between it and its router appears to be as
expected without disabling TSO:

iperf -c 10.0.0.1

Client connecting to 10.0.0.1, TCP port 5001
TCP window size: 23.5 KByte (default)

[  3] local 10.0.0.19 port 51554 connected with 10.0.0.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-10.0 sec   145 MBytes   121 Mbits/sec

On the other hand, bandwidth between instances running on the same compute
node is ~ 3 Gbits/sec with virtio driver.

More info:
- OVS: 2.3.0
- Linux kernel 3.16-3
- In-tree version of kernel openvswitch module

Cheers

Alberto
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] floating ip list shows whole subnet for non-admin user

2014-11-10 Thread James Denton
Try nova floating-ip-list, rather than the nova-manage commands.

http://docs.openstack.org/user-guide/content/floating_ips_proc.html

My experience is to avoid nova-manage when possible. Much better results using 
the python-novaclient equivalents.

James

On Nov 10, 2014, at 8:54 AM, mad Engineer 
mailto:themadengin...@gmail.com>> wrote:

Hi,
i am using nova-network and using this command trying to list available 
floating ip in my tenant:

nova-manage floating list

but this shows a whole subnet and not just floating ip available in my tenant.

other commands like nova list is showing as expected.

How can i restrict users to see resource allocated to that tenant ie its 
restricted to use only 12 floating IP.

Thanks


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : 
openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Very low bandwidth between instances and routers with OVS, GRE on Debian Jessie (Icehouse)

2014-11-10 Thread Alberto Molina Coballes
2014-11-10 13:45 GMT+01:00 Akilesh K :

> Hi Alberto,
> May I know the flavor and image you were using to do this test. TSO seems
> to be a method that moves the process of tcp segmentation off to the nic
> card.
>
>
Hi Akilesh,

I was using m1.tiny flavor with 512MiB of RAM and 1 vCPU for all the
previous tests.

Testing now with m1.smaill (2048 MiB of RAM and 1 vCPU) there is a slight
increase in the bandwidth between the instance and its router: ~
300Kbits/sec. The increase is more evident using m1.medium (4096 MiB of RAM
and 2 vCPUs) where a bandwidth ~ 700 Kbits/sec is achieved.

In both cases bandwidth of 700-800 Mbits/sec are measured turning off TSO:

ubuntu@test4g:~$ iperf -c 10.0.0.1

Client connecting to 10.0.0.1, TCP port 5001
TCP window size: 85.0 KByte (default)

[  3] local 10.0.0.17 port 50855 connected with 10.0.0.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-11.9 sec  1.00 MBytes   704 Kbits/sec

ubuntu@test4g:~$ sudo ethtool -K eth0 tso off

ubuntu@test4g:~$ iperf -c 10.0.0.1

Client connecting to 10.0.0.1, TCP port 5001
TCP window size: 85.0 KByte (default)

[  3] local 10.0.0.17 port 50856 connected with 10.0.0.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-10.0 sec   938 MBytes   786 Mbits/sec



> I believe in OpenStack the nic is a tap interface that kvm attaches your
> instance to and hence you have offloaded the task of segmenting to the host
> cpu now ( I am only guessing, not sure).
>
>
Yes. KVM is using tap interfaces with virtio driver.

I would like to know if this is the case and using a better flavor and
> image would offer you better results without tinkering with the interface.
>
>
Images used are Ubuntu Trusty downloaded from
http://images.ubuntu.com/trusty/current and a Debian Wheezy tested
previously in another private cloud. No significant differences were found
using Ubuntu or Debian images.

Thanks Akilesh!

Alberto
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] floating ip list shows whole subnet for non-admin user

2014-11-10 Thread mad Engineer
Hi,
i am using nova-network and using this command trying to list available
floating ip in my tenant:

*nova-manage floating list*

but this shows a whole subnet and not just floating ip available in my
tenant.

other commands like *nova list* is showing as expected.

How can i restrict users to see resource allocated to that tenant ie its
restricted to use only 12 floating IP.

Thanks
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] How to run the HEAT autoscaling YAML

2014-11-10 Thread Mike Spreitzer
Venu Murthy  wrote on 11/06/2014 08:34:37 PM:

> In terms of the architecture for OpenStack setup, if we have a 
> controller node, Compute Node A and Compute Node B. 
> In the same availability zone. 
> 
> I do understand that this autoscaling is more for the instances. But
> how can we load balance or start spawning our instances on Compute 
> Node B, if the Compute Node A's utilisation has reached a threshold

OpenStack gives a HOT author no access to the relationship between host 
and guest.  You can autoscale based only on metrics about the guest or 
things relatable to the guest in HOT.  Would it work for you to autoscale 
based on load or performance of your guests?

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] How to run the HEAT autoscaling YAML

2014-11-10 Thread Joe D'Andrea

On Nov 6, 2014, at 8:21 PM, Venu Murthy  wrote:

> ...if we have a controller node, Compute Node A and Compute Node B. In the 
> same availability zone. ... how can we load balance or start spawning our 
> instances on Compute Node B, if the Compute Node A's utilisation has reached 
> a threshold

I'm not sure if this is what you're looking for, but OS::Neutron::LoadBalancer 
may be of help here. An example:

https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml
https://github.com/openstack/heat-templates/blob/master/hot/lb_server.yaml

jd
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Heat] - define stack_user_domain ID definition Error

2014-11-10 Thread Steven Hardy
On Thu, Nov 06, 2014 at 01:20:27PM +0500, Sadia Bashir wrote:
>Hi everyone,
> 
>I am working on Icehouse All-in-one ubuntu 14.04, metering and
>orchestration. I have created a simple autoscaling yaml template but this
>error in heat-engine.log leaves creation of stack failed:
> 
>2014-11-06 13:08:17.693 2282 WARNING heat.common.keystoneclient [-]
>stack_user_domain ID not set in heat.conf falling back to using default
>2014-11-06 13:08:17.694 2282 INFO urllib3.connectionpool [-] Starting new
>HTTP connection (1): controller
>2014-11-06 13:08:17.962 2282 WARNING heat.common.keystoneclient [-]
>stack_user_domain ID not set in heat.conf falling back to using default
>2014-11-06 13:08:17.963 2282 INFO urllib3.connectionpool [-] Starting new
>HTTP connection (1): controller
>2014-11-06 13:08:18.322 2282 WARNING heat.common.keystoneclient [-]
>stack_user_domain ID not set in heat.conf falling back to using default
> 
>My question is how do I set "stack_user_domain" in heat.conf?

This blog post may help, basically you create a domain and domain-admin
user via python-openstackclient and add the details to heat.conf:

http://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-2-stack.html

If you're using recent devstack this should be done automatically for you.

Note that if you wish, you can safely ignore this warning, it's not
mandatory to use the domain user model, although for new deployments it is
preferred.

If you do update the configuration on an environment which already has
running stacks, please make sure you have this patch applied:

https://review.openstack.org/#/c/119996/

ref this bug https://bugs.launchpad.net/heat/+bug/1365332

Steve

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Very low bandwidth between instances and routers with OVS, GRE on Debian Jessie (Icehouse)

2014-11-10 Thread Akilesh K
Hi Alberto,
May I know the flavor and image you were using to do this test. TSO seems
to be a method that moves the process of tcp segmentation off to the nic
card.

I believe in OpenStack the nic is a tap interface that kvm attaches your
instance to and hence you have offloaded the task of segmenting to the host
cpu now ( I am only guessing, not sure).

I would like to know if this is the case and using a better flavor and
image would offer you better results without tinkering with the interface.

Thank you,
Ageeleshwar K

On Mon, Nov 10, 2014 at 5:41 PM, Alberto Molina Coballes <
alb.mol...@gmail.com> wrote:

> 2014-11-09 21:37 GMT+01:00 George Shuklin :
>
>> Try to disable GRO on interfaces. It's well known bug, causing
>> significant net performance drop in case of the GRE tunnels.
>>
>> (Use ethtool)
>>
> Hi George,
>
> Thanks for your reply, but as mentioned in first message disabling GRO in
> physical interfaces doesn't improve the performance (step 5), only
> disabling TSO in virtual interfaces causes a significant improvement. the
> problem with that is a modification is needed every time an instance is
> launched.
>
> Cheers
>
> Alberto
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Swift with Ceilometer

2014-11-10 Thread Eoghan Glynn


> Thank you:)
> 
> I am also looking for things like PUTs/sec, GETS/sec, etc to be
> available, in addition to possibly other statistics like overall
> bandwidth, latency numbers for object buckets, etc. Are those sorts of
> stats available?

Since we meter GETs and PUTs per-tenant, we don't have direct metering
of overall GETs and PUTs per-second rates (though in theory it would be
possible for an administrative user to calculate such numbers via the
ceilometer API).

Latency OTOH is not measured for the swift API by ceilometer.

Cheers,
Eoghan

 
> On Thu, Nov 6, 2014 at 11:12 PM, Eoghan Glynn  wrote:
> >
> >
> >> Hello,
> >> I wanted to get some more information on Swift with Ceilometer
> >> integration. I see this in the documentation.
> >>
> >> http://docs.openstack.org/developer/ceilometer/measurements.html#object-storage-swift
> >>
> >> Are these the only measurements supported?
> >
> > Yes.
> >
> >> Can I get performance numbers also from Ceilometer, or any other way?
> >
> > What kind of performance numbers did you have in mind?
> >
> >> Also is there anything needed to be done to enable Ceilometer, other
> >> than enabling the middleware?
> >
> > The middleware is only required in order to gather the meters related to
> > API traffic, i.e.
> >
> >   storage.objects.incoming.bytes
> >   storage.objects.outgoing.bytes
> >   storage.api.request
> >
> > The other meters are gathered by polling the swift API, so only need the
> > swift endpoint to be available in the keystone service catalog and the
> > ceilometer central agent to be running.
> >
> > Cheers,
> > Eoghan
> 

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Very low bandwidth between instances and routers with OVS, GRE on Debian Jessie (Icehouse)

2014-11-10 Thread Alberto Molina Coballes
2014-11-09 21:37 GMT+01:00 George Shuklin :

> Try to disable GRO on interfaces. It's well known bug, causing significant
> net performance drop in case of the GRE tunnels.
>
> (Use ethtool)
>
Hi George,

Thanks for your reply, but as mentioned in first message disabling GRO in
physical interfaces doesn't improve the performance (step 5), only
disabling TSO in virtual interfaces causes a significant improvement. the
problem with that is a modification is needed every time an instance is
launched.

Cheers

Alberto
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [ironic] Error: Can't connect to MySql server on 127.0.0.1

2014-11-10 Thread Peeyush Gupta
Hi all,

I have ironic devstack setup running on a VM with public IP. Now, I want
to try out the same setup on a private network. So, I copied the VM
image and port it to a host in the private network. Now, this private
network doesn't have an internet connection. So, I put OFFLINE=True in
localrc and ran ./stack.sh script. Here is the error I am getting:

2014-11-10 08:26:56.210 | Syncing
/opt/stack/tempest-lib/test-requirements.txt
2014-11-10 08:26:56.210 | Syncing setup.py
2014-11-10 08:26:56.805 | HEAD is now at 26323eb Merge "Remove unused
method and variable in base.py"
2014-11-10 08:26:56.811 | Running in offline mode, clones already exist
2014-11-10 08:26:56.830 | 6a81d4a Merge "Log AttributeError as 'info'
instead of 'exception'"
2014-11-10 08:26:57.003 | Changing password for user "guest" ...
2014-11-10 08:26:57.038 | ...done.
2014-11-10 08:26:57.059 | ERROR 2003 (HY000): Can't connect to MySQL
server on '127.0.0.1' (111)
2014-11-10 08:26:57.062 | Error on exit
2014-11-10 08:26:57.091 | df: '/run/user/1000/gvfs': Permission denied

Googled a lot and tried out at least a hundred ways to fix including
removing and re-installing mysql server! Nothing is working. Did anyone
face the same error? How did you get around it?

Thanks,

-- 
Peeyush Gupta
gpeey...@linux.vnet.ibm.com


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [Ironic] Error: Can't connect to MySql server at 127.0.0.1

2014-11-10 Thread Peeyush Gupta
Hi all,

I have ironic devstack setup running on a VM with public IP. Now, I want
to try out the same setup on a private network. So, I copied the VM
image and port it to a host in the private network. Now, this private
network doesn't have an internet connection. So, I put OFFLINE=True in
localrc and ran ./stack.sh script. Here is the error I am getting:

2014-11-10 08:26:56.210 | Syncing
/opt/stack/tempest-lib/test-requirements.txt
2014-11-10 08:26:56.210 | Syncing setup.py
2014-11-10 08:26:56.805 | HEAD is now at 26323eb Merge "Remove unused
method and variable in base.py"
2014-11-10 08:26:56.811 | Running in offline mode, clones already exist
2014-11-10 08:26:56.830 | 6a81d4a Merge "Log AttributeError as 'info'
instead of 'exception'"
2014-11-10 08:26:57.003 | Changing password for user "guest" ...
2014-11-10 08:26:57.038 | ...done.
2014-11-10 08:26:57.059 | ERROR 2003 (HY000): Can't connect to MySQL
server on '127.0.0.1' (111)
2014-11-10 08:26:57.062 | Error on exit
2014-11-10 08:26:57.091 | df: '/run/user/1000/gvfs': Permission denied

Googled a lot and tried out at least a hundred ways to fix including
removing and re-installing mysql server! Nothing is working. Did anyone
face the same error? How did you get around it?

Thanks,

-- 
Peeyush Gupta
gpeey...@linux.vnet.ibm.com


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack