Re: [ovirt-users] Building oVirt engine on Debian

2017-05-26 Thread shubham dubey
 I have forgotten that you are doing it in debian. Maybe in case of debian
the error can there for some other reason so I leave it for others to
answer. But one more thing you can try is to decrease your swappiness value
to 10. If you have enough ram then this will at least make your system
freeze less.


Regards,
Shubham

On 27 May 2017 7:46 a.m., "Leni Kadali Mutungi" 
wrote:

> On 5/25/17, shubham dubey  wrote:
> > Hi,
> > I got the same problem once and it seems to be related to memory.
> > So first thing is make sure you have at least 4 gb of ram because thats
> the
> > minimum requirement for ovirt-engine to run.
> > If with 4gb+ ram you still getting error like this then you must have no
> > swap
> > memory turn on. In that case create a swap partition and turn on using
> > 'swapon /dev/swap-partition'.
> I have an existing swap partition. I turned swap off and on again,
> then attempted the build again. No luck.
> > If the error is still there then may be jvm is not able to access the
> > memory at
> > some place due to selinux. So disable the selinux then try again.
> Hmmm... I must say I'm not sure I use selinux. I use Debian; if I were
> using a RHEL-based distro, then I think this would be the case.
>
> --
> - Warm regards
> Leni Kadali Mutungi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Building oVirt engine on Debian

2017-05-26 Thread Leni Kadali Mutungi
On 5/25/17, shubham dubey  wrote:
> Hi,
> I got the same problem once and it seems to be related to memory.
> So first thing is make sure you have at least 4 gb of ram because thats the
> minimum requirement for ovirt-engine to run.
> If with 4gb+ ram you still getting error like this then you must have no
> swap
> memory turn on. In that case create a swap partition and turn on using
> 'swapon /dev/swap-partition'.
I have an existing swap partition. I turned swap off and on again,
then attempted the build again. No luck.
> If the error is still there then may be jvm is not able to access the
> memory at
> some place due to selinux. So disable the selinux then try again.
Hmmm... I must say I'm not sure I use selinux. I use Debian; if I were
using a RHEL-based distro, then I think this would be the case.

-- 
- Warm regards
Leni Kadali Mutungi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Building oVirt engine on Debian

2017-05-26 Thread Leni Kadali Mutungi
On 5/25/17, Yedidyah Bar David  wrote:
> On Thu, May 25, 2017 at 6:05 AM, Leni Kadali Mutungi
>  wrote:
>> Ran `make clean install-dev` and the process freezes at:
>> [INFO] weaveinfo Join point 'constructor-execution(void
>> com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.(com.google.gwt.dev.jjs.ast.JProgram))'
>> in Type 'com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer'
>> (ControlFlowAnalyzer.java:905) advised by after advice from
>> 'org.ovirt.engine.ui.gwtaop.DontPrune' (DontPrune.java)
>>
>> My computer freezes at that point and I have to power it off. I tried
>> doing it in the terminal without the Desktop Environment and I get the
>> same result. The component being built is the UI Common Web. Advice on
>> what to do next is appreciated.
>
> How long did you wait?
10-15 minutes. I tried 30 minutes at one point.
> Perhaps you run out of memory? How much do you have?
8GB of RAM, 16GB of swap
> Was the kernel not responding either?
I have no idea; have never been in a situation where the kernel
doesn't respond. When I was running the build in a virtual terminal, I
would become unable to access the other terminals using Ctrl-Alt-F1 to
F6 after I attempted to access the GUI on F7.
> You can search the net for general debugging techniques for such
> occasions. E.g. you can (beforehand):
> echo 1 > /proc/sys/kernel/sysrq
> Then you can press Alt-SysRq-m to see (in text console) memory status
> and Alt-SysRq-t to see some information about each running task.
I'll try this, thanks.
> Did you increase number of max open file descriptors?
No I didn't. Will also do.
> Building the gwt ui is a very heavy process.
> You can build for firefox only by passing BUILD_ALL_USER_AGENTS=0,
> or not build it at all by passing BUILD_GWT=0.
Will try this as a last resort.

-- 
- Warm regards
Leni Kadali Mutungi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] KVM Import with Thin Provisioning

