Re: engine UI add user failed
by dhy336@sina.com
hi,I already write a UI plugin, But do not how to use the ovirt-aaa-jdbc-tool? i find I do not call shell in javascript, can you give me some advise?----- Original Message -----
From: Andrej Krejcir <akrejcir(a)redhat.com>
To: dhy336(a)sina.com
Cc: users <users(a)ovirt.org>
Subject: Re: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 20:04
The UI supports plugins. So you could maybe write a plugin, that would then use the ovirt-aaa-jdbc-tool.
I don't know much about UI plugins, but here is some info:https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Inte...
On 1 June 2018 at 13:46, <dhy336(a)sina.com> wrote:
Hi,why don't add a function that create usres using the web UI, has the engine API for create users in web UI
we want to create users using the web ui, can you give me some advise?----- Original Message -----
From: Andrej Krejcir <akrejcir(a)redhat.com>
To: dhy336(a)sina.com
Cc: users <users(a)ovirt.org>
Subject: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 17:22
Hi,
Users are not created using the UI. Ovirt can be connected to various external user domains.The UI can then be used to assign permissions to existing users or groups.
Here is the documentation:https://www.ovirt.org/documentation/admin-guide/chap-Users_...
The 'ovirt-aaa-jdbc-tool' can be used to create users locally.
Andrej
On 1 June 2018 at 09:46, <dhy336(a)sina.com> wrote:
Hi I want to add user by engine UI,but failed. is it need other soft package, or should I do ?
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E37HA64XX7Z...
6 years, 5 months
Disk permission denied
by gsswzt@pku.edu.cn
Hi,
When I run a vm on hosted engine with iSCSI data domain.
I got this problem.
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-82) [] EVENT_ID: VM_DOWN_ERROR(119), VM test is down with error. Exit message: internal error: qemu unexpectedly closed the monitor: 2018-06-04T06:56:02.186441Z qemu-kvm: -drive file=/rhev/data-center/mnt/blockSD/3351735d-b82e-4199-8060-5bec2861cff9/images/4bd79a82-ac55-435d-a11d-903b945d634d/c2fbe548-980b-49e4-9792-0dc6dbdff267,format=raw,if=none,id=drive-scsi0-0-0,serial=4bd79a82-ac55-435d-a11d-903b945d634d,cache=none,werror=stop,rerror=stop,aio=native: Could not open '/rhev/data-center/mnt/blockSD/3351735d-b82e-4199-8060-5bec2861cff9/images/4bd79a82-ac55-435d-a11d-903b945d634d/c2fbe548-980b-49e4-9792-0dc6dbdff267': Permission denied.
I found this : https://bugzilla.redhat.com/show_bug.cgi?id=1150243
# getsebool -a | grep virt
staff_use_svirt --> off
unprivuser_use_svirt --> off
virt_read_qemu_ga_data --> off
virt_rw_qemu_ga_data --> off
virt_sandbox_use_all_caps --> on
virt_sandbox_use_audit --> on
virt_sandbox_use_fusefs --> off
virt_sandbox_use_mknod --> off
virt_sandbox_use_netlink --> off
virt_sandbox_use_sys_admin --> off
virt_transition_userdomain --> off
virt_use_comm --> off
virt_use_execmem --> off
virt_use_fusefs --> on
virt_use_glusterd --> off
virt_use_nfs --> on
virt_use_rawip --> off
virt_use_samba --> on
virt_use_sanlock --> on
virt_use_usb --> on
virt_use_xserver --> off
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
Thank you !
6 years, 5 months
How to increase the total space of storage domain
by Pym
Hi:
In the management page of the web, the total space of the domain added to the storage domain page cannot specify a specific value.
The total space value is determined by a specific code function based on the configuration parameters of the physical machine, or is it a fixed value? Is there any way to modify this value?
After I create multiple virtual machines, this space is not enough to continue to create virtual machines. How can I solve this problem?
Thank you.
6 years, 5 months
What are the steps to upgrade the 4.1 to 4.2?
by Arman Khalatyan
Hello everybody,
I wondered if one could first upgrade the engine machine before
upgrading the hosts.
Is the engine 4.2.x is backwards compatible with 4.1.x?
Thanks,
Arman.
6 years, 5 months
Re: ui error
by Benny Zlotnik
Are you able to move the disk?
Can you open a bug?
On Sun, Jun 3, 2018 at 1:35 PM, Arsène Gschwind <arsene.gschwind(a)unibas.ch>
wrote:
> I'm using version : 4.2.3.8-1.el7 the latest version.
>
>
> On Sun, 2018-06-03 at 12:59 +0300, Benny Zlotnik wrote:
>
> Which version are you using?
>
> On Sun, 3 Jun 2018, 12:57 Arsène Gschwind, <arsene.gschwind(a)unibas.ch>
> wrote:
>
> Hi,
>
> in the UI error log ui.log i do get a lot of those errors:
>
> 2018-06-03 10:57:17,486+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-52) [] Permutation name: AEA766696E550914FBFDA5936BC98453
> 2018-06-03 10:57:17,486+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-52) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException:
> (TypeError) : Cannot read property 'G' of null
> at org.ovirt.engine.ui.uicommonweb.models.storage.
> DisksAllocationModel.$lambda$1(DisksAllocationModel.java:107)
> at org.ovirt.engine.ui.uicommonweb.models.storage.
> DisksAllocationModel$lambda$1$Type.onSuccess(
> DisksAllocationModel.java:107)
> at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:227)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> OperationProcessor$1.$onSuccess(OperationProcessor.java:133)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> OperationProcessor$1.onSuccess(OperationProcessor.java:133)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270)
> [frontend.jar:]
> at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.
> onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
> at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233)
> [gwt-servlet.jar:]
> at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409)
> [gwt-servlet.jar:]
> at Unknown.eval(webadmin-0.js)
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
> [gwt-servlet.jar:]
> at Unknown.eval(webadmin-0.js)
>
>
> This error also appears when tying to migrate a VM disk to another SD.
> Any idea why this happens?
>
> regards,
> Arsène
>
> --
>
>
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> |
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> CH-4056 Basel
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> |
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> Switzerland
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> Tel. +41 79 449 25 63 | http://its.unibas.ch
> ITS-ServiceDesk: support-its(a)unibas.ch | +41 61 267 14 11
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/F3JZZHGZYAEXN33TON46LWF3IQNK7KUM/
>
> --
>
>
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> |
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> CH-4056 Basel
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> |
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> Switzerland
> <https://maps.google.com/?q=Klingelbergstr.+70+%7C+CH-4056+Basel+%7C+Switz...>
> Tel. +41 79 449 25 63 | http://its.unibas.ch
> ITS-ServiceDesk: support-its(a)unibas.ch | +41 61 267 14 11
>
6 years, 5 months
Disk permission denied
by gsswzt@pku.edu.cn
Hi,
When I run a vm on hosted engine with iSCSI data domain.
I got this problem.
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-82) [] EVENT_ID: VM_DOWN_ERROR(119), VM test is down with error. Exit message: internal error: qemu unexpectedly closed the monitor: 2018-06-04T06:56:02.186441Z qemu-kvm: -drive file=/rhev/data-center/mnt/blockSD/3351735d-b82e-4199-8060-5bec2861cff9/images/4bd79a82-ac55-435d-a11d-903b945d634d/c2fbe548-980b-49e4-9792-0dc6dbdff267,format=raw,if=none,id=drive-scsi0-0-0,serial=4bd79a82-ac55-435d-a11d-903b945d634d,cache=none,werror=stop,rerror=stop,aio=native: Could not open '/rhev/data-center/mnt/blockSD/3351735d-b82e-4199-8060-5bec2861cff9/images/4bd79a82-ac55-435d-a11d-903b945d634d/c2fbe548-980b-49e4-9792-0dc6dbdff267': Permission denied.
Thank you !
6 years, 5 months
Re: engine UI add user failed
by dhy336@sina.com
Hi Andrejthanks,could i compile ovirt-engnie-extension-aaa-jdbc as a jar, I call i by gwt to add "add users" web UI?----- Original Message -----
From: Andrej Krejcir <akrejcir(a)redhat.com>
To: dhy336(a)sina.com
Cc: users <users(a)ovirt.org>
Subject: Re: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 20:04
The UI supports plugins. So you could maybe write a plugin, that would then use the ovirt-aaa-jdbc-tool.
I don't know much about UI plugins, but here is some info:https://www.ovirt.org/documentation/admin-guide/appe-oVirt_User_Inte...
On 1 June 2018 at 13:46, <dhy336(a)sina.com> wrote:
Hi,why don't add a function that create usres using the web UI, has the engine API for create users in web UI
we want to create users using the web ui, can you give me some advise?----- Original Message -----
From: Andrej Krejcir <akrejcir(a)redhat.com>
To: dhy336(a)sina.com
Cc: users <users(a)ovirt.org>
Subject: Re: [ovirt-users] engine UI add user failed
Date: 2018-06-01 17:22
Hi,
Users are not created using the UI. Ovirt can be connected to various external user domains.The UI can then be used to assign permissions to existing users or groups.
Here is the documentation:https://www.ovirt.org/documentation/admin-guide/chap-Users_...
The 'ovirt-aaa-jdbc-tool' can be used to create users locally.
Andrej
On 1 June 2018 at 09:46, <dhy336(a)sina.com> wrote:
Hi I want to add user by engine UI,but failed. is it need other soft package, or should I do ?
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E37HA64XX7Z...
6 years, 5 months
VM status and issue with cloud_init
by 03ce007@gmail.com
Some what new to the VM and Ovirt world here and need some help understanding terminologies and get the VM to work as per requirement.
I have a self-hosted-engine (4.2) running on centos (7.4). The engine is in good health and I have deployed a test VM using below playbook successfully. It is currently in "up" state.
- name: oVirt Self-Hosted-Engine - Manage VMs
hosts: hypervisor_ovirt
gather_facts: false
vars_files:
# Contains encrypted `engine_password` varibale using ansible-vault
- ovirt-secrets.yml
vars:
engine_url: https://engine-ovirt.dw/ovirt-engine/api
engine_user: admin@internal
engine_cafile: /etc/pki/ovirt-engine/ca.pem
mytest_vm:
cluster: Default
memory: 64GiB
memory_guaranteed: 1GiB
cores: 2
nics:
- name: vnet0
network: ovirtmgmt
profile: ovirtmgmt
interface: virtio
wait: true
domain: node.dev.dw
os_type: rhel_7x64
ssh_key: ssh-rsa AAA...LGx user01@mytestvm
root_password: super_password
disks:
- size: 20GiB
name: data
storage_domain: hosted_storage
interface: virtio
bootable: true
nics:
- name: vnet0
network: ovirtmgmt
profile: ovirtmgmt
interface: virtio
vms:
- name: mytest_vm
tag: mytest_vm
profile: "{{ mytest_vm }}"
cloud_init:
dns_servers:
- 10.90.x.1
- 10.90.x.1
nic_boot_protocol: static
nic_ip_address: 10.90.x.y
nic_netmask: 255.255.255.0
nic_gateway: 10.90.x.z
nic_name: eth0
nic_on_boot: true
host_name: mytestvm.test.dw
custom_script: |
write_files:
- content: |
Hello, world!
path: /tmp/greeting.txt
permissions: '0644'
user_name: root
root_password: super_password
cloud_init_persist: true
roles:
- oVirt.vm-infra
Above playbook runs fine, but when i see summary using ovirt4.py, i do not see ipaddr for this test vm.
- I do not see the ipaddr for this VM despite specifying it using cloud_init
- does the "up" status mean it has "booted" or I need to do something else to boot it with centos 7.4 minimal
Thank you in advance.
6 years, 5 months
ui error
by Arsène Gschwind
Hi,
in the UI error log ui.log i do get a lot of those errors:
2018-06-03 10:57:17,486+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-52) [] Permutation name: AEA766696E550914FBFDA5936BC98453
2018-06-03 10:57:17,486+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-52) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'G' of null
at org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$lambda$1(DisksAllocationModel.java:107)
at org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel$lambda$1$Type.onSuccess(DisksAllocationModel.java:107)
at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227) [frontend.jar:]
at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:227) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270) [frontend.jar:]
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233) [gwt-servlet.jar:]
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js)
This error also appears when tying to migrate a VM disk to another SD.
Any idea why this happens?
regards,
Arsène
--
Arsène Gschwind
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 | CH-4056 Basel | Switzerland
Tel. +41 79 449 25 63 | http://its.unibas.ch <http://its.unibas.ch/>
ITS-ServiceDesk: support-its(a)unibas.ch<mailto:support-its@unibas.ch> | +41 61 267 14 11
6 years, 5 months