Re: [ovirt-users] iSCSI storage domain and multipath when adding node
Yes, this is what struck me about your situation. Will you be able to find relevant logs regarding multipath configuration, in which we would see when (or even why) the third connection was created on the first node, and only one connection on the second? On Mon, Apr 10, 2017 at 2:17 PM, Gianluca Cecchi <gianluca.cec...@gmail.com> wrote: > On Mon, Apr 10, 2017 at 2:12 PM, Ondrej Svoboda <osvob...@redhat.com> > wrote: > >> Gianluca, >> >> I can see that the workaround you describe here (to complete multipath >> configuration in CLI) fixes an inconsistency in observed iSCSI sessions. I >> think it is a shortcoming in oVirt that you had to resort to manual >> configuration. Could you file a bug about this? Ideally, following the bug >> template presented to you by Bugzilla, i.e. "Expected: two iSCSI sessions", >> "Got: one the first node ... one the second node". >> >> Edy, Martin, do you think you could help out here? >> >> Thanks, >> Ondra >> > > Ok, this evening I'm going to open a bugzilla for that. > Please keep in mind that on the already configured node (where before node > addition there were two connections in place with multipath), actually the > node addition generates a third connection, added to the existing two, > using "default" as iSCSI interface (clearly seen if I run "iscsiadm -m > session -P1") > > Gianluca > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] iSCSI storage domain and multipath when adding node
Gianluca, I can see that the workaround you describe here (to complete multipath configuration in CLI) fixes an inconsistency in observed iSCSI sessions. I think it is a shortcoming in oVirt that you had to resort to manual configuration. Could you file a bug about this? Ideally, following the bug template presented to you by Bugzilla, i.e. "Expected: two iSCSI sessions", "Got: one the first node ... one the second node". Edy, Martin, do you think you could help out here? Thanks, Ondra On Fri, Apr 7, 2017 at 5:21 PM, Gianluca Cecchiwrote: > Hello, > my configuration is what described here: > http://lists.ovirt.org/pipermail/users/2017-March/080992.html > > So I'm using iSCSI multipath and not bonding > can anyone reproduce? > > > Initial situation is only one node configured and active with some VMS > > I go and configure a second node; it tries to activate but networks are > not all already mapped and so gies to non operational. > I setup all networks and activate the node > > It happens that: > - on the first node where I currently have 2 iSCSI connections and > 2multipath lines (with p1p1.100 and p1p2) it is instantiated a new iSCSI > SID using interface "default" and in multipath -l output I see now 3 lines > > - on the newly added node I only see 1 iSCSI SID using interface default > > My way to solve the situation was to go inside iscsi multipath section > do nothing but save the same config > > brutally on first node > iscsiadm -m session -u > --> all iscsi sessions are closed > after a while I see again the original 2 connections recovered, with > correct interface names used > > - on second node > iscsiadm -m session -u > --> the only session is cloed > nothing happens > if I set to maintenance the node and then activate the node > --> the 2 correct iscsi sessions are activated... > > Thanks > Gianluca > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] More 4.1 Networking Questions
Hello Charles, First, can you give us more information regarding the duplicated IPv6 addresses? Since you are going to reinstall the hosted engine, could you make sure that NetworkManager is disabled before adding the second vNIC (and perhaps even disable IPv6 and reboot as well, so we have a solid base and see what makes the difference)? What kind of documentation did you follow to install the hosted engine? Was it this page? https://www.ovirt.org/documentation/how-to/hosted-engine/ If so, could you file a bug against VDSM networking and attach /var/log/vdsm/vdsm.log and supervdsm.log, and make sure they include the time period from adding the second vNIC to rebooting? Second, even the vNIC going missing after reboot looks like a bug to me. Even though eth1 does not exist in the VM, can you see it defined for the VM in the engine web GUI? The steps you took to install the hosted engine with regards to networking look good to me, but I believe Sandro (CC'ed) would be able to give more advice. Sandro, since we want to configure bonding, would you recommend to install the engine physically first, move it to a VM, according to the following method, and only then reconfigure networking? https://www.ovirt.org/documentation/self-hosted/chap-Migrating_from_Bare_Metal_to_an_EL-Based_Self-Hosted_Environment/ Thank you, Ondra On Mon, Apr 10, 2017 at 8:51 AM, Charles Tassellwrote: > Hi Everyone, > > Okay, I'm again having problems with getting basic networking setup with > oVirt 4.1 Here is my situation. I have two servers I want to use to > create an oVirt cluster, with two different networks. My "public" network > is a 1G link on device em1 connected to my Internet feed, and my "storage" > network is a 10G link connected on device p5p1 to my file server. Since I > need to connect to my storage network in order to do the install, I > selected p5p1 has the ovirtmgmt interface when installing the hosted > engine. That worked fine, I got everything installed, so I used some > ssh-proxy magic to connect to the web console and completed the install > (setup a Storage domain and create a new network vmNet for VM networking > and added em1 to it.) > > The problem was that when I added a second network device to the > HostedEngine VM (so that I can connect to it from my public network) it > would intermittently go down. I did some digging and found some IPV6 > errors in the dmesg (IPv6: eth1: IPv6 duplicate address > 2001:410:e000:902:21a:4aff:fe16:151 detected!) so I disabled IPv6 on both > eth0 and eth1 in the HostedEngine and rebooted it. The problem is that > when I restarted the VM, the eth1 device was missing. > > So, my question is: Can I add a second NIC to the HostedEngine VM and > make it stick, or will it be deleted whenever the engine VM is restarted? > Is there a better way to do what I'm trying to do, ie, should I setup > ovirtmgmt on the public em1 interface, and then create the "storage" > network after the fact for connecting to the datastores and such. Is that > even possible, or required? I was thinking that it would be better for > migrations and other management functions to happen on the faster 10G > network, but if the HostedEngine doesn't need to be able to connect to the > storage network maybe it's not worth the effort? > > Eventually I want to setup LACP on the storage network, but I had to > wipe the servers and reinstall from scratch the last time I tried to set > that up. I was thinking that it was because I setup the bonding before > installing oVirt, so I didn't do that this time. > > Here are my /etc/sysconfig/network-scripts/ifcfg-* files in case I did > something wrong there (I'm more familiar with Debian/Ubuntu network setup > than CentOS) > > ifcfg-eth0: (ovirtmgmt aka storage) > > BROADCAST=192.168.130.255 > NETMASK=255.255.255.0 > BOOTPROTO=static > DEVICE=eth0 > IPADDR=192.168.130.179 > ONBOOT=yes > DOMAIN=public.net > ZONE=public > IPV6INIT=no > > > ifcfg-eth1: (vmNet aka Internet) > > BROADCAST=192.168.1.255 > NETMASK=255.255.255.0 > BOOTPROTO=static > DEVICE=eth1 > IPADDR=192.168.1.179 > GATEWAY=192.168.1.254 > ONBOOT=yes > DNS1=192.168.1.1 > DNS2=192.168.1.2 > DOMAIN=public.net > ZONE=public > IPV6INIT=no > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosts Network Management
Hello Kai, I'd like to know – what is your initial problem that you cannot solve through the GUI? VDSM does use a custom comment in ifcfg files, but only to recognize them – if they are unknown, it acquires the relevant network devices from NetworkManager. But VDSM is in charge of networking configuration, exclusively. If you need to add extra configuration parameters in ifcfg files, or modify them, you could write or use a VDSM hook to alter the ifcfg files as they are written. But perhaps it is better for us to know what problems you are having and whether they can be solved by available methods. Thank you, Ondra On Thu, Apr 6, 2017 at 12:14 PM, Kai Wagnerwrote: > Hi all, > > is it possible to set a comment at the beginning of a file for network > files -> something like don't touch this anymore please? > > I want to configure my network stuff on the cli and not via the UI > because I failed now a few times. > > Thx > > Kai > > > -- > SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB > 21284 (AG Nürnberg) > > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] MAC Address is already in use; several of times before Nic/MAC is acceppetd
Dear Matt, I have CC'ed Martin and Yevgeni, they might be able to help out. Could you find a way to provide Engine logs to us so it is easier to debug this? Can you also give a little more detail? For example, what are the MAC addresses that are claimed to be in use? What is the MAC address range of the default and extra MAC pool you created (do you think the error messages are valid, or do they seem wrong)? If you need assistance finding out about the default MAC pool range, please reply to this thread, I think I might be able to show you a REST API command to query the default MAC pool details. Thanks, Ondra On Wed, Apr 5, 2017 at 10:34 PM, Matt .wrote: > Hi Guys, > > Since the upgrade to 4.1 I have the issue that every nic I add I get a > several of times: > > MAC Address xx:xx:xx:xx:xx is already in use. > > I have added an extra pool and this issue still exists. > > Anyone a clue why this happens ? > > Thanks, > > Matt > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Fail to setup network just after host setup via python SDK
Oops, forgot to "Reply to all". Hi, What is the version of your oVirt components? Can you reproduce this failure? Was the host in the "Up" state at the time you ran the setupNetworks API command, wasn't there an action still in progress (that you could see in Events)? What did your setupNetworks code (you wrote with the SDK) look like? Could you provide the current /var/log/vdsm/vdsm.log and /var/log/vdsm/supervdsm.log? EDIT: You can find these files at your host. Thanks, Ondra On Thu, Jan 19, 2017 at 12:41 PM, TranceWorldLogic . < tranceworldlo...@gmail.com> wrote: > Hi, > > I was trying to add host in ovirt. And it got succeeded. > But when I tried to setup network it throw below error. > > " Fault detail is "[Cannot setup Networks. Another Setup Networks or Host > Refresh process in progress on the host. Please try later.]". HTTP response > code is 409." > > Please help me to solve this problem. > > Thanks, > ~Rohit > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users