2017-05-26 Thread Alan Griffiths
Hi,

I don't seem to be able create thin provision disks when importing from
KVM. Once import is complete the disk allocation policy is reported as
thin, but the actual size is in fact slightly larger than the virtual size.

For example, original qcow2 file size - 6G. Virtual size - 1024G. Imported
actual size (according to Engine GUI) 1126G.

Is this a known issue?

Running 4.0.4.

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can I upload an ISO image using the web portal

2017-05-26 Thread Yaniv Kaul
On May 26, 2017 4:48 PM, "Dan Sullivan"  wrote:

Here is my configuration and the steps I have tried.

oVirt engine version: 3.6.6.2-1.el7.centos
Hosted engine on a Dell 610 server
Default data center
Default cluster
hosts: hosted_engine_1
network: ovirtmgmt (default)
3 storage domains - all hosted locally and served via NFS (400+GB free on
partition)
hosted_storage Type=data
ISO_storage type=ISO
local_vm_storage type=data(master)
Two VMs (not including engine host)
HostedEngine (hosted by hosted_engine_1) FQDN=localhost.localdomain.
localdomain


That's not an ideal host name. Is that really the name?

vm_one (hosted by hosted_engine_1)
vm_two (hosted by hosted_engine_1)
No pools
One blank template
Two users
admin (admin@internal-authz, internal-authz, *)
everyone (, , *)

I first try and list the domains

ovirt-iso-uploader list
Please provide the REST API username for oVirt Engine (CTRL+D to abort):
admin@internal-authz
Please provide the REST API password for the admin@internal-authz oVirt
Engine user (CTRL+D to abort):
ERROR: Problem connecting to the REST API at https://localhost:443/api
[ERROR]::oVirt API connection failure, (7, 'Failed connect to
localhost:443; Connection refused')


How do you connect to the UI for example?
The tool fails to even connect to the engine. Aa I assume it is up and
running, I reckon it's some wrong name resolution.
Y.



I've tried various permutations of this command with similar results.  I've
added -u with admin, admin@internal, admin@internal-authz,
admin@internal-authz.local... I've added -r with various permutations of
the host info. I've added -i ISO_storage, etc.

Any help or suggestions would be appreciated.

Dan

On 05/25/2017 04:24 PM, Yaniv Kaul wrote:



On Thu, May 25, 2017 at 7:03 PM, Dan Sullivan  wrote:

> I'm trying to upload a ISO image that I have and keep getting a connection
> refused erro using ovirt-iso-uploader.  I was wondering if there was a way
> to use the web admin portal to to the upload?
>

Not yet.
But we'd be happy to take a look at the error and see what the issue is.
Y.


>
> Dan
> ___
> 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] Can I upload an ISO image using the web portal

2017-05-26 Thread Dan Sullivan

Here is my configuration and the steps I have tried.

oVirt engine version: 3.6.6.2-1.el7.centos
Hosted engine on a Dell 610 server
Default data center
Default cluster
hosts: hosted_engine_1
network: ovirtmgmt (default)
3 storage domains - all hosted locally and served via NFS (400+GB free 
on partition)

hosted_storage Type=data
ISO_storage type=ISO
local_vm_storage type=data(master)
Two VMs (not including engine host)
HostedEngine(hosted by 
hosted_engine_1)FQDN=localhost.localdomain.localdomain

vm_one (hosted by hosted_engine_1)
vm_two (hosted by hosted_engine_1)
No pools
One blank template
Two users
admin (admin@internal-authz, internal-authz, *)
everyone (, , *)

I first try and list the domains

ovirt-iso-uploader list
Please provide the REST API username for oVirt Engine (CTRL+D to abort): 
admin@internal-authz
Please provide the REST API password for the admin@internal-authz oVirt 
Engine user (CTRL+D to abort):

