[ovirt-users] Re: oVirt Node install - kickstart postintall
Can you send over the whole %post segment i via pastebin? I think i've run across something similar that i addressed, but just want to be sure. Brad Riemann Sr. System Architect Cloud5 Communications From: jeanbapti...@nfrance.com Sent: Friday, January 11, 2019 1:51:14 AM To: users@ovirt.org Subject: [ovirt-users] oVirt Node install - kickstart postintall CAUTION: This email originated from outside of CLOUD5. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hello everybody, Since days, I'm trying to install oVirt (via Foreman) in network mode (TFTP net install). All is great, but I want to make some actions in postinstall (%post). Some actions are relatated to /etc/sysconfig/network-interfaces and another action is related to root authorized_keys. When I try to add pub-key to a created authorized_keys for root, I work (verified into anaconda. But after installation and anaconda reboot, I've noticed all my %post actions in /(root) are discared. After reboot, there is nothing in /root/.ssh for example. Whereas, in /etc, all my modications are preserved. I thought to a Selinux relative issue, but It is not relative to Selinux I miss something. Please can you help to understand how oVirt install / partition work ? thanks for all ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/BCQEKHCPSFDEFDPI4OVSXRTJS3BSJH5R/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/TGT7K3N245SH37OIKCTG75WI5PM46OOI/
[ovirt-users] Re: Help - "No Default Route show in Ovirt Engine"
> After create data center,cluster try install the host in ovirt engine it show > the error > "Hosts has no Default Route" but both the Engine and Ovirt node ping. At same > time try Register Ovirt Node to Ovirt engine It shows "Please provide valid > oVirt > engine fully qualified domain name (FQDN) and port (443 by default)" but i am > use > hpervisor.eipl.com with port 443 Check the host, does the ovirtmgmt bridge have the management ip or does one of the physical interfaces? I used to see this when i was trying to automate the setup of the host, for some reason the ovirtmgmt bridge never setup correct out of the box and thus never took the management ip which is why it thinks there is no default route. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/TAJG6BIQMFJZQMUQ7R6UAKLXOQTFPYO7/
[ovirt-users] Re: Ovirt Python - SDK
What version of the sdk are you using? Are you running this on an non-ovirt server/workstation? Can you list out the packages installed for *ovirt* ? Brad Riemann Sr. System Architect Cloud5 Communications brad.riem...@cloud5.com<mailto:brad.riem...@cloud5.com> ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/F4OPSFQJWGACZWJUML4J2Y6GNPU5FSI6/
[ovirt-users] Re: PythonSDK 4.2.8 issues updating cdrom iso of a vm.
So this is all on me, but i'm following up to my own thread in-case someone ends up being as boneheaded as me. In my case I was supplying the value of the iso id dynamically from a config file, what I did not notice until I did some basic listings side by side, after performing the api action and after running the gui update, was a clear as day difference in the name of the iso being referenced. This explains why it would never choose the correct iso (in the gui) and why the error referenced "Invalid ISO image path". Now i'll be adding validation that checks available ISOs in the domain, and if the name doesn't match an available iso it throws an error in the logs. Live and learn, sigh. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/DFMA7MNGFYIL3VRLQM2P4XDTQZTYUWWR/
[ovirt-users] PythonSDK 4.2.8 issues updating cdrom iso of a vm.
Hello, I am currently fighting with attaching an iso to a vm's cdrom. There are two isos in the iso domain (A-Iso-Installer.iso and The-Iso-Installer.iso for our purposes), I can confirm the iso domain is attached to the cluster and everything is green. When attempting to attach the iso to the vm, I can see the pre and post output of the "/ovirt-engine/api/vms//cdroms" request, it shows the file id changing according to what the iso domain has available. However, whenever i attempt to power on the vm, from either the api or through the web interface, I get "Invalid ISO image path". Editing the vm through the web interface reveals that the "Attach CD" dropdown has selected the first iso ("A-Iso-Installer.iso", and I am trying to use the second). I ran a list against the cdrom service, found no issues with the xml that was returned. I confirmed that listing out available isos on the iso domain results in the expected id that I matched in the cdrom service of the vm from the api. If I ch oose the correct iso from the gui and save, the output looks the same as the api listing. Before and After gist: https://gist.github.com/robotman321/909255cbdc36fa62b730a953807f7397 The code im using to set the cdrom is the following: https://gist.github.com/robotman321/35617c96b96b329d5d1476e015aa9898 I did note that when i would run the update api code, it does change SOMETHING as when i go into the web interface the "Attach CD" value has gone back to the top value in the dropdown (the wrong iso). Has anyone seen this before, please tell me it's right in front of me, any help is appreciated. Thank you, Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/NBYCK56MQK4PRDCMKRROXFYMGGGO2X4L/
[ovirt-users] Re: nul interface error when engine is creating ovirtmgmt bridge post-deployment
For those that may come across this thread with the same issues ive been encountering, I found a workaround to my related NAT issue (use at your own risk). 1. I included the setup of the bridge in the ovirt kickstart, due to the differences in hardware ill be dealing with I turned off Consistent Naming. 2. I have a custom process that re-enables the ovirtmgmt bridge using the API. I haven't confirmed if step one is required, theoretically you could wait until the host is put into non-operational mode, list out the host and grab the interface marked as "up" (that is, if your setup is simple like mine where we only use one port AND it has established the interface listing, I honestly don't think it does until its online the first time, TBD.). Then you can plug the primary interface in to the host_service.setup_networks() function (python sdk) and it would create the bridge. For my process I wait until the api reports the interfaces available on the unit, taking the one that's up and passing it along to my setup functions which rebuilds the ovirtmgmt bridge per ovirt's specs. 3. Lastly I run through each of the networks assigned to the cluster and add them through the api, I assumed that they wouldn't be added automatically after the host gets marked as non-operational so I force the addition via api. Hope that helps. -Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/HUCPY5QOYC4VQIA4NPULXMLCSOAGZBM2/
[ovirt-users] Re: nul interface error when engine is creating ovirtmgmt bridge post-deployment
> On Thu, 11 Oct 2018 16:00:37 - > "Brad Riemann" wrote: > > > Ack, host behind the nat does not work, the IP address of NIC or bridge > on the node has to match the IP address used to add the node in Engine. > > > No, but the initial setup fails to detect the NIC or bridge to > configure. > > > I regret that nat on both sides will not work. Hah.. Confirmed what I figured, thank you. I'll chalk it up to a bug(?) that i can get the network working if I use the GUI, in the future if something goes sideways i'll start with it being behind a NAT, first. Thanks for taking the time Dominik. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/DP4VOELFZO6KVZJ6WMMB2RFBXX6WZCFB/
[ovirt-users] Re: nul interface error when engine is creating ovirtmgmt bridge post-deployment
> On Wed, 10 Oct 2018 16:27:38 - > "Brad Riemann" wrote: > > > This is correct. > > > The physical interface (or bridge) which has the IP address used to add > the host is used for ovirtmgmt during the initial host setup. > For some reason oVirt does not detect the NIC or birdge which has the expected > IP address. > Is there an physical interface on the host with the IP address used to add > the host to oVirt? > Would you please share the line containing > [api.host] FINISH getCapabilities return > of /var/log/vdsm.log on the host and the IP address used to add the host to > oVirt? > Ah.. crude.. yeah the node is behind a nat too, so it's probably looking at the public ip and can't find it so errors out. I'll send you an email directly with this line, I'm not to keen on letting our subnets be shown on the net, but you can share among the rhel team if need be. > > > OVN will not work, because the ovn-controller on the host has to > connect to ovn-central on Engine's host. > To prevent ovn-controller to try to connect to the ovn-central, the > default network provider should be disabled in this cluster. Based on your last comment in the response i'll bet that being behind the nat answers my issue in general. Supplying the logs anyway for sanity but i'm betting that because i'm initiating the update of the logical networks from the GUI it takes a different approach to push down the changes than the initial setup? The more I think about it the less sense it makes since it SHOULD use the same delivery methods, no? And before anyone calls me ridiculous for having this connectivity go through a nat on both sides, I know, I inherited the methodology and am trying to work within confines that I am allowed. Anywho, here goes, thanks for the reply appreciate the feedback GREATLY. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/JODZ7JJUOGMRNLRH3BDJBKIQUDP3EEPA/
[ovirt-users] nul interface error when engine is creating ovirtmgmt bridge post-deployment
Hello again, I've been working on an automated solution that uses the API to add a host on first boot, the code checks out (or maybe it doesn't), however I can confirm that the ovirt engine works through adding all requirements of a host properly except when it gets to setting up the bridge on the new node. The following link contains the log lines from the engine.log file, I can confirm that if I go to the engine web interface, I see my two interfaces on the new node, em1 and em2 (this is a Dell R420 server), and I can click on the "Setup Host Networks" button. The proceeding dialog window gives me the ability to drag over the ovirtmgmt logical interface onto the active physical interface and once saved I can see the engine go to work on setting up the bridge without an issue. My understanding is that this is supposed to be an automated process (which is what i'm going for), might someone be able to help me understand why im seeing the error I am? Am I just missing something from the api standpo int that is supposed to tell the system which physical interface it needs to use for building the ovirtmgmt bridge on top of? One thing to note (it shouldn't matter I don't think) but the engine is behind a nat, communicating over a vpn to the new node. I have to nat traffic from the engine so the ip address seen is different than what was supplied to the ansible playbook, i'm not familiar with ansible nor the playbooks used to know if that will have adverse impacts such as i'm seeing in the logs. Logs: https://pastebin.com/UC4WfBix Thank you in advance, Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/7SXE4KGIWU3P4LTWBVBVWXXSDLWCZS7Z/
[ovirt-users] Re: Ovirt attach serial port on VM
Alex, Have you developed a solution for this? I find myself in a similar situation.. -Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/MVQVIU4Z7DDSD5UGAA7VJXJZRDQQBBPB/
[ovirt-users] Re: Few questions for seasoned oVirt experts
Thanks for the feedback guys, knowing that up to 400 was tested was a huge bump for my purposes. I've gotten ManageIQ online and connected to the ovirt engine, thanks for that suggestion this will work just fine. Hopefully autoregistration is still feasible, ill be going off assumptions that i'll have to create something to automate the registration process for now. Again, thank you for the responses, incredibly helpful! -Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/PWIWZCIYGQERHWA443SZNXNG6CKSUDPX/
[ovirt-users] Re: Few questions for seasoned oVirt experts
Sandro, Thank you for the link, that question is answered. I'll clearly have to figure out a solution that works around our particular requirements and constraints. -Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/TI5ZRHLEFYPKCM73LAM744Q5MM5I7RRT/
[ovirt-users] Re: Few questions for seasoned oVirt experts
Thanks Sandro! I saw ManageIQ, it might be a better solution if we had more nodes in each datacenter which resulted in a larger footprint, however my use case would only see one oVirt node per datacenter where we were looking at a possibility of 3k nodes, would that be too many for an oVirt engine to handle? (we wouldn't have resource limitations due to using with a cloud provider for scale-ability). If I ended up having to put oVirt engine instances in each datacenter we'd have basically a 1:1 node to engine ratio, not the end of the world and possibly easier to use but it would induce some complexities to the deployment strategy i'm working on. Again, thank you! -Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/BD6KSHQ2NW7RYM2VN7IJPSFM2MCQ3LSN/
[ovirt-users] Few questions for seasoned oVirt experts
Hello Everyone, I'm new to oVirt so I was hoping I could pick the brains of those that may have been around the product longer than myself. To start, I am leveraging oVirt 4.2, so all questions will be centered around them. 1. I am looking to utilize the ovirt engine for managing potentially thousands of datacenters, has anyone experienced large scale deployments or many-multi datacenter installations all managed under the same engine? FWIW: There will only be 1-2 servers per datacenter, with one cluster and 5-10 vNic assignments per cluster. 2. Has anyone dealt with the auto registration/approval process with oVirt engine? I'm finding various documentation from different generations of oVirt, but haven't felt comfortable with what i've found since my instance doesn't seem to have features that i'm reading about. My goal is to ship servers to a site with a basic image and when it boots up it reaches out to our ovirt engine, in turn I can automate a validation of pending approval requests based on host criteria, i'm just struggling to figure out if the automatic registration is even a thing in the latest version. thank you in advance, I appreciate any feedback on the matter. -Brad ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/KCADYPT6A3R2OWXVXDQRDWH6UJAYSIDH/