[Users] backup virtual machine configuration
by Andrej Bagon
Dear users of ovirt.org,
we are making a virtual environment with oVirt. We are wondering if
there are any command line tools to make backups of configuration of
virtual machines. Like a tool to list all virtual machines in a cluster
and then make backup one by one into a file (and restore later). We know
that we can make backup of the whole postgresql database.
Thank you,
Best Regards,
Andrej
11 years, 8 months
[Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1
by Dead Horse
I have seen this question asked many times on this list and the spice-devel
list. Now having figured out how to make it work I will provide the answer
to the rest of the community.
*NOTE* this only applies to Windows/Internet Explorer users. There exists
no other option other than the html5 spice console (still beta/in
development) for windows users ATM. This will also only work with Internet
Explorer.
Basic Steps:
- Install an oVirt server.
- Add at least one node
- Setup storage/iso/export domains
Advanced steps
- Start by downloading: http://elmarco.fedorapeople.org/spice.cab
- Create a directory for it oVirt looks by default in /usr/share/spice
- Rename spice.cab to SpiceX.cab and copy it into /usr/share/spice
- Now edit /usr/share/ovirt-engine/engine.ear/root.war/WEB-INF and add the
following:
<!-- SpiceX.cab -->
<servlet>
<servlet-name>SpiceX.cab</servlet-name>
<servlet-class>org.ovirt.engine.core.FileServlet</servlet-class>
<init-param>
<param-name>type</param-name>
<param-value>application/octet-stream</param-value>
</init-param>
<init-param>
<param-name>file</param-name>
<param-value>/usr/share/spice/SpiceX.cab</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>SpiceX.cab</servlet-name>
<url-pattern>/spice/SpiceX.cab</url-pattern>
</servlet-mapping>
- Next create an html file within
/usr/share/ovirt-engine/engine.ear/root.war
- In the example below an html file called "spice.html"
- Copy/Paste the below into spice.html:
<!DOCTYPE html>
<html>
<head>
<title>SPICE Plugin Installer</title>
<script type="text/javascript">
function installSpice()
{
try {
document.getElementById('SpiceX').innerHTML = '<OBJECT id="SpiceX"
codebase="/spice/SpiceX.cab"
classid="clsid:ACD6D89C-938D-49B4-8E81-DDBD13F4B48A" width="0"
height="0"></OBJECT>';
} catch (ex) {
alert("Epic Fail!: " + ex.Description);
}
}
</script>
</head>
<body>
<p>
<p><b id='SpiceX'>Spice ActiveX Plugin</b> </p>
<button onclick='installSpice()'>Install Spice Plugin</button>
</p>
</body>
</html>
- Save the file
- You will now need to restart the ovirt-engine service EG: systemctl
restart ovirt-engine.service OR service ovirt-engine restart
- The installer page will now be available at http://<url to ovirt
server>/spice.html EX: http://ovirt.azeroth.net/spice.html
- Navigate to that page and click the install button
- IE will prompt you to deploy/install the SpiceX cabinet file
- It may gripe about an unsigned or untrusted source, acknowledge this an
proceed anyways
- If the install succeeds the text "Spice ActiveX Plugin" on the page will
change to blank (it's actually the plugin with null values)
- The console button in the user and webadmin portals will now launch the
new virt-viwer spice based console!
Happy Spice Consoling to your VM's from Windows!
*NOTE*
To uninstall the plugin:
- The below removes the add-on from IE (EG: removes knowledge of
"application/x-spice")
- pop a command terminal and type:
On Windows XP: regsvr32 /u "C:\Documents and Settings\Administrator\Local
Settings\Application Data\virt-viewer\bin\SpiceX.dll"
On Windows 7 regsvr32 /u C:\Documents and Settings\Administrator\Local
Settings\AppData\virt-viewer\bin\SpiceX.dll"
- Next we need to remove the rest of virt-viewer
- Go to add/remove programs and uninstall virt-viewer, this removes the
rest of virt-viewer from the system
11 years, 8 months
[Users] OpenLDAP Simple Authentication in Ovirt Engine
by Thierry Kauffmann
>> Hi,
>>
>> I am currently testing Ovirt 3.1 standalone on Fedora 17.
>>
>> Until now, I could only use the default user admin@internal.
>>
>> Our Directory at the University is OpenLDAP. We use it for authentication
>> WITHOUT Kerberos : Simple authentication.
>>
>> I wonder how to use this backend to authenticate users and manage groups
>> in Ovirt.
>>
>> Has anyone already set this up ?
>> How to configure Ovirt to use Simple Authentication (No Kerberos).
>>
>> Cheers,
>>
>> --
>> Thierry Kauffmann
>> Chef du Service Informatique // Facult? des Sciences // Universit? de
>> Montpellier 2
>>
>> [image: SIF - Service Informatique de la Facult? des Sciences]<http://sif.info-ufr.univ-montp2.fr/> [image:
>> UM2 - Universit? de Montpellier 2] <http://www.univ-montp2.fr/> Service
>> informatique de la Facult? des Sciences (SIF)
>> Universit? de Montpellier 2
>> CC437 // Place Eug?ne Bataillon // 34095 Montpellier Cedex 5
>>
>> T?l : 04 67 14 31 58
>> email : thierry.kauffmann(a)univ-montp2.fr
>> web : http://sif.info-ufr.univ-montp2.fr/
>> http://www.fdsweb.univ-montp2.fr/
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> Hi,
>
> This is a response from an older thread from Yair Zaslavsky:
>
> " there is no code allowing to add simple-authentication domains to
> Manage-Domains.
> In the past we did have the ability to do that, but there are several
> problematic issues."
>
> Best regards,
Hi,
correct-me if I am wrong but this wiki page
(http://www.ovirt.org/DomainInfrastructure) states clearly :
> 1. Authenticating Active Directory, IPA and RHDS using either simple
> or gssapi authentication
> 2. Querying the directory using the LDAP protocol
> 3. Auto deducing the LDAP provider type
> 4. Easily adding new LDAP provider types
> 5. Easily adding new query types
>
So what ?
--
signature-TK Thierry Kauffmann
Chef du Service Informatique // Faculté des Sciences // Université de
Montpellier 2
SIF - Service Informatique de la Faculté des Sciences
<http://sif.info-ufr.univ-montp2.fr/> UM2 - Université de Montpellier 2
<http://www.univ-montp2.fr/> Service informatique de la Faculté des
Sciences (SIF)
Université de Montpellier 2
CC437 // Place Eugène Bataillon // 34095 Montpellier Cedex 5
Tél : 04 67 14 31 58
email : thierry.kauffmann(a)univ-montp2.fr
<mailto:thierry.kauffmann@univ-montp2.fr>
web : http://sif.info-ufr.univ-montp2.fr/
http://www.fdsweb.univ-montp2.fr/
11 years, 8 months
[Users] iSCSI multipath with EqualLogic SAN
by Baptiste AGASSE
Hi all,
I'm testing ovirt 3.1 on centos boxes. I setup ovirt management node and 4 vdsm hosts. vdsm hosts have 2 nics on the SAN subnet. When i create a iscsi storage domain, it use only one of the two nics on the SAN network (showed with iscsiadm -m session on vdsm nodes). Does ovirt support multiples nics on the same subnet for iscsi SAN connection ?
Have a nice day.
Regards.
Baptiste.
11 years, 8 months
[Users] UI Plugin iframe dialogs
by René Koch (ovido)
Hi,
I'm still working on my Nagios integration plugin and came across a
limitation of the UI plugin framework caused by iframes.
UI framework creates an iframe for each plugin, so the plugin code is
separated from the main oVirt webadmin code (and other plugins). When
creating a new (big) jQuery dialog in an sub tab-iframe (sub tab of
selected vm or host) it can't be displayed without scrolling in the sub
tab or resizing the sub tab (that's clear as it's displayed in an too
small iframe).
So it would be great if it would be possible to display dialogs in the
middle of the main windows and overlap the iframe (don't know if this is
possible). In short terms I want to create a dialog which behaves like
e.g. the "Setup Host Networks" or "Add Permission to User" dialogs ->
click on a link in the plugin iframe and dialog opens in the middle of
the website not the middle of the iframe.
What I found out so far is that:
1. I must be aware of the same origin policy (that's no problem)
2. I need to put my jQuery-dialog-code in the main oVirt windows and
then I can call it from within the iframe (that's my problem)
So my questions are:
Is it possible to place code outside of the iframe?
If not - are there plans to allow this in future releases?
Or maybe is there a workaround?
Thanks a lot,
René
11 years, 8 months
Re: [Users] Fedora 18 host instalaltion failed: Command returned failure code 1 during ssh session - Cannot locate gluster packages
by Alon Bar-Lev
Thanks,
Did you run this on the same host you experienced the problem?
I don't understand the difference between the failure of deployment and the success of this script... the vdsm-gluster package was found.
----- Original Message -----
> From: "Dennis Böck" <dennis(a)webdienstleistungen.com>
> To: "Alon Bar-Lev" <alonbl(a)redhat.com>
> Sent: Wednesday, February 27, 2013 9:55:29 AM
> Subject: AW: AW: AW: [Users] Fedora 18 host instalaltion failed: Command returned failure code 1 during ssh session -
> Cannot locate gluster packages
>
> /tmp/miniyum.log was 0 Byte.
> But attached you find the output of miniyum.py.
> Hope it helps.
>
> ________________________________________
> Von: Alon Bar-Lev [alonbl(a)redhat.com]
> Gesendet: Dienstag, 26. Februar 2013 18:47
> An: Dennis Böck
> Betreff: Re: AW: AW: [Users] Fedora 18 host instalaltion failed:
> Command returned failure code 1 during ssh session - Cannot locate
> gluster packages
>
> Can you please run the attached script?
> Send me the output and /tmp/miniyum.log
>
> ----- Original Message -----
> > From: "Dennis Böck" <dennis(a)webdienstleistungen.com>
> > To: "Alon Bar-Lev" <alonbl(a)redhat.com>
> > Sent: Tuesday, February 26, 2013 7:38:36 PM
> > Subject: AW: AW: [Users] Fedora 18 host instalaltion failed:
> > Command returned failure code 1 during ssh session -
> > Cannot locate gluster packages
> >
> > Output of # yum search vdsm-gluster:
> > Loaded plugins:....
> > vdsm-gluster.noarch : Gluster Plugin for VDSM
> > ....use "search all" for everything.
> >
> > ________________________________________
> > Von: Alon Bar-Lev [alonbl(a)redhat.com]
> > Gesendet: Dienstag, 26. Februar 2013 18:32
> > An: Dennis Böck
> > Betreff: Re: AW: [Users] Fedora 18 host instalaltion failed:
> > Command
> > returned failure code 1 during ssh session - Cannot locate gluster
> > packages
> >
> > And what is the output of:
> >
> > # yum search vdsm-gluster
> >
> > ----- Original Message -----
> > > From: "Dennis Böck" <dennis(a)webdienstleistungen.com>
> > > To: "Alon Bar-Lev" <alonbl(a)redhat.com>
> > > Sent: Tuesday, February 26, 2013 7:14:12 PM
> > > Subject: AW: [Users] Fedora 18 host instalaltion failed: Command
> > > returned failure code 1 during ssh session - Cannot
> > > locate gluster packages
> > >
> > > On the machine I checked: yum install vdsm-gluster
> > > Output:
> > > Package vdsm-gluster-4.10.3-8.fc18.noarch already installed and
> > > latest version
> > > So it seems to me that the error has a different reason.
> > >
> > > ________________________________________
> > > Von: Alon Bar-Lev [alonbl(a)redhat.com]
> > > Gesendet: Dienstag, 26. Februar 2013 16:25
> > > An: Dennis Böck
> > > Cc: users(a)oVirt.org
> > > Betreff: Re: [Users] Fedora 18 host instalaltion failed: Command
> > > returned failure code 1 during ssh session - Cannot locate
> > > gluster
> > > packages
> > >
> > > You chose to install gluster feature enabled, while vdsm-gluster
> > > package is unavailable via yum.
> > >
> > > ----- Original Message -----
> > > > From: "Dennis Böck" <dennis(a)webdienstleistungen.com>
> > > > To: "users(a)oVirt.org" <users(a)ovirt.org>
> > > > Sent: Tuesday, February 26, 2013 5:21:53 PM
> > > > Subject: [Users] Fedora 18 host instalaltion failed: Command
> > > > returned failure code 1 during ssh session - Cannot
> > > > locate gluster packages
> > > >
> > > > Dear oVirt-Group,
> > > >
> > > > I tried to install a Fedora 18 host as an oVirt 3.2 node via
> > > > the
> > > > web
> > > > interface.
> > > > Shortly after starting the installation the error message:
> > > > "Host ovirt1 installation failed. Command returned failure code
> > > > 1
> > > > during SSH session 'root(a)192.168.137.135';
> > > > In the corresponding host-deploy log, the following error is
> > > > written:
> > > > otopi.context context._executeMethod:139 Failed to execute
> > > > stage
> > > > 'Setup validation': Cannot locate gluster packages, possible
> > > > cause
> > > > is incorrect channels.
> > > > The log file is attached.
> > > > Does anyone have an idea?
> > > >
> > > > Best regards
> > > > Dennis
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users(a)ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > >
> >
11 years, 8 months
[Users] ovirt 3.2 networking setup problems
by Yuriy Demchenko
Hi,
I'm testing ovirt 3.2 on centos 6.3 (from dreyou repo) and have a
problems setting up networks:
1.
- clean install of ovirt-engine, added a host (6 NICs, only 1 configured
with static ip before adding it to ovirt)
- set up bonding for ovirtmgmt from 2 NICs - em1+em2
- set up 2 additional networks ("trunk" with no vlanid, "vlan50" with
vlanid=50), attached it to cluster
- trying to set up host networks - assigned "trunk" to one of unused
NIC, "vlan50" to another, boot protocol in both - "none"
and when i'm trying to apply changes - i get "Specified netmask or
gateway but not ip"
What is wrong? why the hell it thinks i pass some netmask/gw in first
place? I dont need any ip configuration on this networks, i'll be using
them only for VM's
2.
when i'm trying to team NIC's in bonds, i've got choice from only 3
bonds: "bond0", "bond1", "bond4" - why is that list is fixed?
If I've allready defined bond0+bond1 prior adding host to ovirt (via
kickstart), even if they aren't used - choice list in ovirt host
networks is short to "bond4" and trying to bond more interfaces ends up
with "there no bonds available"
Please help me figure this issues out
ovirt-engine.log:
> 2013-02-26 11:42:45,772 INFO
> [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-2) [800e96b] Running command:
> SetupNetworksCommand internal: false. Entities affected : ID:
> d1181ea2-936b-498d-be3d-9ce16aacfb19 Type: VDS
> 2013-02-26 11:42:45,781 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-2) [800e96b] START,
> SetupNetworksVDSCommand(HostName = its-host2, HostId =
> d1181ea2-936b-498d-be3d-9ce16aacfb19, force=false,
> checkConnectivity=true, conectivityTimeout=120,
> networks=[trunk {id=6a48a2c6-a028-4825-8fcf-cbc869dc5c76,
> description=null, subnet=null, gateway=null, type=null, vlanId=null,
> stp=false, dataCenterId=5849b030-626e-47cb-ad90-3ce782d831b3, mtu=0,
> vmNetwork=true, cluster=NetworkCluster {id={clusterId=null,
> networkId=null}, status=NON_OPERATIONAL, display=false, required=true}},
> vlan50 {id=4f1564e4-0ba2-454c-a511-9566a1bf50a9,
> description=vm vlan50, subnet=null, gateway=null, type=null,
> vlanId=50, stp=false,
> dataCenterId=5849b030-626e-47cb-ad90-3ce782d831b3, mtu=0,
> vmNetwork=true, cluster=NetworkCluster {id={clusterId=null,
> networkId=null}, status=NON_OPERATIONAL, display=false, required=true}}],
> bonds=[],
> interfaces=[bond0 {id=61d4d61f-45a2-4ac4-84e8-f60077831603,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=bond0,
> macAddress=90:b1:1c:ac:1b:0e, networkName=ovirtmgmt,
> bondOptions=mode=6, bootProtocol=STATIC_IP, address=192.168.10.132,
> subnet=255.255.255.0, gateway=192.168.10.1, mtu=1500, bridged=true,
> type=2, networkImplementationDetails={inSync=true, managed=true}},
> p3p4 {id=9f584135-7c20-459b-8582-4c4c2568d6ea,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=p3p4,
> macAddress=90:b1:1c:ac:1b:15, networkName=null, bondName=null,
> bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=0, type=0, networkImplementationDetails=null},
> em2 {id=40d2f7e3-8b34-4211-9009-101653947ef3,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=em2,
> macAddress=90:B1:1C:AC:1B:11, networkName=null, bondName=bond0,
> bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=10000, type=0, networkImplementationDetails=null},
> p3p3 {id=c7e50eca-c14e-4e9d-8edc-f4ab0fbfa4e1,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=p3p3,
> macAddress=90:b1:1c:ac:1b:14, networkName=null, bondName=null,
> bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=0, type=0, networkImplementationDetails=null},
> em1 {id=8481bb51-9020-463f-b6d6-af0770d3f3b0,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=em1,
> macAddress=90:B1:1C:AC:1B:0E, networkName=null, bondName=bond0,
> bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=10000, type=0, networkImplementationDetails=null},
> p3p2 {id=5a97a377-775e-4ab9-aa01-0bd0d8cdcca1,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=p3p2,
> macAddress=90:b1:1c:ac:1b:13, networkName=null, bondName=null,
> bootProtocol=NONE, address=, subnet=, gateway=null, mtu=1500,
> bridged=false, speed=0, type=0, networkImplementationDetails=null},
> p3p1 {id=6554620d-5e30-433b-9f8d-d4828fec5ae0,
> vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19, name=p3p1,
> macAddress=90:b1:1c:ac:1b:12, networkName=trunk, bondName=null,
> bootProtocol=NONE, address=, subnet=, gateway=null, mtu=0,
> bridged=true, speed=0, type=0, networkImplementationDetails=null},
> p3p2.50 {id=null, vdsId=d1181ea2-936b-498d-be3d-9ce16aacfb19,
> macAddress=null, networkName=vlan50, vlanId=50, bonded=null,
> bondName=null, bondOptions=null, bootProtocol=NONE, address=null,
> subnet=null, gateway=null, mtu=0, bridged=true, speed=null, type=0,
> networkImplementationDetails=null}],
> removedNetworks=[],
> removedBonds=[]), log id: 34ba6cbd
> 2013-02-26 11:42:45,858 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-2) [800e96b] FINISH, SetupNetworksVDSCommand, log
> id: 34ba6cbd
> 2013-02-26 11:42:46,375 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
> (ajp--127.0.0.1-8702-2) [800e96b]
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
> VDSGenericException: VDSNetworkException: Specified netmask or gateway
> but not ip
> 2013-02-26 11:42:46,384 ERROR
> [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
> (ajp--127.0.0.1-8702-2) [800e96b] Command SetupNetworksVDS execution
> failed. Exception: VDSNetworkException: VDSGenericException:
> VDSNetworkException: Specified netmask or gateway but not ip
> 2013-02-26 11:42:46,391 ERROR
> [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-2) [800e96b] Command
> org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw Vdc
> Bll exception. With error message VdcBLLException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
> VDSGenericException: VDSNetworkException: Specified netmask or gateway
> but not ip
>
>
vdsm.log on host:
> Thread-403::DEBUG::2013-02-26
> 11:42:45,863::BindingXMLRPC::913::vds::(wrapper) client
> [192.168.10.147]::call setupNetworks with ({'vlan50': {'nic': 'p3p2',
> 'vlan': '50', 'STP': 'no', 'bridged': 'true'}, 'trunk': {'nic':
> 'p3p1', 'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck':
> 'true', 'connectivityTimeout': 120}) {}
> Thread-404::DEBUG::2013-02-26
> 11:42:45,872::BindingXMLRPC::913::vds::(wrapper) client
> [192.168.10.147]::call ping with () {}
> Thread-404::DEBUG::2013-02-26
> 11:42:45,872::BindingXMLRPC::920::vds::(wrapper) return ping with
> {'status': {'message': 'Done', 'code': 0}}
> MainProcess|Thread-403::DEBUG::2013-02-26
> 11:42:45,923::configNetwork::1310::setupNetworks::(setupNetworks)
> Setting up network according to configuration: networks:{'vlan50':
> {'nic': 'p3p2', 'vlan': '50', 'STP': 'no', 'bridged': 'true'},
> 'trunk': {'nic': 'p3p1', 'STP': 'no', 'bridged': 'true'}},
> bondings:{}, options:{'connectivityCheck': 'true',
> 'connectivityTimeout': 120}
> MainProcess|Thread-403::DEBUG::2013-02-26
> 11:42:45,923::configNetwork::1314::root::(setupNetworks) Validating
> configuration
> MainProcess|Thread-403::DEBUG::2013-02-26
> 11:42:45,972::configNetwork::1317::setupNetworks::(setupNetworks)
> Applying...
> MainProcess|Thread-403::DEBUG::2013-02-26
> 11:42:46,130::configNetwork::1362::setupNetworks::(setupNetworks)
> Adding network 'vlan50'
> MainProcess|Thread-403::DEBUG::2013-02-26
> 11:42:46,183::configNetwork::887::root::(addNetwork) validating network...
> MainProcess|Thread-403::ERROR::2013-02-26
> 11:42:46,183::configNetwork::1382::setupNetworks::(setupNetworks) (22,
> 'Specified netmask or gateway but not ip')
> Traceback (most recent call last):
> File "/usr/share/vdsm/configNetwork.py", line 1364, in setupNetworks
> implicitBonding=True, **d)
> File "/usr/share/vdsm/configNetwork.py", line 891, in addNetwork
> bridged=bridged, **options)
> File "/usr/share/vdsm/configNetwork.py", line 815, in
> _addNetworkValidation
> "Specified netmask or gateway but not ip")
> ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')
> MainProcess|Thread-403::ERROR::2013-02-26
> 11:42:46,191::supervdsmServer::80::SuperVdsm.ServerCallback::(wrapper)
> Error in setupNetworks
> Traceback (most recent call last):
> File "/usr/share/vdsm/supervdsmServer.py", line 78, in wrapper
> return func(*args, **kwargs)
> File "/usr/share/vdsm/supervdsmServer.py", line 177, in setupNetworks
> return configNetwork.setupNetworks(networks, bondings, **options)
> File "/usr/share/vdsm/configNetwork.py", line 1364, in setupNetworks
> implicitBonding=True, **d)
> File "/usr/share/vdsm/configNetwork.py", line 891, in addNetwork
> bridged=bridged, **options)
> File "/usr/share/vdsm/configNetwork.py", line 815, in
> _addNetworkValidation
> "Specified netmask or gateway but not ip")
> ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')
> Thread-403::ERROR::2013-02-26
> 11:42:46,192::API::1217::vds::(setupNetworks) Specified netmask or
> gateway but not ip
> Traceback (most recent call last):
> File "/usr/share/vdsm/API.py", line 1215, in setupNetworks
> supervdsm.getProxy().setupNetworks(networks, bondings, options)
> File "/usr/share/vdsm/supervdsm.py", line 81, in __call__
> return callMethod()
> File "/usr/share/vdsm/supervdsm.py", line 72, in <lambda>
> **kwargs)
> File "<string>", line 2, in setupNetworks
> File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740,
> in _callmethod
> raise convert_to_error(kind, result)
> ConfigNetworkError: (22, 'Specified netmask or gateway but not ip')
> Thread-403::DEBUG::2013-02-26
> 11:42:46,192::BindingXMLRPC::920::vds::(wrapper) return setupNetworks
> with {'status': {'message': 'Specified netmask or gateway but not ip',
> 'code': 22}}
--
Yuriy Demchenko
11 years, 8 months
[Users] ovirt / 2 iscsi storage domains / same LUN IDs
by Alex Leonhardt
Hi there,
I was doing some testing around ovirt and iscsi and found an issue where as
when you use "dd" to create "backing-stores" for iscsi and you point ovirt
to it to discover & login, it thinks the LUN ID is the same although the
target is different and adds additional paths to the config
(automagically?) bringing down the iSCSI storage domain.
See attached screenshot of what I got when trying to a "new iscsi san
storage domain" to ovirt. The Storage Domain is now down and I cannot get
rid of the config (???) how do I force it to logout of the targets ??
Also, anyone know how to deal with the duplicate LUN ID issue ?
Thanks
Alex
--
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
11 years, 8 months
Re: [Users] ovirt reporting wrong cpu family
by Adrian Gibanel
I happen to have the same problem in oVirt 3.1 on Fedora.
Any workaround?
$ sudo vdsClient -s 0 getVdsCaps | grep -i flags ; echo -e -n "\n" ;cat /proc/cpuinfo | grep "model name" | head -n 1
cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,popcnt,tsc_deadline_timer,xsave,avx,lahf_lm,arat,epb,xsaveopt,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,model_coreduo,model_Conroe
model name : Intel(R) Core(TM) i3-2130 CPU @ 3.40GHz
$ rpm -qa | grep -i ovirt ; rpm -qa | grep -i vdsm
ovirt-release-fedora-5-2.noarch
vdsm-python-4.10.0-10.fc17.x86_64
vdsm-cli-4.10.0-10.fc17.noarch
vdsm-4.10.0-10.fc17.x86_64
vdsm-xmlrpc-4.10.0-10.fc17.noarch
----- Mensaje original -----
> De: "Jithin Raju" <rajujith(a)gmail.com>
> Para: "Itamar Heim" <iheim(a)redhat.com>
> CC: users(a)ovirt.org
> Enviados: Jueves, 3 de Enero 2013 4:49:34
> Asunto: Re: [Users] ovirt reporting wrong cpu family
> Hi ,
> Please find the requested flags below:
> [root@fig /]# vdsClient -s 0 getVdsCaps | grep -i flags
> cpuFlags =
> fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,dca,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,lahf_lm,ida,arat,epb,xsaveopt,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,model_coreduo,model_Conroe
> Thanks,
> Jithin
> On Thu, Jan 3, 2013 at 2:03 AM, Itamar Heim < iheim(a)redhat.com >
> wrote:
> > On 01/02/2013 03:37 PM, Jithin Raju wrote:
>
> > > Hi,
> >
>
> > > I have installed ovirt 3.1 on fedora 17.
> >
>
> > > I added my node wtih intel E5-2620 (sandy bridge) to cluster.
> >
>
> > > Even though model is detected properly,CPU name is shown as Intel
> > > Conroe
> >
>
> > > family instead of sandy bridge.
> >
>
> > > Since my cluster is configured as sandy bridge i got this error:
> >
>
> > > Host fig moved to Non-Operational state as host does not meet the
> >
>
> > > cluster's minimum CPU level. Missing CPU features :
> > > model_SandyBridge.
> >
>
> > > as per cpuinfo :model name : Intel(R) Xeon(R) CPU E5-2620 0 @
> > > 2.00GHz.
> >
>
> > > i moved the cluster to conroe ,got the host up.
> >
>
> > > reference:
> >
>
> > > http://en.wikipedia.org/wiki/ Sandy_Bridge_( microarchitecture)
> >
>
> > > http://ark.intel.com/products/ 64594
> >
>
> > > PFA for screenshot.
> >
>
> > > Thanks,
> >
>
> > > Jithin
> >
>
--
--
Adrián Gibanel
I.T. Manager
+34 675 683 301
www.btactic.com
Ens podeu seguir a/Nos podeis seguir en:
i
Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El medio ambiente es cosa de todos.
AVIS:
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge per error, us agrairem que ho feu saber immediatament al remitent i que procediu a destruir el missatge .
AVISO:
El contenido de este mensaje y de sus anexos es confidencial. Si no es el destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o copiarlo sin tener la autorización correspondiente. Si han recibido este mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al remitente y que procedan a destruir el mensaje .
11 years, 8 months