ERROR: Problem connecting to the REST API at https://localhost:443/api
[ERROR]::oVirt API connection failure, (7, 'Failed connect to 
localhost:443; Connection refused')


I've tried various permutations of this command with similar results.  
I've added -u with admin, admin@internal, admin@internal-authz, 
admin@internal-authz.local... I've added -r with various permutations of 
the host info. I've added -i ISO_storage, etc.


Any help or suggestions would be appreciated.

Dan

On 05/25/2017 04:24 PM, Yaniv Kaul wrote:



On Thu, May 25, 2017 at 7:03 PM, Dan Sullivan > wrote:


I'm trying to upload a ISO image that I have and keep getting a
connection refused erro using ovirt-iso-uploader.  I was wondering
if there was a way to use the web admin portal to to the upload?


Not yet.
But we'd be happy to take a look at the error and see what the issue is.
Y.


Dan
___
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] Issue with deploy HostedEngine on second host with Ovirt 4.1

2017-05-26 Thread Simone Tiraboschi
Are the hosted-engine storage domain and the engine VM correctly visible in
the engine?

On Fri, May 26, 2017 at 2:50 PM, a...@rt14.ru  wrote:

> probably error you noticed is absent
>
> zcat engine.log-20170525.gz | grep "ERROR [org.ovirt.engine.core.bll.
> hostedengine.HostedEngineConfigFetcher]"
>
>
> and error noticed in bug description also is absent
>
> zcat engine.log-20170525.gz | grep "TLS issue"
>
>
>
>
>
>
> 26.05.2017, 20:41, "Simone Tiraboschi" :
>
> Ok,
> I see that the engine is trying to deploy the second host as an
> hosted-engine one but the engine sends only HOSTED_ENGINE_CONFIG/host_id=
> str:'2'
> while all the other values are missing.
>
> 2017-05-25 02:40:31 DEBUG otopi.context context.dumpEnvironment:770 ENV
> HOSTED_ENGINE/action=str:'deploy'
> 2017-05-25 02:40:31 DEBUG otopi.context context.dumpEnvironment:770 ENV
> HOSTED_ENGINE_CONFIG/host_id=str:'2'
>
> I think you hit this bug: https://bugzilla.redhat.
> com/show_bug.cgi?id=1414696
>
> Could you please check your engine logs for 'ERROR
> [org.ovirt.engine.core.bll.hostedengine.HostedEngineConfigFetcher]'?
>
>
> On Fri, May 26, 2017 at 12:47 PM,  wrote:
>
> Hi, Simone!
>
>
> done
>
> 25.05.2017, 17:18, "Simone Tiraboschi" :
>
>
>
> On Wed, May 24, 2017 at 8:10 PM,  wrote:
>
> Hi everybody!
> I get some issue with HA configuration of HostedEngine:
>
> I am trying to deploy it to second host:
>
> 1. Set maintenance for host
> 2. Do reinstall with HostedEngine Deploy option
>
> Installation finished successfully, I did't observe any errors in logs,
> but host did't became HostedEngine ready.
>
>
> could you please attach your host-deploy logs?
>
>
>
>
>
> So I want to switch Host with HE to Maintenance mode and won't get this
> message:
>
> "Error while executing action: Cannot switch the Host(s) to Maintenance
> mode.
> There are no available hosts capable of running the engine VM."
>
> Could you give me steps to resolve this problem?
>
> ___
> 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] VDSM fails after a while

2017-05-26 Thread nicolas

El 2017-05-26 12:00, nico...@devels.es escribió:

El 2017-05-26 11:24, Michal Skrivanek escribió:

On 26 May 2017, at 12:07, nico...@devels.es wrote:

Hi,

We recently upgraded vdsm on a host using the webadmin. After 
activating it, it kept failing so we tried to activate it back via 
'systemctl start vdsmd'.


# systemctl start vdsmd
Job for vdsmd.service failed because the control process exited with 
error code. See "systemctl status vdsmd.service" and "journalctl -xe" 
for details.


Having a look at the status of the process I see:

# systemctl status vdsmd
● vdsmd.service - Virtual Desktop Server Manager
  Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; 
vendor preset: enabled)
  Active: failed (Result: start-limit) since vie 2017-05-26 11:02:41 
WEST; 14s ago
 Process: 25018 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
--pre-start (code=exited, status=1/FAILURE)


may 26 11:02:40 systemd[1]: Failed to start Virtual Desktop Server 
Manager.

