Douglas Schilling Landgraf has posted comments on this change.

Change subject: store-net-config: persist ifcfg mgmt on node
......................................................................


Patch Set 1: Code-Review-1

(3 comments)

Dan, I did few comments, didn't make the trick.

http://gerrit.ovirt.org/#/c/36985/1/vdsm/vdsm-store-net-config.in
File vdsm/vdsm-store-net-config.in:

Line 16: 
Line 17: PERSISTENCE=$1
Line 18: 
Line 19: ifcfg_node_persist() {
Line 20:     for f in "$NET_CONF_BACK_DIR"/*;
$f it will be /var/lib/vdsm/netconfback/* and will execute the continue 
statement below. So it won't be possible to execute ovirt_store_config. 
/var/lib/vdsm/netconfback is empty.
Line 21:     do
Line 22:         [ ! -f "$f" ] && continue
Line 23:         bf=`basename "$f"`
Line 24:         if [ -f "$NET_CONF_DIR/$bf" ];


Line 18: 
Line 19: ifcfg_node_persist() {
Line 20:     for f in "$NET_CONF_BACK_DIR"/*;
Line 21:     do
Line 22:         [ ! -f "$f" ] && continue
$f will be needed to be 'ifcfg-rhevm' instead of *
Line 23:         bf=`basename "$f"`
Line 24:         if [ -f "$NET_CONF_DIR/$bf" ];
Line 25:         then
Line 26:             ovirt_store_config "$NET_CONF_DIR/$bf"


Line 48:     # https://bugzilla.redhat.com/show_bug.cgi?id=1165203
Line 49:     #
Line 50:     # TODO: remove when network restoration is splitted out of vdsmd
Line 51:     # http://gerrit.ovirt.org/29441/
Line 52:     ifcfg_node_persist
still don't get persisted.
Line 53: }
Line 54: 
Line 55: unified_nonnode_persist() {
Line 56:     # Atomic directory copy by using the atomicity of overwriting a 
link


-- 
To view, visit http://gerrit.ovirt.org/36985
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia61b2385ce0bf44a67f627caf5b73b68992349fd
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <celeb...@gmail.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsl...@redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabi...@redhat.com>
Gerrit-Reviewer: Ido Barkan <ibar...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to