[Users] ovirt-node post-reboot no persistent networks config .. !!! urgent update req for POC coming weekend
Fabian Deutsch
fabiand at redhat.com
Mon Sep 30 18:52:34 UTC 2013
Am Montag, den 30.09.2013, 21:28 +0800 schrieb Anil Dhingra:
> Hi Guys
>
> I am unable to store persistent n/w configuration in ovirt3-3 only
> ovirtmgmt is persistent remaining "Storage/Migration/VM" network
> doesn't come up after reboot Tried using both ovirt Manager as well
> from ovirtnode "ovirt-node-iso-3.0.1-1.0.2.vdsm.el6" but no luck
> looks similar to "Bug 988397 - ovirt-node post-installation setup
> networks fails when NetworkManager is running " but looks like its
> closed & ther is no N/W manager on ovirtnode .
>
> below are some Hit & try outputs
>
> 1- manually created all n/w config
> under /config/etc/sysconfig/network-scripts/ dir even tried save with
> "persist" command & checked /config/file is updated after persist
> command .but no luck after reboot. it didn't create them
>
> 2- anyone has any idea ..how to configure persistent config using
> files if Graphical is not working .
Hey Anil,
you were doing the right thing to persist the network cfg files. It
might have been node that was to greedy when reconfiguring DNS :)
You might take a look at this fix:
http://gerrit.ovirt.org/19705
It is untested but at least I could reproduce the behavior you were
seeing and prepared the patch based on that findings.
An ISO containing that fix will sooner or later land here:
http://jenkins.ovirt.org/job/node-devel/
(The queue is currently quite long, which can take a day until the patch
above is turned into an ISO).
Long story short, please check if this patch fixes your problem, I'll
also try to take a look at it when an iso is ready.
And file a bug if you want to track the state of this issue.
Greetings
fabian
> 3- is ther any know n/w issue with current ovirt node + why its not
> showing bridge for ovirtmgmt BRIDGE .
>
> 4- tried using vdsm-store-net-config /restore but no luck
>
>
> [root at node1-3-3 network-scripts]# ls
> ifcfg-eth0 ifcfg-eth1 ifcfg-eth2 ifcfg-eth3 ifcfg-lo
> ifcfg-Migration ifcfg-Storage ifcfg-VM_100 route-eth0
> route-ovirtmgmt rule-eth0 rule-
> ovirtmgmt
>
> # view /var/log/ovirt.log
> dhclient: no process killed
> 2013-09-30 09:36:57,092 - INFO - ovirtfunctions
> - /etc/sysconfig/network-scripts/ifcfg-Migration successully
> unpersisted
> 2013-09-30 09:36:57,097 - DEBUG - ovirtfunctions - rm
> -Rf /config"/etc/sysconfig/network-scripts/ifcfg-Migration"
> 2013-09-30 09:36:57,097 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,102 - DEBUG - ovirtfunctions - sed --copy -i "\|
> ^/etc/sysconfig/network-scripts/ifcfg-Migration$|d" /config/files
> 2013-09-30 09:36:57,102 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,140 - INFO - ovirtfunctions
> - /etc/sysconfig/network-scripts/ifcfg-Storage successully unpersisted
> 2013-09-30 09:36:57,144 - DEBUG - ovirtfunctions - rm
> -Rf /config"/etc/sysconfig/network-scripts/ifcfg-Storage"
> 2013-09-30 09:36:57,145 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,149 - DEBUG - ovirtfunctions - sed --copy -i "\|
> ^/etc/sysconfig/network-scripts/ifcfg-Storage$|d" /config/files
> 2013-09-30 09:36:57,149 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,163 - DEBUG - ovirtfunctions - sed --copy -i
> "\|/etc/sysconfig/network-scripts/ifcfg-eth3$|d" /config/files
> 2013-09-30 09:36:57,164 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,230 - DEBUG - ovirtfunctions - shred
> -u /config'/etc/sysconfig/network-scripts/ifcfg-eth3'
> 2013-09-30 09:36:57,231 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,235 - DEBUG - ovirtfunctions - shred -u
> '/etc/sysconfig/network-scripts/ifcfg-eth3'
> 2013-09-30 09:36:57,235 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,249 - DEBUG - ovirtfunctions - sed --copy -i
> "\|/etc/sysconfig/network-scripts/ifcfg-eth2$|d" /config/files
> 2013-09-30 09:36:57,249 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,265 - DEBUG - ovirtfunctions - shred
> -u /config'/etc/sysconfig/network-scripts/ifcfg-eth2'
> 2013-09-30 09:36:57,265 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,270 - DEBUG - ovirtfunctions - shred -u
> '/etc/sysconfig/network-scripts/ifcfg-eth2'
> 2013-09-30 09:36:57,270 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,283 - DEBUG - ovirtfunctions - sed --copy -i
> "\|/etc/sysconfig/network-scripts/ifcfg-eth1$|d" /config/files
> 2013-09-30 09:36:57,284 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,300 - DEBUG - ovirtfunctions - shred
> -u /config'/etc/sysconfig/network-scripts/ifcfg-eth1'
> 2013-09-30 09:36:57,301 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,305 - DEBUG - ovirtfunctions - shred -u
> '/etc/sysconfig/network-scripts/ifcfg-eth1'
> 2013-09-30 09:36:57,305 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,318 - DEBUG - ovirtfunctions - sed --copy -i
> "\|/etc/sysconfig/network-scripts/ifcfg-VM_100$|d" /config/files
> 2013-09-30 09:36:57,318 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,339 - DEBUG - ovirtfunctions - shred
> -u /config'/etc/sysconfig/network-scripts/ifcfg-VM_100'
> 2013-09-30 09:36:57,339 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,344 - DEBUG - ovirtfunctions - shred -u
> '/etc/sysconfig/network-scripts/ifcfg-VM_100'
> 2013-09-30 09:36:57,344 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,358 - DEBUG - ovirtfunctions - sed --copy -i
> "\|/etc/sysconfig/network-scripts/ifcfg-eth0$|d" /config/files
> 2013-09-30 09:36:57,358 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,390 - DEBUG - ovirtfunctions - shred
> -u /config'/etc/sysconfig/network-scripts/ifcfg-eth0'
> 2013-09-30 09:36:57,391 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,395 - DEBUG - ovirtfunctions - shred -u
> '/etc/sysconfig/network-scripts/ifcfg-eth0'
> 2013-09-30 09:36:57,396 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,411 - DEBUG - ovirtfunctions - sed --copy -i
> "\|/etc/sysconfig/network-scripts/ifcfg-lo$|d" /config/files
> 2013-09-30 09:36:57,411 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,426 - DEBUG - ovirtfunctions - shred
> -u /config'/etc/sysconfig/network-scripts/ifcfg-lo'
> 2013-09-30 09:36:57,426 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,431 - DEBUG - ovirtfunctions - shred -u
> '/etc/sysconfig/network-scripts/ifcfg-lo'
> 2013-09-30 09:36:57,431 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,447 - DEBUG - ovirtfunctions - mkdir
> -p /config//etc/sysconfig/network-scripts
> 2013-09-30 09:36:57,447 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,452 - DEBUG - ovirtfunctions - cp
> -a /etc/sysconfig/network-scripts/ifcfg-eth0 /config/etc/sysconfig/network-scripts/ifcfg-eth0
> 2013-09-30 09:36:57,452 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,468 - DEBUG - ovirtfunctions - mount -n
> --bind /config/etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-
> eth0
> 2013-09-30 09:36:57,469 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,469 - INFO - ovirtfunctions -
> File: /etc/sysconfig/network-scripts/ifcfg-eth0 persisted
> 2013-09-30 09:36:57,479 - INFO - ovirtfunctions - Successfully
> persisted: /etc/sysconfig/network-scripts/ifcfg-eth0
> 2013-09-30 09:36:57,491 - DEBUG - ovirtfunctions - mkdir
> -p /config//etc/sysconfig/network-scripts
> 2013-09-30 09:36:57,491 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,496 - DEBUG - ovirtfunctions - cp
> -a /etc/sysconfig/network-scripts/ifcfg-lo /config/etc/sysconfig/network-scripts/ifcfg-lo
> 2013-09-30 09:36:57,496 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,501 - DEBUG - ovirtfunctions - mount -n
> --bind /config/etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/network-scripts/ifcfg-lo
> 2013-09-30 09:36:57,501 - DEBUG - ovirtfunctions -
> 2013-09-30 09:36:57,501 - INFO - ovirtfunctions -
> File: /etc/sysconfig/network-scripts/ifcfg-lo persisted
> 2013-09-30 09:36:57,509 - INFO - ovirtfunctions - Successfully
> persisted: /etc/sysconfig/network-scripts/ifcfg-lo
> 2013-09-30 09:36:57,510 - WARNING - ovirtfunctions - File already
> persisted: /etc/sysconfig/network
> 2013-09-30 09:36:57,510 - WARNING - ovirtfunctions
> - /etc/sysconfig/network Already persisted
> 2013-09-30 09:36:57,510 - WARNING - ovirtfunctions - File already
> persisted: /etc/hosts
> 2013-09-30 09:36:57,510 - WARNING - ovirtfunctions - /etc/hosts
> Already persisted
> 2013-09-30 09:36:57,515 - WARNING - ovirtfunctions - File already
> persisted: /etc/udev/rules.d/71-persistent-node-net.rules
> 2013-09-30 09:36:57,516 - WARNING - ovirtfunctions
> - /etc/udev/rules.d/71-persistent-node-net.rules Already persisted
> 2013-09-30 09:37:03,819 - INFO - ovirtfunctions - Won't
> update /etc/hosts, it's not empty.
> systemd-journald: unrecognized service
>
>
> Thanks
> Anil D
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list