Re: [Openstack] Adding New Ceilometer Meters

2015-06-09 Thread Claudio Pupparo
Hi Girija Sharan,

as my master degree thesis I have done a framework for virtual machine
migration in OpenStack, which I think it might be useful for what you're
realizing.

I have extended Ceilometer and OpenStack Neat, a framework for virtual
machine consolidation.
I had to collect samples of cpu and memory utilization of compute nodes.

Here is the source code of the Ceilometer extension
https://github.com/MisterPup/Ceilometer-Juno-Extension
In the following url you can find the extension to Openstack Neat
https://github.com/MisterPup/OpenStack-Neat-Ceilometer

If you have any questions, please feel free to ask.

Best regards,
Claudio


2015-06-04 8:08 GMT+02:00 Girija Sharan girijasharansi...@gmail.com:

 Hi All,

 This query is about Ceilometer, and its my sincere request to you to read
this till end and understand properly.

 Let me first put up my requirement :
 1). I need to develop a monitoring tool for my infrastructure, which will
show me the live CPU usage, Memory usage, Disk usage, and Network traffic
of instances launched on Compute nodes as well as of physical Compute nodes.

 To achieve this I explored Ceilometer service of Openstack (metering part
only) and found that, it has many meters using which I can retrieve above
mentioned live data but only of instances launched, not of physical Compute
nodes.

 Now moving to my queries :
 1). How do I create corresponding meters to retrieve above mentioned
details of physical Compute nodes (like memory.usage, cpu_util,
network.incoming.bytes, etc.. which exists for instances).
 2). Please do point me towards some helpful links or let me know the
exact way of doing so.
 3). Why don't we add Monitoring service to Openstack. As Admin user will
be needing to see all these details related to Compute nodes and other
nodes.

 Now been said that, I came up with an idea which I would like to share
here :

 As part of VM migration, one has to know the load on Compute nodes,
depending on which Admin will be deciding whether to migrate the VMs or not
and to which Compute node.
 Now just think if VM migration need to be done automatically (when some
specified threshold value reaches), one need to collect these metrics from
Compute nodes.

 We can make use of these existing Ceilometer's meters (metering part of
Telemetry) and adding more additional meters to retrieve details from
Physical nodes, to create Monitoring Service as well.

 Thanks in advance and early responses will be highly appreciated.


 Thanks and Regards,
 Girija Sharan Singh

 ___
 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-dev] Getting GERRIT error while submitting spec for liberty.

2015-04-04 Thread Claudio Pupparo

Hi Vikram,

I had the same problem. I had first to manually add the remote:
git remote add gerrit 
ssh://vikram.choudh...@review.openstack.org:29418/openstack/neutron-specs.git 



then git review -s worked.

Claudio

Il 04-Apr-15 1:09 PM, Vikram Choudhary ha scritto:

Hi All,

Can anyone please help me in resolving the below errors.

viksdeep@ubuntu:~/work/neutron-specs$ git review -s
Creating a git remote called gerrit that maps to:

ssh://vikram.choudh...@review.openstack.org:29418/openstack/neutron-specs.git
http://vikram.choudh...@review.openstack.org:29418/openstack/neutron-specs.git
traceback object at 0x7fe3acbf0908
We don't know where your gerrit is. Please manually create a remote
named gerrit and try again.
Traceback (most recent call last):
   File /usr/bin/git-review, line 1196, in module
 main()
   File /usr/bin/git-review, line 1110, in main
 config['hostname'], config['port'], config['project'])
   File /usr/bin/git-review, line 489, in check_remote
 add_remote(hostname, port, project, remote)
   File /usr/bin/git-review, line 353, in add_remote
 raise Exception(Error running %s % cmd)
Exception: Error running git remote add -f gerrit
ssh://vikram.choudh...@review.openstack.org:29418/openstack/neutron-specs.git
http://vikram.choudh...@review.openstack.org:29418/openstack/neutron-specs.git
viksdeep@ubuntu:~/work/neutron-specs$

Thanks
Vikram


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Getting GERRIT error while submitting spec for liberty.

2015-04-04 Thread Claudio Pupparo