may 26 11:02:40 systemd[1]: Unit vdsmd.service entered failed state.
may 26 11:02:40 systemd[1]: vdsmd.service failed.
may 26 11:02:41 systemd[1]: vdsmd.service holdoff time over, 
scheduling restart.
may 26 11:02:41 systemd[1]: start request repeated too quickly for 
vdsmd.service
may 26 11:02:41 systemd[1]: Failed to start Virtual Desktop Server 
Manager.

may 26 11:02:41 systemd[1]: Unit vdsmd.service entered failed state.
may 26 11:02:41 systemd[1]: vdsmd.service failed.

To check what happened I run the vdsm_init_common.sh script by myself 
and saw:


# /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
vdsm: Running mkdirs
vdsm: Running configure_coredump
vdsm: Running configure_vdsm_logs
vdsm: Running wait_for_network
vdsm: Running run_init_hooks
vdsm: Running upgraded_version_check
vdsm: Running check_is_configured
Current revision of multipath.conf detected, preserving
lvm is configured for vdsm
libvirt is not configured for vdsm yet
Modules sebool, passwd, libvirt are not configured


so when that happens, can you check the content of e.g.
/etc/libvirt/libvirtd.conf if it contains the vdsm config at the end?
Is it replaced by something you may run in your environment? Are there
other packages pending upgrade?



Ok, indeed Chef is doing weird things as even if the package is
installed, it's reinstalling it everytime it runs.



To be more specific, all our configuration is managed with Chef. Up 
until this vdsm version (4.19.15-1.el7.centos.x86_64), vdsm had a 
dependency to 'ntp'. As of now, the dependency was changed to chrony (a 
logical change BTW). So our chef configuration was forcing installing 
ntp, which uninstalled vdsm for dependencies and then it reinstalled 
vdsm, but unconfigured.


Thanks.

Regards.


Thanks!


Thanks,
michal


Error:

One of the modules is not configured to work with VDSM.
To configure the module use the following:
'vdsm-tool configure [--module module-name]'.

If all modules are not configured try to use:
'vdsm-tool configure --force'
(The force flag will stop the module's service and start it
afterwards automatically to load the new configuration.)


vdsm: stopped during execute check_is_configured task (task returned 
with error code 1).


-

I run the 'vdsm-tool configure --force' command, it ends successfully 
and after that I can start the vdsmd process. But... after a while it 
fails again and I need to re-run the same command all the time.


Is this a known bug? any temporary workaround?

Versions:

vdsm-4.19.15-1.el7.centos.x86_64
libvirt-2.0.0-10.el7_3.5.x86_64

Thanks.

Regards.


___
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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [ANN] oVirt 4.1.3 First Test Compose is now available

2017-05-26 Thread Sandro Bonazzola
The oVirt Project is pleased to announce the availability of the First
Test Compose of oVirt 4.1.3 for testing, as of May 26th, 2017

This is pre-release software. Please take a look at our community page[1]
to know how to ask questions and interact with developers and users.
All issues or bugs should be reported via oVirt Bugzilla[2].
This pre-release should not to be used in production.

This update is the first test compose of the third in a series of
stabilization updates to the 4.1 series.
4.1.3 brings more than 15 enhancements and more than 100 bugfixes,
including more than 50 high or urgent
severity fixes, on top of oVirt 4.1 series

This release is available now for:
* Fedora 24 (tech preview)
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.3 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.3 or later
* oVirt Node 4.1
* Fedora 24 (tech preview)

See the release notes draft [3] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance has not been composed
- oVirt Live has not been composed
- oVirt Node has not been composed
We are addressing compose issues for above components which are missing
ansible 2.3 and latest fluentd builds from CentOS SIGs.

Additional Resources:
* Read more about the oVirt 4.1.3 release highlights:
http://www.ovirt.org/release/4.1.3/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] https://www.ovirt.org/community/
[2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
[3] http://www.ovirt.org/release/4.1.3/

-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

TRIED. TESTED. TRUSTED. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Unable to add storage domains to Node Hosted Engine

2017-05-26 Thread Andy Gibbs
Hi,

I am trying to install a new server with oVirt.  I have previously had 
relatively good success with the all-in-one plugin on oVirt 3.6, but it is time 
to move to newer things and I am trying to get oVirt 4.1 installed on a clean 
platform.

I am unfortunately finding this very difficult and I hope someone here can help 
guide me in the right direction  :o)

