@olivierlambert I've made the needed adjustment in the build script to override the default. Now I wait for another set of patches to test it.
Thanks all.
Posts made by dsiminiuk
-
RE: Rolling Pool Update - host took too long to restart
-
RE: Rolling Pool Update - host took too long to restart
@DustinB Not a faulty disk. It appears to be memory testing at boot time and at other times after init doing the same thing,
The cluster is a pair of HPE ProLiant DL580 Gen9 servers, each with 2TB of RAM.
Yes, I could turn off memory checking during startup, but I'd rather not.
Danny
-
Rolling Pool Update - host took too long to restart
Rolling pool updates fail because the master is taking too long to restart.
What is considered too long?
Perhaps this should be a setting in the server config to override a default.
In this case, my servers take about 20 minutes to reboot.
Is there a CI I can adjust?pool.rollingUpdate { "pool": "3cfffa75-69ea-7792-a320-92a7cb33f6f8" } { "message": "Host b725c95c-17af-41ae-a9c5-deeb1b7bfc50 took too long to restart", "name": "Error", "stack": "Error: Host b725c95c-17af-41ae-a9c5-deeb1b7bfc50 took too long to restart at Xapi.rollingPoolReboot (file:///opt/xo/xo-builds/xen-orchestra-202404111938/packages/xo-server/src/xapi/mixins/pool.mjs:127:9) at Xapi.rollingPoolUpdate (file:///opt/xo/xo-builds/xen-orchestra-202404111938/packages/xo-server/src/xapi/mixins/patching.mjs:506:5) at XenServers.rollingPoolUpdate (file:///opt/xo/xo-builds/xen-orchestra-202404111938/packages/xo-server/src/xo-mixins/xen-servers.mjs:689:5) at Xo.rollingUpdate (file:///opt/xo/xo-builds/xen-orchestra-202404111938/packages/xo-server/src/api/pool.mjs:231:3) at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202404111938/packages/xo-server/src/xo-mixins/api.mjs:366:20)" }
-
RE: Restoring from backup error: self-signed certificate
@Danp Is it safe to say this is being worked on? I don't want to assume anything.
-
RE: Patching behind a corporate proxy server
@Gheppy A follow up... Patches appeared in XO right after updating the files (prior to an XCP-ng reboot). Just FYI.
-
RE: Patching behind a corporate proxy server
@olivierlambert Not production yet. I'm setting up a proof of concept so that management can see there are alternatives to
VMwareBroadcom. -
Patching behind a corporate proxy server
I have 2 HPE servers and a separate VM with XO built from sources using ronivay's script.
I have the web proxy setup in the XO VM for yarn, apt, and global use and everything works there. I can do apt updates and XO updates.
I am trying to understand what I need to set elsewhere in XCP-ng for patching to work, i.e. detection, download, and deployment. I have set the same proxy used elsewhere for the proxy setting in the master host but I have no idea if that is the correct thing to do or do I need to setup something else on the XO instance?
I think this is the last issue before I can say the environment is ready for prime time.
Thanks
Danny -
RE: How to add a static IP address to a PIF
@olivierlambert Wow too easy. Thank you!
-
How to add a static IP address to a PIF
XCP-ng 8.2.1 release/yangtze/master/58
Xen Orchestra, commit 9cb94
Master, commit 7cb2fI have setup anew on a pair of DL580s (72 CPUs, 2TB RAM). I have SAN HBAs, a 1TB LUN attached with multipath. I have a VLAN for VM network access, all works fine.
I have an additional 10GbE NIC on these machines connected through a switch on a private VLAN and I would like to use this network as a migration network. The PIFs are up but I don't see a way to add IP addresses so that I can use it.
How do you add a static IP to a PIF in XO?
Thanks
Danny -
RE: Hosts have disappeared from XO Web UI
@julien-f @julien-f All I have done is let ronivay's script do the builds daily on schedule if there is a new commit on the master branch. His script has not changed. There have been no new patches to the hosts. I don't have an explanation.
-
RE: Hosts have disappeared from XO Web UI
@olivierlambert as of today the build done on commit 3688e762b (or perhaps the previous, can't be sure) has resolved this issue. I can now see all hosts, online or when offline, and clicking on the hosts from the Pool view takes me to the Hosts list and no longer hangs the page.
-
RE: Hosts have disappeared from XO Web UI
@olivierlambert I moved my pool master to the 2nd host, then rebuilt the 1st, so now both are booting on SSD. Both are updated to latest patches, and still I cannot deploy the XOA appliance over the web, I get the same error as above.
"message": "INVALID_VALUE",
I'm going to stop complaining. I can manage my VMs. Hopefully the issue will appear elsewhere and it can be exposed.
In the meantime I am writing a script on the xo VM with nut-client and xo-cli to shutdown VMs and hosts on power fail, since enabling the epel-release repo is now blocked on XCP-NG.
-
RE: Hosts have disappeared from XO Web UI
@olivierlambert @Finallf @julien-f After a rebuild of my 2nd host everything is fine now. It must have become corrupted during the last rolling pool update.
Please accept my apologies for the fire drill.Ooopsie! Right up until I powered off the 2nd host and now no hosts are showing and the page freezes again.
Oh well. At least I had a chance to swap out spinning hard disks for SSDs during the rebuild of host 2.
-
RE: Hosts have disappeared from XO Web UI
There is definitely something wrong with my 2nd host. It says it is not a member of a pool and the management interface is gone and does not persist even after an Emergency Network reset.
Time to rebuild that machine and I'll report back about XO.
-
RE: Hosts have disappeared from XO Web UI
@olivierlambert I've done rebuilds going back to f77675a8a3590668413ec5bda02030c34b43408a and still the problem persists. I'm suspecting something wrong with the pool master now.
-
RE: Hosts have disappeared from XO Web UI
@olivierlambert I will try that on the new VM I built last night since it is built from sources per your doco. I could not use that for the xo deployed by ronivay's script.
Additional observation: The behavior I see when there is one host online and another offline (web page freezes when clicking the Hosts icon from the Pool view) does NOT happen when both hosts are online (perhaps that there are no hosts offline). This is a clue as to the source of the issue.
Am I really the only user seeing this?
-
RE: Hosts have disappeared from XO Web UI
@julien-f I tried that but got "An error occurred", but I saw at my host's address (after accepting the SSL certificate alert a directed) that it could be deployed from right there so I tried that and got another error.
If you can give me the master commits from newest to oldest over the last two weeks I can try those one at a time. I have no idea how to find them.
-
RE: Hosts have disappeared from XO Web UI
I've managed to get the build from sources to work and it does EXACTLY the same thing.
That excludes the XenServerInstallerUpdater as being the problem. -
RE: Hosts have disappeared from XO Web UI
@olivierlambert
I tried to build from sources at the link you provided and there are instructions missing or things not obvious to me.
From /root I did git clone.
cd packages/xo-server
"Note: If you're installing xo-server as a global service, you may want to copy the file to /etc/xo-server/config.toml instead."
OK, I want to d othat so I cp sample.config.toml /etc/xo-server/ <- this directory does not exist
So I crated it and copied it there, but that is the only file there now.
Then I went back to /root/xen-orchestra/packages/xo-server
yarn startyarn run v1.22.19 $ node dist/cli.mjs 2023-06-07T02:17:09.370Z xo:main INFO Configuration loaded. 2023-06-07T02:17:09.378Z xo:main INFO Web server listening on http://[::]:80 2023-06-07T02:17:09.379Z xo:main INFO User changed to root 2023-06-07T02:17:10.165Z xo:mixins:hooks WARN start failure { error: Error: spawn xenstore-read ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xenstore-read', path: 'xenstore-read', spawnargs: [ 'vm' ], cmd: 'xenstore-read vm' } } 2023-06-07T02:17:10.230Z xo:mixins:hooks WARN start failure { error: Error: Command failed with exit code 5: vgchange -an Logical volume ubuntu-vg/ubuntu-lv contains a filesystem in use. Can't deactivate volume group "ubuntu-vg" with 1 open logical volume(s) at makeError (file:///root/xen-orchestra/packages/xo-server/node_modules/execa/lib/error.js:59:11) at handlePromise (file:///root/xen-orchestra/packages/xo-server/node_modules/execa/index.js:124:26) { shortMessage: 'Command failed with exit code 5: vgchange -an', command: 'vgchange -an', escapedCommand: 'vgchange -an', exitCode: 5, signal: undefined, signalDescription: undefined, stdout: '', stderr: ' Logical volume ubuntu-vg/ubuntu-lv contains a filesystem in use.\n' + ` Can't deactivate volume group "ubuntu-vg" with 1 open logical volume(s)`, failed: true, timedOut: false, isCanceled: false, killed: false } } 2023-06-07T02:17:10.427Z xo:main INFO Setting up / → /etc/xo/xo-web/dist/
When I went to the Web address I got
"Cannot GET /"