Ok, I've read your answer to Vikram and I'm in the first case, where
gerrit version works but git review -s doesn't.
I thought by adding manually the remote I have solved the problem.

I'll check the step in the documentation again, thank you Jeremy.

Claudio

Il 04-Apr-15 1:50 PM, Jeremy Stanley ha scritto:

On 2015-04-04 13:38:07 +0200 (+0200), Claudio Pupparo wrote:

I had the same problem. I had first to manually add the remote:
git remote add gerrit
ssh://vikram.choudh...@review.openstack.org:29418/openstack/neutron-specs.git

then git review -s worked.


You misunderstand. That remote is what git review -s wants to add on
its own. If you manually added the remote yourself, then rerunning
git review -s is pointless as that command simply sees the remote it
wanted to add is already there and does nothing instead. Further
testing is required to find out _why_ git review -s fails its test
push when trying to add that remote on its own.

The answer to these sorts of questions is to _first_ point people
back at the documentation, because this problem almost always means
an account setup step was missed or performed incorrectly.



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [Openstack] Using DevStack for exploring energy efficient VM placement algorithms

2015-02-23 Thread Claudio Pupparo

Hi,

My master's thesis is about VM consolidation in OpenStack. I have done 
an extension to OpenStack Neat

http://openstack-neat.org/

I have used a cluster for testing, but I think you can also use DevStack 
in a multi node installation.


About temperature, I've found this in the Ceilometer documentation
http://docs.openstack.org/developer/ceilometer/measurements.html#ironic-hardware-ipmi-sensor-data

Cheers,
Claudio

http://docs.openstack.org/developer/ceilometer/measurements.html#ironic-hardware-ipmi-sensor-data 



Il 23/02/2015 05:49, #PATHANGI JANARDHANAN JATINSHRAVAN# ha scritto:

Hi everyone,
 My PhD thesis is based on improving data center efficiency by 
using a different VM placement algorithm. Is it possible to use DevStack for 
testing these algorithms? Can I modify nova to use parameters like temperature?

Thanks

P.S  Sorry for the earlier HTML email. Please ignore that.

___
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


[Openstack] Ceilometer - evaluation interval should be = collection interval

2015-02-15 Thread Claudio Pupparo

Hi all,

I think there is a problem with the default value of a parameter in 
ceilometer.
In the pipeline.yaml file, the collection of samples interval is set 
to 600 seconds.
In the ceilometer.conf file, the evaluation_interval is set to to 60 
seconds.


But there is a hint about that the latter must be greater than or equals 
to the former.


I know that this may depend on the use case, but maybe it should be 
specified in the documentation.


What do you think?

Cheers,
Claudio








___
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] openstack juno in aws with multiple-nodes

2015-01-17 Thread Claudio Pupparo
Hi Vedsar,

I have done in the past the same thing. I have installed openstack on
AWS with three node: 1 controller, 1 network, 1 compute.

I was able to spawn istances, but they couldn't get their IP without a
strange trick:
http://lists.openstack.org/pipermail/openstack/2014-September/009514.html

Even if the instances got their IP, I wasn't able to ping or ssh in
them. I think the problem is related to AWS Elastic IP.
Each AWS node has an interface with a private IP, which can be
associated to a public Elastic IP.
But the external interface of the Network Node needs (directly) a public ip:
http://docs.openstack.org/juno/install-guide/install/apt/content/ch_basic_environment.html#basics-networking-neutron

I've also tried Digital Ocean.
There, with the same three node installation, I was able to ping and ssh
into instances. But they couldn't reach the internet.

So in the end, I think the best way is to use your own server :D

Best regards,
Claudio

Il 16/01/2015 12:32, Vedsar Kushwaha ha scritto:
 How can I install openstack-juno on AWS centos 7 with multiple nodes?
 
 I installed it on 1 AWS instance (single node open-stack installation),
 but then also I cannot do SSH login to the instances launched by open-stack.
 Please help
 -- 
 Vedsar Kushwaha
 M.Tech-Computational Science
 Indian Institute of Science
 
 
 ___
 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


[Openstack] resource_id of host

2014-12-29 Thread Claudio Pupparo

Hi everyone!

I have a question regarding the resource_id of a host.
When I create an alarm like this:

