[ACTION REQUIRED] upgrade to Fedora 27 for otopi on master
by Greg Sheremeta
[changing subject]
Looks like we all have to upgrade Fedora devel machines to Fedora 27.
Greg
On Wed, Feb 28, 2018 at 11:05 AM, Yedidyah Bar David <didi(a)redhat.com>
wrote:
> (Adding devel, was asked twice already)
>
> On Wed, Feb 28, 2018 at 4:52 PM, Eli Mesika <emesika(a)redhat.com> wrote:
> > Hi Didi
> >
> > I am getting :
> >
> >
> > ***L:ERROR Internal error: type object 'Stages' has no attribute
> > 'ANSWER_FILE_GENERATED'
> > Traceback (most recent call last):
> > File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 88, in
> > main
> > installer.execute()
> > File "/usr/lib/python2.7/site-packages/otopi/main.py", line 153, in
> > execute
> > sys.exc_info()[2],
> > File "/usr/lib/python2.7/site-packages/otopi/util.py", line 81, in
> > raiseExceptionInformation
> > exec('raise info[1], None, info[2]')
> > File "/usr/lib/python2.7/site-packages/otopi/main.py", line 147, in
> > execute
> > self.context.loadPlugins()
> > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 859, in
> > loadPlugins
> > self._loadPluginGroups(plugindir, needgroups, loadedgroups)
> > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 113, in
> > _loadPluginGroups
> > self._loadPlugins(path, path, groupname)
> > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70, in
> > _loadPlugins
> > self._loadPlugins(base, d, groupname)
> > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70, in
> > _loadPlugins
> > self._loadPlugins(base, d, groupname)
> > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 101, in
> > _loadPlugins
> > os.path.basename(path),
> > File "/usr/lib/python2.7/site-packages/otopi/util.py", line 105, in
> > loadModule
> > mod_desc
> > File
> > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/
> setup/bin/../plugins/ovirt-engine-common/base/core/__init__.py",
> > line 24, in <module>
> > from . import answerfile
> > File
> > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/
> setup/bin/../plugins/ovirt-engine-common/base/core/answerfile.py",
> > line 38, in <module>
> > class Plugin(plugin.PluginBase):
> > File
> > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/
> setup/bin/../plugins/ovirt-engine-common/base/core/answerfile.py",
> > line 60, in Plugin
> > otopicons.Stages.ANSWER_FILE_GENERATED,
> > PluginLoadException: type object 'Stages' has no attribute
> > 'ANSWER_FILE_GENERATED'
> >
>
> Please update otopi.
>
> If you are on fedora, you'll need to upgrade to fc27 first.
>
> Good luck,
> --
> Didi
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
6 years, 6 months
Inventory Analyzer
by Jason Bryant
Hello,
I have attempted a few times to upload a log-collector which has a
confirmed DB in it but I continually get the following error:
An internal error occurred:
('analyzer failed, rc=%s, err=%r', 255, 'Unable to detect the database dump from sosreport, aborting..\n')
See logs for full stacktrace.
Thank you,
Jason
6 years, 6 months
Re: [ovirt-devel] [rhev-devel] Fwd: [ACTION REQUIRED] upgrade to Fedora 27 for otopi on master
by Yedidyah Bar David
(Re-adding devel)
On Thu, Mar 1, 2018 at 4:52 AM, Greg Sheremeta <gshereme(a)redhat.com> wrote:
> Setup worked for me immediately after upgrade. I'll forward you my repos in
> a separate email.
>
> This was an interesting sequence:
>
> greg@dauntless:/etc/yum.repos.d % sudo dnf update otopi -y
> Failed to synchronize cache for repo 'region51-chrome-gnome-shell',
> disabling.
> Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
> Last metadata expiration check: 0:29:21 ago on Wed 28 Feb 2018 09:16:13 PM
> EST.
> Package otopi available, but not installed.
> No match for argument: otopi
> Error: No packages marked for upgrade.
> greg@dauntless:/etc/yum.repos.d % sudo dnf install otopi -y
> Failed to synchronize cache for repo 'region51-chrome-gnome-shell',
> disabling.
> Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
> Last metadata expiration check: 0:29:36 ago on Wed 28 Feb 2018 09:16:13 PM
> EST.
> Package python2-otopi-1.8.0-0.0.master.20180228112959.git6eccc31.fc27.noarch
> is already installed, skipping.
> Dependencies resolved.
> Nothing to do.
> Complete!
Adding Yuval for review.
Yuval recently re-introduced python3 support to otopi, and following the
fedora python packaging guidelines. Yuval, reading the guidelines again,
it seems like it's valid to keep the package name 'otopi' and make it
Provide: python2-otopi, instead of the opposite. WDYT?
>
>
>
> On Wed, Feb 28, 2018 at 5:20 PM, Alexander Wels <awels(a)redhat.com> wrote:
>>
>> On Wednesday, February 28, 2018 12:02:11 PM EST Greg Sheremeta wrote:
>>
>> > ---------- Forwarded message ----------
>>
>> > From: Greg Sheremeta <gshereme(a)redhat.com>
>>
>> > Date: Wed, Feb 28, 2018 at 12:01 PM
>>
>> > Subject: [ACTION REQUIRED] upgrade to Fedora 27 for otopi on master
>>
>> > To: Yedidyah Bar David <didi(a)redhat.com>
>>
>> > Cc: Eli Mesika <emesika(a)redhat.com>, devel <devel(a)ovirt.org>
>>
>> >
>>
>> >
>>
>> > [changing subject]
>>
>> >
>>
>> > Looks like we all have to upgrade Fedora devel machines to Fedora 27.
>>
>> >
>>
>> > Greg
>>
>> >
>>
>>
>>
>> I upgraded to F27 and now I am getting something about:
>>
>>
>>
>> [awels@awels ovirt-engine]$ ./bin/engine-setup
>> ***L:ERROR Internal error: No module named ovirt_setup_lib
>>
>> I tried removing ovirt-engine, and re-installing it, and dnf is telling
>> me:
>>
>>
>>
>> Error:
>> Problem: conflicting requests
>> - nothing provides rubygem-fluent-plugin-rewrite-tag-filter needed by
>> ovirt-engine-4.3.0-0.0.master.20180225182524.git8b8f3a52a6.fc27.noarch
>> - nothing provides rubygem-fluent-plugin-rewrite-tag-filter needed by
>> ovirt-engine-4.3.0-0.0.master.20180226201906.git5831910bef.fc27.noarch
>> - nothing provides rubygem-fluent-plugin-rewrite-tag-filter needed by
>> ovirt-engine-4.3.0-0.0.master.20180227170348.git8b617da448.fc27.noarch
>>
>> What am I missing repo wise?
>>
>>
>>
>> > On Wed, Feb 28, 2018 at 11:05 AM, Yedidyah Bar David <didi(a)redhat.com>
>>
>> >
>>
>> > wrote:
>>
>> > > (Adding devel, was asked twice already)
>>
>> > >
>>
>> > > On Wed, Feb 28, 2018 at 4:52 PM, Eli Mesika <emesika(a)redhat.com>
>> > > wrote:
>>
>> > > > Hi Didi
>>
>> > > >
>>
>> > > > I am getting :
>>
>> > > >
>>
>> > > >
>>
>> > > > ***L:ERROR Internal error: type object 'Stages' has no attribute
>>
>> > > > 'ANSWER_FILE_GENERATED'
>>
>> > > >
>>
>> > > > Traceback (most recent call last):
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 88,
>> > > > in
>>
>> > > >
>>
>> > > > main
>>
>> > > >
>>
>> > > > installer.execute()
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/main.py", line 153, in
>>
>> > > >
>>
>> > > > execute
>>
>> > > >
>>
>> > > > sys.exc_info()[2],
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/util.py", line 81, in
>>
>> > > >
>>
>> > > > raiseExceptionInformation
>>
>> > > >
>>
>> > > > exec('raise info[1], None, info[2]')
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/main.py", line 147, in
>>
>> > > >
>>
>> > > > execute
>>
>> > > >
>>
>> > > > self.context.loadPlugins()
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 859,
>> > > > in
>>
>> > > >
>>
>> > > > loadPlugins
>>
>> > > >
>>
>> > > > self._loadPluginGroups(plugindir, needgroups, loadedgroups)
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 113,
>> > > > in
>>
>> > > >
>>
>> > > > _loadPluginGroups
>>
>> > > >
>>
>> > > > self._loadPlugins(path, path, groupname)
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70,
>> > > > in
>>
>> > > >
>>
>> > > > _loadPlugins
>>
>> > > >
>>
>> > > > self._loadPlugins(base, d, groupname)
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 70,
>> > > > in
>>
>> > > >
>>
>> > > > _loadPlugins
>>
>> > > >
>>
>> > > > self._loadPlugins(base, d, groupname)
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 101,
>> > > > in
>>
>> > > >
>>
>> > > > _loadPlugins
>>
>> > > >
>>
>> > > > os.path.basename(path),
>>
>> > > >
>>
>> > > > File "/usr/lib/python2.7/site-packages/otopi/util.py", line 105, in
>>
>> > > >
>>
>> > > > loadModule
>>
>> > > >
>>
>> > > > mod_desc
>>
>> > > >
>>
>> > > > File
>>
>> > > >
>>
>> > > > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/setup
>>
>> > >
>>
>> > > /bin/../plugins/ovirt-engine-common/base/core/__init__.py",
>>
>> > >
>>
>> > > > line 24, in <module>
>>
>> > > >
>>
>> > > > from . import answerfile
>>
>> > > >
>>
>> > > > File
>>
>> > > >
>>
>> > > > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/setup
>>
>> > >
>>
>> > > /bin/../plugins/ovirt-engine-common/base/core/answerfile.py",
>>
>> > >
>>
>> > > > line 38, in <module>
>>
>> > > >
>>
>> > > > class Plugin(plugin.PluginBase):
>>
>> > > > File
>>
>> > > >
>>
>> > > > "/home/emesika/ovirt-engine-1481197/share/ovirt-engine/setup
>>
>> > >
>>
>> > > /bin/../plugins/ovirt-engine-common/base/core/answerfile.py",
>>
>> > >
>>
>> > > > line 60, in Plugin
>>
>> > > >
>>
>> > > > otopicons.Stages.ANSWER_FILE_GENERATED,
>>
>> > > >
>>
>> > > > PluginLoadException: type object 'Stages' has no attribute
>>
>> > > > 'ANSWER_FILE_GENERATED'
>>
>> > >
>>
>> > > Please update otopi.
>>
>> > >
>>
>> > > If you are on fedora, you'll need to upgrade to fc27 first.
>>
>> > >
>>
>> > > Good luck,
>>
>> > > --
>>
>> > > Didi
>>
>> > > _______________________________________________
>>
>> > > Devel mailing list
>>
>> > > Devel(a)ovirt.org
>>
>> > > http://lists.ovirt.org/mailman/listinfo/devel
>>
>>
>>
>>
>
>
--
Didi
6 years, 6 months
[ OST Failure Report ] [ oVirt 4.2/Master (ovirt-engine-metrics) ] [ 28-02-2018 ] [ 002_bootstrap.verify_add_hosts]
by Dafna Ron
Hi,
We have a failure in test 002_bootstrap.verify_add_hosts.
the issue seems to be a miss-configured role in ansible
*Link and headline of suspected patches: *
*Remove use of end_play and fail module -
https://gerrit.ovirt.org/#/c/88250/
<https://gerrit.ovirt.org/#/c/88250/>Link to
Job:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/
<http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/>Link to
all
logs:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/artif...
<http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/artifacts>(Relevant)
error snippet from the log: <error>*
2018-02-28 05:01:29,984 p=17139 u=ovirt | TASK
[oVirt.ovirt-include-vars-files : Include oVirt metrics config.yml.d
vars directory] ***
2018-02-28 05:01:30,007 p=17139 u=ovirt | ok:
[lago-basic-suite-4-2-host-0 -> localhost] => {
"ansible_facts": {},
"ansible_included_var_files": [],
"changed": false
}
2018-02-28 05:01:30,016 p=17139 u=ovirt | TASK
[oVirt.ovirt-initial-validations/validate-config-yml : If output
plugin is elasticsearch, validate host address is set] ***
2018-02-28 05:01:30,047 p=17139 u=ovirt | changed:
[lago-basic-suite-4-2-host-0 -> localhost] => {}
MSG:
ERROR oVirt Metrics store is not configured. This host will not be
configured to send metrics
2018-02-28 05:01:30,056 p=17139 u=ovirt | TASK
[oVirt.ovirt-initial-validations/validate-config-yml : If output
plugin is fluentd, validate host address is set] ***
2018-02-28 05:01:30,073 p=17139 u=ovirt | skipping:
[lago-basic-suite-4-2-host-0] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
2018-02-28 05:01:30,082 p=17139 u=ovirt | TASK
[oVirt.ovirt-initial-validations/validate-config-yml : Validate
viaq_metrics_store parameter is set] ***
2018-02-28 05:01:30,111 p=17139 u=ovirt | changed:
[lago-basic-suite-4-2-host-0 -> localhost] => {}
MSG:
ERROR viaq_metrics_store parameter is mandatory. Please set the
parameter to 'true' or 'false'.
2018-02-28 05:01:30,119 p=17139 u=ovirt | TASK
[oVirt.ovirt-initial-validations/validate-config-yml : Validate
viaq_metrics_store parameter] ***
2018-02-28 05:01:30,137 p=17139 u=ovirt | skipping:
[lago-basic-suite-4-2-host-0] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
2018-02-28 05:01:30,146 p=17139 u=ovirt | TASK
[oVirt.ovirt-initial-validations/validate-config-yml : Validate
openshift_deployment_type parameter is set] ***
2018-02-28 05:01:30,168 p=17139 u=ovirt | fatal:
[lago-basic-suite-4-2-host-0]: FAILED! => {}
MSG:
The conditional check 'viaq_metrics_store == true' failed. The error
was: error while evaluating conditional (viaq_metrics_store == true):
'viaq_metrics_store' is undefined
The error appears to have been in
'/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.ovirt-initial-validations/validate-config-yml/tasks/main.yml':
line 48, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: "Validate openshift_deployment_type parameter is set"
^ here
*</error>*
*Thanks, Dafna*
6 years, 6 months