From: Sadi <sadijrp@gmail.com>
To: Wen Congyang <wency@cn.fujitsu.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Error migrating VM to secondary host using COLO replication
Date: Thu, 10 Nov 2016 19:53:08 -0200 [thread overview]
Message-ID: <CAMHADrFvhPUuwW5eGE1az_rvuCUJC35DMPcronWk6b7yLevKyA@mail.gmail.com> (raw)
In-Reply-To: <d344516f-f474-eb25-3a0d-54a90fd137d9@cn.fujitsu.com>
[-- Attachment #1.1: Type: text/plain, Size: 4627 bytes --]
Hi,
Thanks for helping me.
I'm trying lots of different things so maybe there are traces of older
tries i've done conflicting right now.
I'm planning on starting over again from the very beginning. I just wanna
know what tutorial follow. The one from the Wiki, from the mail thread or
another one.
Link to tutorials:
Wiki: http://wiki.xenproject.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping
Mail Thread: http://xen.markmail.org/search/?q=COLO#query:COLO+page:1+
mid:fb7wrn62vbks4unn+state:results
I had a little fight against ubuntu, so if you could suggest me an
operating system to, would be of great help.
Thanks,
Sadi.
On Wed, Nov 9, 2016 at 11:03 PM, Wen Congyang <wency@cn.fujitsu.com> wrote:
> On 11/10/2016 01:31 AM, Sadi wrote:
> > Hello again,
> >
> > Looking at the primary host's syslog, the arptables command from
> xen/etc/scripts/colo-proxy-setup has failed.
> >
> > Here's the log:
> >
> > Nov 9 14:43:39 colop colop: /etc/xen/scripts/colo-proxy-setup: setup
> XENBUS_PATH=
> > Nov 9 14:43:39 colop kernel: [ 302.825788] u32 classifier
> > Nov 9 14:43:39 colop kernel: [ 302.825791] Actions configured
> > Nov 9 14:43:39 colop kernel: [ 302.835407] Mirror/redirect action on
> > Nov 9 14:43:39 colop kernel: [ 302.919605] ip6_tables: (C) 2000-2006
> Netfilter Core Team
> > Nov 9 14:43:39 colop kernel: [ 302.941511] arp_tables: (C) 2002 David
> S. Miller
> > Nov 9 14:43:39 colop colop: /etc/xen/scripts/colo-proxy-setup:
> arptables -I INPUT -i eth1 -j MARK --set-mark 1 failed
> > Nov 9 14:43:39 colop colop: /etc/xen/scripts/colo-proxy-setup: Writing
> /hotplug-status connected to xenstore.
> > Nov 9 14:43:39 colop colop: /etc/xen/scripts/colo-proxy-setup:
> Successful colo-proxy-setup setup for vif2.0-emu. mode = primary vifname:
> vif2.0-emu, index: 1, forwarddev: eth1.
> >
> > It's ok for the --set-mark argument to have value equal '1' , not a hex?
>
> This log is very useful, we will investigate it.
>
> Thanks
> Wen Congyang
>
> >
> > The i got running the command is:
> > root@colop:~# arptables -I INPUT -i eth1 -j MARK --set-mark 1
> > Bad argument `1'
> >
> > Thanks, Sadi.
> >
> >
> >
> > On Tue, Nov 8, 2016 at 6:53 PM, Sadi <sadijrp@gmail.com <mailto:
> sadijrp@gmail.com>> wrote:
> >
> > Hi,
> >
> > Apparently vif2.0-emu was already binded with br0 when "brctl addif
> br0 vif2.0-emu" failed.
> >
> > root@colob-HP-Compaq-6005-Pro-MT-PC:~# brctl addif br0 vif2.0-emu
> > device vif2.0-emu is already a member of a bridge; can't enslave it
> to bridge br0.
> > root@colob-HP-Compaq-6005-Pro-MT-PC:~# brctl show
> > bridge name bridge id STP enabled interfaces
> > br0 8000.001a3fc46255 no eth0
> > vif2.0
> > vif2.0-emu
> > br1 8000.000000000000 no
> >
> > About the iptables, it seems like SECCOLO target can't be recognised.
> >
> > root@colob-HP-Compaq-6005-Pro-MT-PC:~# iptables -t mangle -D
> PREROUTING -m physdev --physdev-in vif2.0-emu -j SECCOLO --index 1
> > iptables: No chain/target/match by that name.
> >
> > Here is my active modules matching colo:
> >
> > root@colob-HP-Compaq-6005-Pro-MT-PC:~# lsmod | grep -i colo
> > xt_SECCOLO 16384 1
> > nf_conntrack_colo 16384 2 xt_SECCOLO
> > x_tables 36864 8 xt_physdev,ip6table_mangle,ip_
> tables,xt_SECCOLO,xt_tcpudp,iptable_filter,iptable_mangle,ip6_tables
> > nf_conntrack 106496 4 xt_SECCOLO,nf_nat,nf_
> conntrack_colo,nf_conntrack_ipv4
> >
> > So i was looking in the iptables and this really looks like the
> source of the problem.
> >
> > Sadi.
> >
> > On Tue, Nov 8, 2016 at 5:57 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@oracle.com <mailto:konrad.wilk@oracle.com>> wrote:
> >
> > > entered forwarding state
> > > Nov 7 18:10:30 colob NetworkManager[907]: <info>
> (vif2.0-emu): enslaved
> > > to br0
> > > Nov 7 18:10:30 colob root: /etc/xen/scripts/colo-proxy-setup:
> brctl addif
> > > br0 vif2.0-emu failed
> >
> >
> > How come this failed?
> >
> > > Nov 7 18:10:30 colob root: /etc/xen/scripts/colo-proxy-setup:
> iptables -t
> > > mangle -D PREROUTING -m physdev --physdev-in vif2.0-emu -j
> SECCOLO --index
> > > 1 failed
> >
> > Ah b/c of this. Are there any errors of what exactly failed?
> >
> >
> >
> >
> > --
> > Sadi.
> >
> >
> >
> >
> > --
> > Sadi.
>
>
>
>
--
Sadi.
[-- Attachment #1.2: Type: text/html, Size: 6770 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2016-11-10 21:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-27 22:56 Error migrating VM to secondary host using COLO replication Sadi
2016-10-28 16:56 ` Konrad Rzeszutek Wilk
2016-11-03 6:23 ` Zhang Chen
2016-11-03 6:33 ` Wen Congyang
[not found] ` <CAMHADrE4rXxM9K0UrSq38MZrz=dwKYyDSq0MQRiEZQyC+Qeviw@mail.gmail.com>
2016-11-04 17:50 ` Fwd: " Sadi
2016-11-07 20:37 ` Sadi
2016-11-08 19:57 ` Konrad Rzeszutek Wilk
2016-11-08 20:53 ` Sadi
2016-11-09 17:31 ` Sadi
2016-11-10 1:03 ` Wen Congyang
2016-11-10 21:53 ` Sadi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMHADrFvhPUuwW5eGE1az_rvuCUJC35DMPcronWk6b7yLevKyA@mail.gmail.com \
--to=sadijrp@gmail.com \
--cc=wency@cn.fujitsu.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).