ceilometer --debug alarm-threshold-create --name cpu_compute1_high 
--description 'compute1 running hot'  \
   --meter-name compute.node.cpu.percent  --threshold 70.0 
--comparison-operator gt  --statistic avg \

   --period 600 --evaluation-periods 1 \
   --alarm-action 'http://controller:9710/overload' \
   --query resource_id=compute1_compute1

I have to specify the resource_id of the host. This is the combination:
hostname_nodename

I can easily get the first part, the hostname, with
nova host list

I've seen that the nodename in my case is equals to the hostname. Is 
this always the case? Or else, where can I get the nodename?


Thank you in advance.
Best regards,

Claudio

___
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] Ceilometer Arithmetic Transformer

2014-11-19 Thread Claudio Pupparo

Hi all,

I am using ceilometer with arithmetic transformer to combine two meters. 
Here is an extract of my pipeline.yaml (it's just a dummy test)


sources:
- name: disk_source
  interval: 600
  meters:
  - disk.read.bytes
  - disk.read.requests
  - disk.write.bytes
  - disk.write.requests
  sinks:
  - disk_sink
  - disk_read_write_sink

sinks:
- name: disk_read_write_sink
  transformers:
  - name: arithmetic
parameters:
target:
name: disk.read.write.bytes
unit: B
type: cumulative
expr: 2*$(disk.read.bytes) + 2*$(disk.write.bytes)
  publishers:
  - rpc://


I get this error:
Unable to perform calculation, not all of {_disk_write_bytes_ESC, 
_disk_read_bytes_ESC} are present


Anyone using this transformer?

Thanks!

Claudio

___
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] Fwd: memory usage on libvirt

2014-10-22 Thread Claudio Pupparo

Hi Everyone,

I just want to inform you, that they have added support for memory.usage 
in libvirt in Openstack Juno:


https://github.com/openstack/ceilometer/commit/135961088d603a0ae1b51eb84d9dc7d62dc76476

So...problem solved!

Claudio


 Messaggio originale 
Oggetto: memory usage on libvirt
Data: Thu, 16 Oct 2014 12:40:41 +0200
Mittente: Claudio Pupparo claudio.pupp...@gmail.com
A: openstack@lists.openstack.org

Hi Everyone,

I am using ceilometer to get memory usage of a libvirt/qemu guest.
On ceilometer documentation I've found that this is currently supported
only on Vsphere and XenAPI:
http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova

I've found a patch that add support for this on libvirt too:
https://review.openstack.org/#/c/90498/
but I get this error:
WARNING ceilometer.compute.virt.libvirt.inspector [-] Failed to inspect
memory usage of instance-0032, can not get info from libvirt
ERROR ceilometer.compute.pollsters.memory [-] Could not get Memory Usage
for 17d6609a-f7c7-4b04-b3be-fbda7c0b3b84: 'NoneType' object has no
attribute 'usage'

Has someone managed to get memory.usage of a libvirt guest?


Thanks,
Claudio




___
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] memory usage on libvirt

2014-10-16 Thread Claudio Pupparo
Hi Everyone,

I am using ceilometer to get memory usage of a libvirt/qemu guest.
On ceilometer documentation I've found that this is currently supported
only on Vsphere and XenAPI:
http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova

I've found a patch that add support for this on libvirt too:
https://review.openstack.org/#/c/90498/
but I get this error:
WARNING ceilometer.compute.virt.libvirt.inspector [-] Failed to inspect
memory usage of instance-0032, can not get info from libvirt
ERROR ceilometer.compute.pollsters.memory [-] Could not get Memory Usage
for 17d6609a-f7c7-4b04-b3be-fbda7c0b3b84: 'NoneType' object has no
attribute 'usage'

Has someone managed to get memory.usage of a libvirt guest?


Thanks,
Claudio


___
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] Migration Policies

2014-09-22 Thread Claudio Pupparo

Hi Craig,

I have found this project about Dynamic VM consolidation. I think it can 
be interesting for your work

http://openstack-neat.org/

Best regards,

Claudio


Il 21/09/2014 18:17, Craig Lee ha scritto:

Hi Claudio,