My intention is to use oVirt Node as the base OS on the server, install Hosted 
Engine on it and also have the storage domains hosted on it too.

What I have achieved so far is...

1. Installed oVirt Node 4.1.2, generally using the default configuration
2. Changed the performance profile to "virtual-host" inside the web interface 
as per documentation suggestion
3. Created a new volume group, pool for thin volumes, and finally an 
XFS-formatted volume that mounts on /srv which will be used for the storage 
domain(s)
4. From the console on the node, I have created /srv/ovirt/data and 
/srv/ovirt/iso directories with ownership vdsm:kvm and access rights 0755, 
which I have then added to /etc/exports with the following configuration: 
rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36
5. When I install Hosted Engine from the Node web interface, I select NFS4 for 
the storage and provide the correct host:/path.  Other than that, and setting 
up static network details and email details, I follow the default prompts of 
the Hosted Engine setup.
6. The Hosted Engine setup seems to run through to completion, and I get a 
successfully installed message at the end
7. I open up the firewall on port 2049 for tcp and udp; this is done **after** 
the engine setup is complete since the setup procedure alters the firewall 
configuration and my modifications otherwise get lost.  I have confirmed that 
it is possible to mount these nfs shares both on the node itself and on the 
engine vm (once it is running).
8. I can log into the Hosted Engine web interface.

This is now where I run into problems.

The first problem is that no storage domains are registed, nor can I add any.  
I get warnings like "The hosted engine storage domain doesn't exist.  It will 
be imported automatically upon data center activation, which requires adding an 
initial storage domain to the data center".  However attempting to do so gives 
errors like: "VDSM server.domain command CreateStoragePoolVDS failed: Cannot 
acquire host id: (u'fcdee6d8-c6fc-45fb-a60c-1df4b298f75a', SanlockException(22, 
'Sanlock lockspace add failure', 'Invalid argument'))".  During Hosted Engine 
setup it seems that the /srv/ovirt/data storage domain is created, but I cannot 
import it.  I also tried to create a new storage domain at /srv/ovirt/iso and 
met with similar results: it creates it, but won't attach to it.

The next problem is that I can't restart the server from the Node web 
interface.  Clicking on the "Restart" Power Options button simply causes the 
whole system to hang.  It appears to shut down the Engine VM ok, it also 
terminates all ssh connections, but after that the console screen on the server 
just goes black and sits there.  You can still ping the server from the network 
but can't do anything or see anything.  Fortunately the Dell server has a 
remote console feature that enables me to manually restart the server, but this 
is not ideal at all.  This problem only occurs once the Hosted Engine is 
installed; before this is done, the "Restart" button works perfectly.

The final problem is that once the server has restarted, it takes about 10 
minutes before the Node starts the Hosted Engine.  Is this correct?  I would 
have thought that once the Node is up, its first responsibility would be to get 
the Hosted Engine up, but you can see from the dmesg output that on average 530 
seconds elapses before kvm is started.  Is there anything I can do to speed 
this up?

Any help would be gratefully received.  Or if anyone knows of a "oVirt for 
Dummies" (TM) style step-by-step installation guide that installed Node, Hosted 
Engine and the storage domains all on one machine, I would love to see that!!

Many thanks in advance!

Andy
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issue with deploy HostedEngine on second host with Ovirt 4.1

2017-05-26 Thread Simone Tiraboschi
Ok,
I see that the engine is trying to deploy the second host as an
hosted-engine one but the engine sends only
HOSTED_ENGINE_CONFIG/host_id=str:'2'
while all the other values are missing.

2017-05-25 02:40:31 DEBUG otopi.context context.dumpEnvironment:770 ENV
HOSTED_ENGINE/action=str:'deploy'
2017-05-25 02:40:31 DEBUG otopi.context context.dumpEnvironment:770 ENV
HOSTED_ENGINE_CONFIG/host_id=str:'2'

