[Users] hosted engine help
by Jason Brooks
Hey everyone, I've been testing out oVirt 3.4 w/ hosted engine, and
while I've managed to bring the engine up, I've only been able to do it
manually, using "hosted-engine --vm-start".
The ovirt-ha-agent service fails reliably for me, erroring out with
"RequestError: Request failed: success."
I've pasted error passages from the ha agent and vdsm logs below.
Any pointers?
Regards, Jason
***
ovirt-ha-agent.log
MainThread::CRITICAL::2014-03-06
18:48:30,622::agent::103::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Could not start ha-agent
Traceback (most recent call last):
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 97, in run
self._run_agent()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 154, in _run_agent
hosted_engine.HostedEngine(self.shutdown_requested).start_monitoring()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 303, in start_monitoring
for old_state, state, delay in self.fsm:
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/fsm/machine.py", line 125, in next
new_data = self.refresh(self._state.data)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/state_machine.py", line 77, in refresh
stats.update(self.hosted_engine.collect_stats())
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 623, in collect_stats
constants.SERVICE_TYPE)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 171, in get_stats_from_storage
result = self._checked_communicate(request)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 198, in _checked_communicate
raise RequestError("Request failed: {0}".format(msg))
RequestError: Request failed: success
vdsm.log
Thread-29::ERROR::2014-03-06 18:48:11,101::API::1607::vds::(_getHaInfo)
failed to retrieve Hosted Engine HA info
Traceback (most recent call last):
File "/usr/share/vdsm/API.py", line 1598, in _getHaInfo
stats = instance.get_all_stats()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", line 86, in get_all_stats
constants.SERVICE_TYPE)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 171, in get_stats_from_storage
result = self._checked_communicate(request)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 198, in _checked_communicate
raise RequestError("Request failed: {0}".format(msg))
RequestError: Request failed: success
10 years, 8 months
[Users] run once via ovirt-shell 3.3?
by Sven Kieske
Hi,
I'm just trying to figure out how to use run-once via
shell..
[oVirt shell (connected)]# action vm vm_name start --run-once
does not work, and there is no help for "action vm start"..
Does anybody have an idea on how to use run once
via shell and how to pass cloud-init data over it?
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years, 8 months
[Users] Vds broker
by Koen Vanoppen
Hi Guys,
I already send a issue with the vds for a specific host,
but now my engine.log is spitting even more errors...
Any Ideas whats happening?
10 years, 8 months
Re: [Users] [Pulp-list] unable to remove rpm
by Koen Vanoppen
damnit yes :-). Sorry!!! :-)
2014-03-25 12:13 GMT+01:00 Yedidyah Bar David <didi(a)redhat.com>:
> Wrong list ? :-)
> --
> Didi
>
> ------------------------------
>
> *From: *"Koen Vanoppen" <vanoppen.koen(a)gmail.com>
> *To: *"Alex Leonhardt" <alex.tuxx(a)gmail.com>, users(a)ovirt.org
> *Sent: *Tuesday, March 25, 2014 1:08:10 PM
> *Subject: *Re: [Users] [Pulp-list] unable to remove rpm
>
>
>
> You have this error after you have removed the rpm? If it is possible for
> you, could you lpease try to restart your server? And check again.
>
> Kind regrads
>
>
> 2014-03-25 11:29 GMT+01:00 Alex Leonhardt <alex.tuxx(a)gmail.com>:
>
>> Aha, seems to be gone now - or at least it's no longer on the webpage,
>> but when I run publish on that repo again - I get this now:
>>
>>
>> +----------------------------------------------------------------------+
>> Publishing Repository [#reponame#]
>> +----------------------------------------------------------------------+
>>
>> This command may be exited by pressing ctrl+c without affecting the actual
>> operation on the server.
>>
>> Publishing packages...
>> [==================================================] 100%
>> Packages: 5/5 items
>> Individual errors encountered during publishing:
>>
>> An unexpected error has occurred. More information can be found in the
>> client
>> log file ~/.pulp/admin.log.
>>
>>
>> admin.log:
>> TypeError: list indices must be integers, not str
>> 2014-03-25 10:22:32,280 - ERROR - Client-side exception occurred
>> Traceback (most recent call last):
>> File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py",
>> line 478, in run
>> exit_code = Cli.run(self, args)
>> File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 966, in run
>> exit_code = command_or_section.execute(self.prompt, remaining_args)
>> File
>> "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py",
>> line 224, in execute
>> return self.method(*arg_list, **clean_kwargs)
>> File
>> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py",
>> line 221, in run
>> status.display_task_status(self.context, self.renderer, task_id)
>> File
>> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py",
>> line 41, in display_task_status
>> _display_status(context, renderer, task_list)
>> File
>> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py",
>> line 95, in _display_status
>> _display_task_status(context, renderer, task.task_id,
>> quiet_waiting=quiet_waiting)
>> File
>> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py",
>> line 122, in _display_task_status
>> renderer.display_report(response.response_body.progress)
>> File
>> "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line
>> 74, in display_report
>> self.render_packages_step(progress_report)
>> File
>> "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line
>> 282, in render_packages_step
>> render_itemized_in_progress_state(self.prompt, data, _('packages'),
>> self.packages_bar, state)
>> File
>> "/usr/lib/python2.6/site-packages/pulp_rpm/common/status_utils.py", line
>> 119, in render_itemized_in_progress_state
>> error_msg = error['error']
>>
>>
>> I also did another
>>
>> $ pulp-admin orphan remove --all
>> Request accepted
>>
>> and tried to publish again, with the same result/s.
>>
>>
>>
>> Alex
>>
>>
>>
>>
>>
>>
>> On 25 March 2014 10:09, Koen Vanoppen <vanoppen.koen(a)gmail.com> wrote:
>>
>>> What happens when you remove the file from /var/lib/pulp/content/rpm/ ?
>>>
>>> Just an idea...
>>>
>>> Kind regards,
>>>
>>> Koen
>>>
>>>
>>> 2014-03-25 10:47 GMT+01:00 Alex Leonhardt <alex.tuxx(a)gmail.com>:
>>>
>>>> hi,
>>>>
>>>> for some odd reason i've stopped being able to remove a RPM from one of
>>>> our repositories - the actions / checks seem to be returning OK although
>>>> the RPM is not being removed.
>>>>
>>>> STR:
>>>>
>>>> login to pulp with
>>>> $ pulp-admin login -u admin -p therealpassword
>>>>
>>>> remove the rpm with
>>>> $ pulp-admin rpm repo remove rpm --repo-id #reponame# --match
>>>> filename=#fullfilename#
>>>> Output:
>>>> Progress on this task can be viewed using the commands under "repo
>>>> tasks".
>>>>
>>>> check progress with
>>>> $ pulp-admin repo tasks list --repo-id #reponame#
>>>> Output:
>>>> +----------------------------------------------------------------------+
>>>> Tasks
>>>> +----------------------------------------------------------------------+
>>>>
>>>> Operations: unassociate
>>>> Resources: #reponame# (repository)
>>>> State: Successful
>>>> Start Time: 2014-03-25T09:42:19Z
>>>> Finish Time: 2014-03-25T09:42:19Z
>>>> Result: N/A
>>>> Task Id: 4c8f6ea7-eedd-46fe-bf58-6bc0824ed3fc
>>>>
>>>> check if rpm is now orphaned:
>>>> $ pulp-admin orphan list --details
>>>> +----------------------------------------------------------------------+
>>>> Summary
>>>> +----------------------------------------------------------------------+
>>>>
>>>> Total: 0
>>>>
>>>> ok, so lets try and re-publish the repo and check again
>>>>
>>>> $ pulp-admin rpm repo publish run --repo-id=#reponame#
>>>> +----------------------------------------------------------------------+
>>>> Publishing Repository [#reponame#]
>>>> +----------------------------------------------------------------------+
>>>>
>>>> This command may be exited by pressing ctrl+c without affecting the
>>>> actual
>>>> operation on the server.
>>>>
>>>> Publishing packages...
>>>> [==================================================] 100%
>>>> Packages: 5/5 items
>>>> ... completed
>>>>
>>>> Publishing distributions...
>>>> [==================================================] 100%
>>>> Distributions: 0/0 items
>>>> ... completed
>>>>
>>>> Generating metadata
>>>> [-]
>>>> ... completed
>>>>
>>>> Publishing repository over HTTPS
>>>> [-]
>>>> ... completed
>>>>
>>>> Publishing repository over HTTP
>>>> [-]
>>>> ... completed
>>>>
>>>>
>>>> so the 5/5 items tells me (as there are 5 rpms including the one i want
>>>> to remove in the repo), it didnt work, still
>>>>
>>>> so let's check if it was orphaned now
>>>>
>>>> $ pulp-admin orphan list --details
>>>> +----------------------------------------------------------------------+
>>>> Summary
>>>> +----------------------------------------------------------------------+
>>>>
>>>> Total: 0
>>>>
>>>> So, still not able to remove the RPM !
>>>>
>>>> What am I doing wrong ? What do you need ? Pulp logs ??
>>>>
>>>> Alex
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pulp-list mailing list
>>>> Pulp-list(a)redhat.com
>>>> https://www.redhat.com/mailman/listinfo/pulp-list
>>>>
>>>
>>>
>>
>>
>> --
>> | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
>> www.vsearchcloud.com |
>>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
10 years, 8 months
Re: [Users] [Pulp-list] unable to remove rpm
by Koen Vanoppen
You have this error after you have removed the rpm? If it is possible for
you, could you lpease try to restart your server? And check again.
Kind regrads
2014-03-25 11:29 GMT+01:00 Alex Leonhardt <alex.tuxx(a)gmail.com>:
> Aha, seems to be gone now - or at least it's no longer on the webpage, but
> when I run publish on that repo again - I get this now:
>
>
> +----------------------------------------------------------------------+
> Publishing Repository [#reponame#]
> +----------------------------------------------------------------------+
>
> This command may be exited by pressing ctrl+c without affecting the actual
> operation on the server.
>
> Publishing packages...
> [==================================================] 100%
> Packages: 5/5 items
> Individual errors encountered during publishing:
>
> An unexpected error has occurred. More information can be found in the
> client
> log file ~/.pulp/admin.log.
>
>
> admin.log:
> TypeError: list indices must be integers, not str
> 2014-03-25 10:22:32,280 - ERROR - Client-side exception occurred
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py",
> line 478, in run
> exit_code = Cli.run(self, args)
> File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 966, in run
> exit_code = command_or_section.execute(self.prompt, remaining_args)
> File
> "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py",
> line 224, in execute
> return self.method(*arg_list, **clean_kwargs)
> File
> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py",
> line 221, in run
> status.display_task_status(self.context, self.renderer, task_id)
> File
> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py",
> line 41, in display_task_status
> _display_status(context, renderer, task_list)
> File
> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py",
> line 95, in _display_status
> _display_task_status(context, renderer, task.task_id,
> quiet_waiting=quiet_waiting)
> File
> "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py",
> line 122, in _display_task_status
> renderer.display_report(response.response_body.progress)
> File
> "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line
> 74, in display_report
> self.render_packages_step(progress_report)
> File
> "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line
> 282, in render_packages_step
> render_itemized_in_progress_state(self.prompt, data, _('packages'),
> self.packages_bar, state)
> File "/usr/lib/python2.6/site-packages/pulp_rpm/common/status_utils.py",
> line 119, in render_itemized_in_progress_state
> error_msg = error['error']
>
>
> I also did another
>
> $ pulp-admin orphan remove --all
> Request accepted
>
> and tried to publish again, with the same result/s.
>
>
>
> Alex
>
>
>
>
>
>
> On 25 March 2014 10:09, Koen Vanoppen <vanoppen.koen(a)gmail.com> wrote:
>
>> What happens when you remove the file from /var/lib/pulp/content/rpm/ ?
>>
>> Just an idea...
>>
>> Kind regards,
>>
>> Koen
>>
>>
>> 2014-03-25 10:47 GMT+01:00 Alex Leonhardt <alex.tuxx(a)gmail.com>:
>>
>>> hi,
>>>
>>> for some odd reason i've stopped being able to remove a RPM from one of
>>> our repositories - the actions / checks seem to be returning OK although
>>> the RPM is not being removed.
>>>
>>> STR:
>>>
>>> login to pulp with
>>> $ pulp-admin login -u admin -p therealpassword
>>>
>>> remove the rpm with
>>> $ pulp-admin rpm repo remove rpm --repo-id #reponame# --match
>>> filename=#fullfilename#
>>> Output:
>>> Progress on this task can be viewed using the commands under "repo
>>> tasks".
>>>
>>> check progress with
>>> $ pulp-admin repo tasks list --repo-id #reponame#
>>> Output:
>>> +----------------------------------------------------------------------+
>>> Tasks
>>> +----------------------------------------------------------------------+
>>>
>>> Operations: unassociate
>>> Resources: #reponame# (repository)
>>> State: Successful
>>> Start Time: 2014-03-25T09:42:19Z
>>> Finish Time: 2014-03-25T09:42:19Z
>>> Result: N/A
>>> Task Id: 4c8f6ea7-eedd-46fe-bf58-6bc0824ed3fc
>>>
>>> check if rpm is now orphaned:
>>> $ pulp-admin orphan list --details
>>> +----------------------------------------------------------------------+
>>> Summary
>>> +----------------------------------------------------------------------+
>>>
>>> Total: 0
>>>
>>> ok, so lets try and re-publish the repo and check again
>>>
>>> $ pulp-admin rpm repo publish run --repo-id=#reponame#
>>> +----------------------------------------------------------------------+
>>> Publishing Repository [#reponame#]
>>> +----------------------------------------------------------------------+
>>>
>>> This command may be exited by pressing ctrl+c without affecting the
>>> actual
>>> operation on the server.
>>>
>>> Publishing packages...
>>> [==================================================] 100%
>>> Packages: 5/5 items
>>> ... completed
>>>
>>> Publishing distributions...
>>> [==================================================] 100%
>>> Distributions: 0/0 items
>>> ... completed
>>>
>>> Generating metadata
>>> [-]
>>> ... completed
>>>
>>> Publishing repository over HTTPS
>>> [-]
>>> ... completed
>>>
>>> Publishing repository over HTTP
>>> [-]
>>> ... completed
>>>
>>>
>>> so the 5/5 items tells me (as there are 5 rpms including the one i want
>>> to remove in the repo), it didnt work, still
>>>
>>> so let's check if it was orphaned now
>>>
>>> $ pulp-admin orphan list --details
>>> +----------------------------------------------------------------------+
>>> Summary
>>> +----------------------------------------------------------------------+
>>>
>>> Total: 0
>>>
>>> So, still not able to remove the RPM !
>>>
>>> What am I doing wrong ? What do you need ? Pulp logs ??
>>>
>>> Alex
>>>
>>>
>>>
>>> _______________________________________________
>>> Pulp-list mailing list
>>> Pulp-list(a)redhat.com
>>> https://www.redhat.com/mailman/listinfo/pulp-list
>>>
>>
>>
>
>
> --
> | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
> www.vsearchcloud.com |
>
10 years, 8 months
[Users] 3.4 GA
by Maurice James
------=_NextPart_000_0098_01CF4799.E1CE0F20
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Did 3.4 GA get released yet?
------=_NextPart_000_0098_01CF4799.E1CE0F20
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Did 3.4 GA get released =
yet?<o:p></o:p></p></div></body></html>
------=_NextPart_000_0098_01CF4799.E1CE0F20--
10 years, 8 months
[Users] Correct way to change graphics adapter?
by mad
Hi,
What is the proper way to change the graphics adapter of a VM? I know
that oVirt uses qemu and I know qemu configuration, but where in oVirt
do I change it?
I found VDSM-Hooks/qemucmdline, but that can't be the correct way?
Can I change the qemu xml somewhere?
TIA
mad
10 years, 8 months
[Users] php on jboss
by aditya mamidwar
i need a php file to execute some bash scripts on the server, but when i
integrate the ui-plugin ot the ovirt portal, it does not find path to my
.php file.
I have the HTML where as .PHP residing in the same location, can someone
guide on uploading PHP files on JBOSS server, since ovirt runs on it..
if i want to run a PHP file, where should i save it?
--
-Aditya Mamidwar
10 years, 8 months
Re: [Users] vdi
by Antoni Segura Puimedon
----- Original Message -----
> From: "Maurice James" <midnightsteel(a)msn.com>
> To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> Sent: Saturday, March 22, 2014 12:15:31 AM
> Subject: RE: [Users] vdi
>
> Not pxe boot the vm, but boot a thin client to make use of a vm running on
> oVirt. Is that possible?
I have never tried, but I guess making a minimal linux image booting the thin client
to the browser, which should be pointing to the user portal login page should be
good.
>
> -----Original Message-----
> From: Antoni Segura Puimedon [mailto:asegurap@redhat.com]
> Sent: Friday, March 21, 2014 2:14 AM
> To: Maurice James
> Cc: users(a)ovirt.org
> Subject: Re: [Users] vdi
>
>
>
> ----- Original Message -----
> > From: "Maurice James" <midnightsteel(a)msn.com>
> > To: users(a)ovirt.org
> > Sent: Friday, March 21, 2014 12:01:50 AM
> > Subject: [Users] vdi
> >
> >
> >
> > Does anyone have instructions on how to pxe boot a an ovirt hosted vm?
>
> As long as the VM's vNIC is on a VM network that has access to the pxe server
> it should just work (it does for me).
>
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
10 years, 8 months