I don't think there is current support for this, but it's certainly on
people's minds.  I've attached a paper that's in press.  If you're
interested, perhaps we can collaborate.  What is you're goal for
pursuing this?  Will you be at the Design Summit in Paris?

Best regards,

--Craig

Dr. Craig A. Lee, l...@aero.org
Senior Scientist, Computer Systems Research Dept.
The Aerospace Corporation,  M1-102
2310 East El Segundo Blvd.
El Segundo,  CA  90245   USA
voice: 310-336-1381
fax:   310-336-0613
http://www.aero.org

The Aerospace Corporation operates a non-profit,
federally funded research and development corporation.

On 9/21/14 2:05 AM, Claudio Pupparo wrote:

Hi,

Is it possible to create migration policies?
My idea was to collect some metrics with Ceilometer, and when a
threshold is reached, to trigger the migration of one or more instances.
Does Heat or other projects provide support for this?


Thanks,

Claudio

___
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] Migration Policies

2014-09-22 Thread Claudio Pupparo

Hi Diego,

there is an official google group about openstack neat, in which the 
author responds to question.
The latest post it's not so old (july), so I think this project can be 
used with latest releases.


Claudio

Il 22/09/2014 12:15, Diego Parrilla SantamarĂ­a ha scritto:

Hi folks,

is opentack-neat up to date with latest releases? Last check in was from
2012.

Anybody using it?
Diego



Enviado con MailTrack
https://mailtrack.io/install?source=signaturelang=esreferral=diego.parrilla.santama...@gmail.comidSignature=23

  --
Diego Parrilla
http://www.stackops.com/*CEO*
**www.stackops.com* http://www.stackops.com/ |
*diego.parri...@stackops.com mailto:diego.parri...@stackops.com |
+34 91 005-2164 | skype:diegoparrilla
*



*


On Mon, Sep 22, 2014 at 11:54 AM, Claudio Pupparo
claudio.pupp...@gmail.com mailto:claudio.pupp...@gmail.com wrote:

Hi Craig,

I have found this project about Dynamic VM consolidation. I think it
can be interesting for your work
http://openstack-neat.org/

Best regards,

Claudio


Il 21/09/2014 18:17, Craig Lee ha scritto:

Hi Claudio,

I don't think there is current support for this, but it's
certainly on
people's minds.  I've attached a paper that's in press.  If you're
interested, perhaps we can collaborate.  What is you're goal for
pursuing this?  Will you be at the Design Summit in Paris?

Best regards,

--Craig

Dr. Craig A. Lee, l...@aero.org mailto:l...@aero.org
Senior Scientist, Computer Systems Research Dept.
The Aerospace Corporation,  M1-102
2310 East El Segundo Blvd.
El Segundo,  CA  90245   USA
voice: 310-336-1381
fax:   310-336-0613
http://www.aero.org

The Aerospace Corporation operates a non-profit,
federally funded research and development corporation.

On 9/21/14 2:05 AM, Claudio Pupparo wrote:

Hi,

Is it possible to create migration policies?
My idea was to collect some metrics with Ceilometer, and when a
threshold is reached, to trigger the migration of one or
more instances.
Does Heat or other projects provide support for this?


Thanks,

Claudio

_
Mailing list:
http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
mailto:openstack@lists.openstack.org
Unsubscribe :
http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_
Mailing list:
http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
mailto:openstack@lists.openstack.org
Unsubscribe :
http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack
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] Migration Policies

2014-09-21 Thread Claudio Pupparo

Hi Craig,

I'm currently working on my Master's Degree Thesis, and now I am 
focusing on the capabilities of live migration in openstack.


I have analyzed if openstack can migrate a VM in a different subnet, but 
this is not supported.

So now I am investigating about migration policies.
I have read your paper. You're doing a very interesting work!

I would like to go further with migration policies, I'll let you know if 
this will be the focus of my thesis.


Thank you for your attention,

Claudio


Il 21/09/2014 18:17, Craig Lee ha scritto:

Hi Claudio,

I don't think there is current support for this, but it's certainly on
people's minds.  I've attached a paper that's in press.  If you're
interested, perhaps we can collaborate.  What is you're goal for
pursuing this?  Will you be at the Design Summit in Paris?