I think you hit this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1414696

Could you please check your engine logs for 'ERROR
[org.ovirt.engine.core.bll.hostedengine.HostedEngineConfigFetcher]'?


On Fri, May 26, 2017 at 12:47 PM,  wrote:

> Hi, Simone!
>
>
> done
>
> 25.05.2017, 17:18, "Simone Tiraboschi" :
>
>
>
> On Wed, May 24, 2017 at 8:10 PM,  wrote:
>
> Hi everybody!
> I get some issue with HA configuration of HostedEngine:
>
> I am trying to deploy it to second host:
>
> 1. Set maintenance for host
> 2. Do reinstall with HostedEngine Deploy option
>
> Installation finished successfully, I did't observe any errors in logs,
> but host did't became HostedEngine ready.
>
>
> could you please attach your host-deploy logs?
>
>
>
>
>
> So I want to switch Host with HE to Maintenance mode and won't get this
> message:
>
> "Error while executing action: Cannot switch the Host(s) to Maintenance
> mode.
> There are no available hosts capable of running the engine VM."
>
> Could you give me steps to resolve this problem?
>
> ___
> 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] vm has been paused due to unknown storage

2017-05-26 Thread suporte
Hi, 

I updated glusterfs: 
glusterfs-client-xlators-3.8.12-1.el7.x86_64 
glusterfs-cli-3.8.12-1.el7.x86_64 
glusterfs-api-3.8.12-1.el7.x86_64 
glusterfs-fuse-3.8.12-1.el7.x86_64 
glusterfs-server-3.8.12-1.el7.x86_64 
glusterfs-libs-3.8.12-1.el7.x86_64 
glusterfs-3.8.12-1.el7.x86_64 

Now I cannot add a volume disk preallocated, after a while it breaks. 

message log: 
May 26 11:18:16 node journal: vdsm root ERROR VM metrics collection 
failed#012Traceback (most recent call last):#012 File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 221, in 
send_metrics#012 diskinfo['readOps']#012KeyError: 'readOps' 

vdsm.log 
2017-05-26 11:18:16,715+0100 ERROR (periodic/3) [root] VM metrics collection 
failed (vmstats:264) 
2017-05-26 11:19:39,369+0100 ERROR (tasks/5) [storage.Volume] Unexpected error 
(fileVolume:456) 
2017-05-26 11:19:39,373+0100 ERROR (tasks/5) [storage.Volume] Unexpected error 
(volume:1107) 
2017-05-26 11:19:39,374+0100 ERROR (tasks/5) [storage.TaskManager.Task] 
(Task='5b2adb9a-e24e-48fa-9f01-f21c23588aef') Unexpected error (task:870) 

glusterfs 
[2017-05-26 10:53:08.247219] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.164 
(----) [No data available] 
[2017-05-26 10:53:14.899499] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.167 
(----) [No data available] 
[2017-05-26 10:53:14.899526] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 167 
failed. Base file gfid = 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data 
available] 
[2017-05-26 10:53:19.712567] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.169 
(----) [No data available] 
[2017-05-26 10:53:19.712614] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 169 
failed. Base file gfid = 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data 
available] 
[2017-05-26 10:53:29.419317] W [MSGID: 114031] 
[client-rpc-fops.c:2933:client3_3_lookup_cbk] 0-gv2-client-0: remote operation 
failed. Path: /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.173 
(----) [No data available] 
[2017-05-26 10:53:29.419369] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 173 
failed. Base file gfid = 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data 
available] 


thanks 


De: "Sahina Bose"  
Para: supo...@logicworks.pt, "Krutika Dhananjay"  
Cc: "ovirt users"  
Enviadas: Quinta-feira, 25 De Maio de 2017 7:12:40 
Assunto: Re: [ovirt-users] vm has been paused due to unknown storage 

The glusterfs logs contain below errors: 
[2017-05-22 18:12:50.941883] E [MSGID: 133010] 
[shard.c:1725:shard_common_lookup_shards_cbk] 0-gv2-shard: Lookup on shard 50 
failed. Base file gfid = 33f1fe3e-c626-49f2-861e-2259c972931d [No data 
available] 
[2017-05-22 18:12:50.945085] W [fuse-bridge.c:1291:fuse_err_cbk] 
0-glusterfs-fuse: 61306713: FSYNC() ERR => -1 (No data available) 

