Bug 1228280 - [New] - set onboot=yes for the interfaces to which glusternw is attached.
Summary: [New] - set onboot=yes for the interfaces to which glusternw is attached.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: vdsm
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Darshan
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On: 1203422 1249396 1249397
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-04 14:26 UTC by RamaKasturi
Modified: 2015-08-02 13:01 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Cause: tbd Consequence: Workaround (if any): Result:
Clone Of:
Environment:
Last Closed: 2015-07-21 06:15:27 UTC
Embargoed:


Attachments (Terms of Use)
patch (1.52 KB, application/mbox)
2015-06-14 14:14 UTC, Bala.FA
no flags Details

Description RamaKasturi 2015-06-04 14:26:05 UTC
Description of problem:
Other than the ovirtmgmt  for all the other interfaces ovirt will set as ON_BOOT=no. Because of this issue when server comes up back the interface will not be brought up and the bricks which is attached to this interface will be shown down in the UI.

Version-Release number of selected component (if applicable):
vdsm-4.16.16-1.3.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create network from UI.
2. Now assign this logical network to the gluster network.
3. Create a volume.
4. reboot the system.

Actual results:
The interfaces which are attached to gluster network does not have onboot=yes in the ifcfg files. 

Expected results:
The interfaces which are attached to gluster network should have onboot=yes set in the ifcfg files.

Additional info:

Comment 1 Sahina Bose 2015-06-05 08:32:18 UTC
As mentioned in Bug 1215011 comment 2, will set the vdsm.conf's net_persistence=ifcfg till a proper solution is available

Comment 4 Bala.FA 2015-06-14 14:14:47 UTC
Created attachment 1038558 [details]
patch

This patch fixes the issue by using the workaround ie adds net_persistence=ifcfg config entry into /etc/vdsm/vdsm.conf

Comment 5 RamaKasturi 2015-06-22 07:18:18 UTC
Hi Bala,

  I do not see  net_persistence=ifcfg in /etc/vds/vdsm.conf file. Below are the contents of my /etc/vdsm/vdsm.conf file.

cat /etc/vdsm/vdsm.conf
[vars]
ssl = true

[addresses]
management_port = 54321

can you please help me understand what is the exact fix made for this?

Comment 6 Bala.FA 2015-06-22 07:31:58 UTC
Once you have installed vdsm-gluster package, it updates/creates vdsm.conf file with the config of net_persistence=ifcfg in [vars].

Comment 7 RamaKasturi 2015-06-22 12:32:22 UTC
Moving this bug back because, once vdsm is installed on the node i see the changes being reflected in the /etc/vdsm/vdsm.conf. I see a line with net_persistence=ifcfg in [vars]


But once the node is added to rhsc, all the changes vanishes and the following content is seen in the vdsm.conf file.

 cat /etc/vdsm/vdsm.conf
[vars]
ssl = true

[addresses]
management_port = 54321

Comment 8 Bala.FA 2015-06-22 12:40:09 UTC
host-deploy/bootstrap needs to be fixed to keep the changes.

Comment 14 Sahina Bose 2015-07-21 06:15:27 UTC
Even with onboot=no on the interface attached to glusternw, the interface is UP after reboot.
So closing this for now. Please reopen if the issue is faced again


Note You need to log in before you can comment on or make changes to this bug.