Best regards,

--Craig

Dr. Craig A. Lee, l...@aero.org
Senior Scientist, Computer Systems Research Dept.
The Aerospace Corporation,  M1-102
2310 East El Segundo Blvd.
El Segundo,  CA  90245   USA
voice: 310-336-1381
fax:   310-336-0613
http://www.aero.org

The Aerospace Corporation operates a non-profit,
federally funded research and development corporation.

On 9/21/14 2:05 AM, Claudio Pupparo wrote:

Hi,

Is it possible to create migration policies?
My idea was to collect some metrics with Ceilometer, and when a
threshold is reached, to trigger the migration of one or more instances.
Does Heat or other projects provide support for this?


Thanks,

Claudio

___
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] A strange solution for instances not getting their ip

2014-09-18 Thread Claudio Pupparo

Thank you Ernest,

I have tried setting agent_down_time to 120, but nothing changed.
I think I am facing a different problem (ovs-vsctl, neutron log and 
mysql show a different output than yours).


I have a two node configuration:
Controller/Network node (node A, ip 10.0.0.11)
Compute node (node B, ip 10.0.0.31. The instance has ip 192.168.1.11)

I have used tcpdump on both nodes to see what's happening.

When an instance gets an ip, both nodes captures the exchanging and 
/var/log/syslog (on node A) shows this output:


24208 Sep 18 11:35:00 controller dnsmasq-dhcp[19606]: 
DHCPDISCOVER(tap96bde1f8-a7) fa:16:3e:e0:72:28
24209 Sep 18 11:35:00 controller dnsmasq-dhcp[19606]: 
DHCPOFFER(tap96bde1f8-a7) 192.168.1.11 fa:16:3e:e0:72:28
24210 Sep 18 11:35:00 controller dnsmasq-dhcp[19606]: 
DHCPREQUEST(tap96bde1f8-a7) 192.168.1.11 fa:16:3e:e0:72:28
24211 Sep 18 11:35:00 controller dnsmasq-dhcp[19606]: 
DHCPACK(tap96bde1f8-a7) 192.168.1.11 fa:16:3e:e0:72:28 host-192-168-1-11


When an instance doesn't get an ip, node B captures packets going out, 
while node A captures nothing.
Strange thing, in /var/log/syslog (on node A) I see some lines about the 
exchange (even if tcpdump captures nothing), but request packets come 
from node A:


Sep 18 11:37:41 controller dnsmasq[19606]: read 
/var/lib/neutron/dhcp/b319b093-09f2-46ed-8136-1454f0616147/addn_hosts - 
4 addresses
Sep 18 11:37:41 controller dnsmasq-dhcp[19606]: read 
/var/lib/neutron/dhcp/b319b093-09f2-46ed-8136-1454f0616147/host
Sep 18 11:37:41 controller dnsmasq-dhcp[19606]: read 
/var/lib/neutron/dhcp/b319b093-09f2-46ed-8136-1454f0616147/opts
Sep 18 11:39:44 controller dhclient: DHCPREQUEST of 10.0.0.11 on eth0 to 
10.0.0.1 port 67 (xid=0x3e9eab12)

Sep 18 11:39:44 controller dhclient: DHCPACK of 10.0.0.11 from 10.0.0.1
Sep 18 11:39:44 controller dhclient: bound to 10.0.0.11 -- renewal in 
1787 seconds.


thanks,

Claudio

Il 17/09/2014 17:48, Ernest Bisson ha scritto:

Hi Claudio.