Krutika, could you take a look? 

On Thu, May 25, 2017 at 1:02 AM, < supo...@logicworks.pt > wrote: 



Hi, 

I setup an ovirt hosted enine, in only one server with local gluster bricks. 

When running a MS SQL 2012 process to rebuild a data base, which take around 4 
hours, after a while the VM is paused with the error: 
vm has been paused due to unknown storage 

The VM disk is in Thin provision

Ovirt and gluter versions:

Version 4.1.1.8-1.el7.centos

glusterfs-cli-3.8.11-1.el7.x86_64
glusterfs-libs-3.8.11-1.el7.x86_64
glusterfs-3.8.11-1.el7.x86_64
glusterfs-client-xlators-3.8.11-1.el7.x86_64
glusterfs-fuse-3.8.11-1.el7.x86_64
glusterfs-api-3.8.11-1.el7.x86_64
glusterfs-server-3.8.11-1.el7.x86_64 

I can find the reason why 
The logs are attached. 

Any idea? 

Thanks 

-- 

Jose Ferradeira 
http://www.logicworks.pt 

___ 
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] VDSM fails after a while

2017-05-26 Thread Michal Skrivanek

> On 26 May 2017, at 12:07, nico...@devels.es wrote:
> 
> Hi,
> 
> We recently upgraded vdsm on a host using the webadmin. After activating it, 
> it kept failing so we tried to activate it back via 'systemctl start vdsmd'.
> 
> # systemctl start vdsmd
> Job for vdsmd.service failed because the control process exited with error 
> code. See "systemctl status vdsmd.service" and "journalctl -xe" for details.
> 
> Having a look at the status of the process I see:
> 
> # systemctl status vdsmd
> ● vdsmd.service - Virtual Desktop Server Manager
>   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
> preset: enabled)
>   Active: failed (Result: start-limit) since vie 2017-05-26 11:02:41 WEST; 
> 14s ago
>  Process: 25018 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --pre-start (code=exited, status=1/FAILURE)
> 
> may 26 11:02:40 systemd[1]: Failed to start Virtual Desktop Server Manager.
> may 26 11:02:40 systemd[1]: Unit vdsmd.service entered failed state.
> may 26 11:02:40 systemd[1]: vdsmd.service failed.
> may 26 11:02:41 systemd[1]: vdsmd.service holdoff time over, scheduling 
> restart.
> may 26 11:02:41 systemd[1]: start request repeated too quickly for 
> vdsmd.service
> may 26 11:02:41 systemd[1]: Failed to start Virtual Desktop Server Manager.
> may 26 11:02:41 systemd[1]: Unit vdsmd.service entered failed state.
> may 26 11:02:41 systemd[1]: vdsmd.service failed.
> 
> To check what happened I run the vdsm_init_common.sh script by myself and saw:
> 
> # /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
> vdsm: Running mkdirs
> vdsm: Running configure_coredump
> vdsm: Running configure_vdsm_logs
> vdsm: Running wait_for_network
> vdsm: Running run_init_hooks
> vdsm: Running upgraded_version_check
> vdsm: Running check_is_configured
> Current revision of multipath.conf detected, preserving
> lvm is configured for vdsm
> libvirt is not configured for vdsm yet
> Modules sebool, passwd, libvirt are not configured

so when that happens, can you check the content of e.g. 
/etc/libvirt/libvirtd.conf if it contains the vdsm config at the end? Is it 
replaced by something you may run in your environment? Are there other packages 
pending upgrade?

Thanks,
michal