I was having this issue too but maybe not as often as you.  I believe I
finally fixed it by increasing agent_down_time in
/etc/neutron/neutron.conf. The default is 75 and I increased to 120. The
following are a few things you can check to determine if your problem is
the same as mine. (BTW... I'm running on RedHat 6.5)

1. On the NETWORK node, Check the VLAN ID of the tag port on the
br-int bridge (4095 is the dead Vlan)

 ovs-vsctl show
 cbf90101-67bc-40d3-adc1-4f28aca87c85
Bridge br-int
 fail_mode: secure
 Port br-int
 Interface br-int
 type: internal
Port tap81f710b4-84
tag: 4095
 Interface tap81f710b4-84
 type: internal
 Port patch-tun
 Interface patch-tun
 type: patch
 options: {peer=patch-int}
 Port qr-9ffcb84c-32
 tag: 1
 Interface qr-9ffcb84c-32
 type: internal
 Bridge br-ex
 Port qg-48380a3c-2a
 Interface qg-48380a3c-2a
 type: internal
 Port eth1
 Interface eth1
 Port br-ex
 Interface br-ex
 type: internal
 Bridge br-tun
 Port patch-int
 Interface patch-int
 type: patch
 options: {peer=patch-tun}
 Port gre-0a18
 Interface gre-0a18
 type: gre
 options: {in_key=flow, local_ip=10.0.0.14,
out_key=flow, remote_ip=10.0.0.24}
 Port br-tun
 Interface br-tun
 type: internal
 ovs_version: 1.11.0

2. On the NETWORK node, Check for the following types of messages in
/var/log/neutron.log with DEBUG mode enabled

DEBUG neutron.plugins.ml2.drivers.mech_agent
[req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Attempting to bind port
DEBUG neutron.plugins.ml2.drivers.mech_agent
[req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Checking agent:
WARNING neutron.plugins.ml2.drivers.mech_agent
[req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Attempting to bind with
dead agent:
WARNING neutron.plugins.ml2.managers
[req-cfcf3460-c013-4259-9e6c-7b0125e97a8e None] Failed to bind port
DHCP-PORT-ID on host HOSTNAME

3. On the CONTROLLER node, Check the status of network:dhcp port in
MySQL (will be DOWN when failing)

mysql -u root -pPASSWORD
mysql use neutron;
mysql select * from ports;


Hope this helps,
Ernie



Ernie Bisson
System Administrator  Virtualization
IBM Software Group
Mass Lab Central Services
550 King St. Littleton, MA. 01460
Email: ebis...@us.ibm.com
Phone: 978-899-3893
T/L  : 276-3893

Inactive hide details for Claudio Pupparo ---09/17/2014 11:04:56
AM---Hi, I have the common issue of instances not getting theiClaudio
Pupparo ---09/17/2014 11:04:56 AM---Hi, I have the common issue of
instances not getting their ip.

From: Claudio Pupparo claudio.pupp...@gmail.com
To: openstack@lists.openstack.org,
Date: 09/17/2014 11:04 AM

[Openstack] A strange solution for instances not getting their ip

2014-09-17 Thread Claudio Pupparo

Hi,

I have the common issue of instances not getting their ip.
When I start a cirros instance, the output looks like this:

udhcpc (v1.20.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing

I've found that during the boot process (while the instance is trying to 
get an ip), if I remove and immediately recreate in the router the 
interface to the subnet in which the instance is located, the instance 
succeds in getting its ip!


I've tested many times, and this method keeps working.
Anyone has a hint about this strange behaviour?

Thanks,

Claudio

___
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] Live Migration in different subnet/Live Migration in VPN

2014-04-22 Thread Claudio Pupparo
Hi,

I have a question about Live Migration capability of nova.
I know that one of the requirements is that the host origin and
destination must be in the same subnet. If they aren't, does it mean
that migration works but after that the migrated VM has problem with the
network (for example it is unreachable), or the migration doesn't even work?

In the second case, by constructing a VPN with neutron, will migration work?

Thank you
Claudio Pupparo

___
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] Quantum/Grizzly - Instance doesn't get IP

2013-09-04 Thread claudio
Hi Marcelo!

 

Seems that you haven't got quantum client installed, and probably you have
some missing packages as well.

My advice is, restart from scratch again but follow the guide that Happy
advised you
https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_Mul
tiNode/OpenStack_Grizzly_Install_Guide.rst
https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_Mult
iNode/OpenStack_Grizzly_Install_Guide.rst

 

Good luck

 

Claudio Marques

 

 mailto:clau...@onesource.pt clau...@onesource.pt

 http://www.onesource.pt/ http://www.onesource.pt/

 

 

.

 

Hi Happy, thanks for your reply.

I checked this guide, but I already have dhcp-agent installed. 

root@network:~# apt-get -y install quantum-plugin-openvswitch-agent
quantum-dhcp-agent quantum-l3-agent quantum-metadata-agent
Reading package lists... Done
Building dependency tree   
Reading state information... Done
quantum-dhcp-agent is already the newest version.
quantum-l3-agent is already the newest version.
quantum-metadata-agent is already the newest version.
quantum-plugin-openvswitch-agent is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I also checked the settings that this guide and I added some options that I
had not configured. Now the error No active DHCP agents doesn't appears
more, but the error (in the Controler (quantum-server)) still appears below:

2013-09-04 08:25:48  WARNING [quantum.db.agentschedulers_db] Fail scheduling
network {'status': u'ACTIVE', 'subnets':
[u'80b21701-4b05-4585-985a-60905ff42531'], 'name': u'public',
'provider:physical_network': None, 'admin_state_up': True, 'tenant_id':
u'27d2b93f11ac4e91a3edb26edb28fb6b', 'provider:network_type': u'gre',
'router:external': True, 'shared': False, 'id':
u'b3e465b7-b5a2-45d5-8b24-aa8bea0ab0a0', 'provider:segmentation_id': 2L}

And in all hosts (computer, networking and controller), I have the error:

# quantum agent-list
Unknown command ['agent-list']

At my network node:

tail -n 10 /var/log/openvswitch/ovs-vswitchd.log
Sep 04 09:27:23|09614|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on
tap91e05e25-7f device failed: No such device
Sep 04 09:27:32|09615|netdev|WARN|Dropped 253 log messages in last 12
seconds (most recently, 1 seconds ago) due to excessive rate
Sep 04 09:27:32|09616|netdev|WARN|failed to get flags for network device
tap91e05e25-7f: No such device
Sep 04 09:27:33|09617|netdev_linux|WARN|Dropped 7 log messages in last 10
seconds (most recently, 5 seconds ago) due to excessive rate
Sep 04 09:27:33|09618|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on
tap91e05e25-7f device failed: No such device
Sep 04 09:27:44|09619|netdev|WARN|Dropped 231 log messages in last 12
seconds (most recently, 1 seconds ago) due to excessive rate
Sep 04 09:27:44|09620|netdev|WARN|failed to get flags for network device
tap91e05e25-7f: No such device
Sep 04 09:27:48|09621|netdev_linux|WARN|Dropped 11 log messages in last 15
seconds (most recently, 5 seconds ago) due to excessive rate
Sep 04 09:27:48|09622|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on
tap91e05e25-7f device failed: No such device

(quantum) net-list
+--+--+-
--+
| id   | name | subnets
|
+--+--+-
--+
| a8f7c937-e8d0-4952-bff6-7d364335df22 | demo-net |
fd7f324c-25ec-4134-ab97-e827fcf12824 10.5.5.0/24  |
| b3e465b7-b5a2-45d5-8b24-aa8bea0ab0a0 | public   |
80b21701-4b05-4585-985a-60905ff42531 xxx.xxx.xxx.0/24 |
+--+--+-
--+
(quantum) port-list
+--+--+---+-

---+
| id   | name | mac_address   |
fixed_ips
|
+--+--+---+-

---+
| 65c5b6cf-5eef-483e-8b32-8cd07bb83e6d |  | fa:16:3e:58:29:31 |
{subnet_id: 80b21701-4b05-4585-985a-60905ff42531, ip_address:
xxx.xxx.xxx.166} |
| 806b3d3e-35fe-4356-a833-a8a3d44ec9ca |  | fa:16:3e:7c:00:24 |
{subnet_id: fd7f324c-25ec-4134-ab97-e827fcf12824, ip_address:
10.5.5.1}|
| 91e05e25-7f7b-4399-9da2-42fef05afe31 |  | fa:16:3e:fe:63:6c |
{subnet_id: fd7f324c-25ec-4134-ab97-e827fcf12824, ip_address:
10.5.5.2}|
| a9043279-dd30-40b7-a1e3-8d340c5408c3 |  | fa:16:3e:71:60:57 |
{subnet_id: 80b21701-4b05-4585-985a-60905ff42531, ip_address:
xxx.xxx.xxx.165} |
+--+--+---+-

---+
(quantum) router-list