> Error:
> 
> One of the modules is not configured to work with VDSM.
> To configure the module use the following:
> 'vdsm-tool configure [--module module-name]'.
> 
> If all modules are not configured try to use:
> 'vdsm-tool configure --force'
> (The force flag will stop the module's service and start it
> afterwards automatically to load the new configuration.)
> 
> 
> vdsm: stopped during execute check_is_configured task (task returned with 
> error code 1).
> 
> -
> 
> I run the 'vdsm-tool configure --force' command, it ends successfully and 
> after that I can start the vdsmd process. But... after a while it fails again 
> and I need to re-run the same command all the time.
> 
> Is this a known bug? any temporary workaround?
> 
> Versions:
> 
> vdsm-4.19.15-1.el7.centos.x86_64
> libvirt-2.0.0-10.el7_3.5.x86_64
> 
> Thanks.
> 
> Regards.
> 
> 
> ___
> 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


[ovirt-users] VDSM fails after a while

2017-05-26 Thread nicolas

Hi,

We recently upgraded vdsm on a host using the webadmin. After activating 
it, it kept failing so we tried to activate it back via 'systemctl start 
vdsmd'.


# systemctl start vdsmd
Job for vdsmd.service failed because the control process exited with 
error code. See "systemctl status vdsmd.service" and "journalctl -xe" 
for details.


Having a look at the status of the process I see:

# systemctl status vdsmd
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; 
vendor preset: enabled)
   Active: failed (Result: start-limit) since vie 2017-05-26 11:02:41 
WEST; 14s ago
  Process: 25018 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
--pre-start (code=exited, status=1/FAILURE)


may 26 11:02:40 systemd[1]: Failed to start Virtual Desktop Server 
Manager.

may 26 11:02:40 systemd[1]: Unit vdsmd.service entered failed state.
may 26 11:02:40 systemd[1]: vdsmd.service failed.
may 26 11:02:41 systemd[1]: vdsmd.service holdoff time over, scheduling 
restart.
may 26 11:02:41 systemd[1]: start request repeated too quickly for 
vdsmd.service
may 26 11:02:41 systemd[1]: Failed to start Virtual Desktop Server 
Manager.

may 26 11:02:41 systemd[1]: Unit vdsmd.service entered failed state.
may 26 11:02:41 systemd[1]: vdsmd.service failed.

To check what happened I run the vdsm_init_common.sh script by myself 
and saw:


# /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
vdsm: Running mkdirs
vdsm: Running configure_coredump
vdsm: Running configure_vdsm_logs
vdsm: Running wait_for_network
vdsm: Running run_init_hooks
vdsm: Running upgraded_version_check
vdsm: Running check_is_configured
Current revision of multipath.conf detected, preserving
lvm is configured for vdsm
libvirt is not configured for vdsm yet
Modules sebool, passwd, libvirt are not configured
Error:

One of the modules is not configured to work with VDSM.
To configure the module use the following:
'vdsm-tool configure [--module module-name]'.

If all modules are not configured try to use:
'vdsm-tool configure --force'
(The force flag will stop the module's service and start it
afterwards automatically to load the new configuration.)


 vdsm: stopped during execute check_is_configured task (task returned 
with error code 1).


-

I run the 'vdsm-tool configure --force' command, it ends successfully 
and after that I can start the vdsmd process. But... after a while it 
fails again and I need to re-run the same command all the time.


Is this a known bug? any temporary workaround?

Versions:

vdsm-4.19.15-1.el7.centos.x86_64
libvirt-2.0.0-10.el7_3.5.x86_64

Thanks.

Regards.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Cloud-init] fail on CentOS

2017-05-26 Thread Michal Skrivanek

> On 25 May 2017, at 22:25, Yaniv Kaul  wrote:
> 
> 
> 
> On Thu, May 25, 2017 at 2:40 PM, TranceWorldLogic . 
> > wrote:
> Hi,
> 
> OS: CentOS 6.8
> 
> For me , cloud-init is failing but not getting idea where.
> Would you please help me to enable logs of cloud-init ?

the el6 versions used to have quite a lot of bugs…is it up to date?
Check the oVirt side is ok first (it should be) - the guest should have a CDROM 
attached with the cloud-init content. Maybe you can run it interactively once 
the guest boots and see if there is some wrong/obsolete option

Thanks,
michal

> 
> cloud-init.log file is empty and I have also verified 
> /etc/cloud/cloud.cfg.d/05_logging.cfg.
> It is default and look to me correct.
> 
> Anything in the guest's /var/log/messages ?
> Y.
>  
> 
> 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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users