Hi Jeffrey,

can you run 'gnt-os diagnose' to see if 'fullvirt+debian' is available and
valid on all nodes?

Nevertheless, this should not throw a NoneType error. If gnt-os diagnose
tells you anything suspicious, please report a bug so that we at least can
output a meaningful error message. Thanks!

If gnt-os diagnose does not help, please have a look at the node daemon log
on all nodes (in /var/log/ganeti/node-daemon.log) and the master daemon log
on the master node ( /var/log/ganeti/master-daemon.log). If that shows
where exactly the Exception was thrown, it would help us debugging.

Thanks,
Helga




On Wed, Oct 16, 2013 at 3:32 AM, Jeffrey Silverman <[email protected]
> wrote:

> People,
>
> I did some more testing with different OS Variants, and it does not make a
> difference:
>
> root@kir01gans002:~# gnt-os list
> Name
> fullvirt+debian
> fullvirt+freebsd
> fullvirt+rhel5
> fullvirt+rhel5-x86_64
> fullvirt+ubuntu32
> fullvirt+ubuntu64
> fullvirt+win2k8
> fullvirt+win7
> fullvirt+winxp
> root@kir01gans002:~# /usr/local/lib/ganeti/tools/burnin -o fullvirt+rhel5
> --disk-size 1G  --hypervisor-parameters
> xen-hvm:vnc_bind_address=0.0.0.0,kernel_path=/srv/ganeti/rhel5_install/i386/vmlinuz
> kir01test150.widevine.net
> - Testing global parameters
> - Creating instances
>   * instance kir01test150.widevine.net
>     on kir01gans002.widevine.net, kir01gans003.widevine.net
> - Non-idempotent opcode failed, aborting
> - Error detected: opcode buffer follows:
>
>
> -
> -
>
>
> - Removing instances
> Traceback (most recent call last):
>   File "/usr/local/lib/ganeti/tools/burnin", line 21, in <module>
>     sys.exit(main.Main())
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 1165, in Main
>     return Burner().BurninCluster()
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 1070, in BurninCluster
>     self.BurnCreateInstances()
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 274, in wrapper
>     val = fn(self, *args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 294, in batched
>     val = fn(self, *args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 633, in BurnCreateInstances
>     self.ExecOrQueue(instance, [op],
> post_process=remove_instance(instance))
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 402, in ExecOrQueue
>     val = self.ExecOp(self.queue_retry, *ops) # pylint: disable=W0142
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 394, in ExecOp
>     return self.MaybeRetry(rval, "opcode", self._ExecOp, *ops)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 351, in MaybeRetry
>     val = fn(*args)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 376, in _ExecOp
>     results = cli.PollJob(job_id, cl=self.cl, feedback_fn=self.Feedback)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/cli.py", line 2241,
> in PollJob
>     return GenericPollJob(job_id, _LuxiJobPollCb(cl), reporter)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/cli.py", line 2063,
> in GenericPollJob
>     errors.MaybeRaise(msg)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/errors.py", line
> 526, in MaybeRaise
>     raise errcls(*args)
> ganeti.errors.OpExecError: 'NoneType' object has no attribute 'get'
> root@kir01gans002:~# /usr/local/lib/ganeti/tools/burnin -o
> fullvirt+rhel5-x86_64 --disk-size 1G  --hypervisor-parameters
> xen-hvm:vnc_bind_address=0.0.0.0,kernel_path=/srv/ganeti/rhel5_install/i386/vmlinuz
> kir01test150.widevine.net
> - Testing global parameters
> - Creating instances
>   * instance kir01test150.widevine.net
>     on kir01gans002.widevine.net, kir01gans003.widevine.net
> - Non-idempotent opcode failed, aborting
> - Error detected: opcode buffer follows:
>
>
> -
> -
>
>
> - Removing instances
> Traceback (most recent call last):
>   File "/usr/local/lib/ganeti/tools/burnin", line 21, in <module>
>     sys.exit(main.Main())
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 1165, in Main
>     return Burner().BurninCluster()
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 1070, in BurninCluster
>     self.BurnCreateInstances()
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 274, in wrapper
>     val = fn(self, *args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 294, in batched
>     val = fn(self, *args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 633, in BurnCreateInstances
>     self.ExecOrQueue(instance, [op],
> post_process=remove_instance(instance))
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 402, in ExecOrQueue
>     val = self.ExecOp(self.queue_retry, *ops) # pylint: disable=W0142
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 394, in ExecOp
>     return self.MaybeRetry(rval, "opcode", self._ExecOp, *ops)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 351, in MaybeRetry
>     val = fn(*args)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/tools/burnin.py",
> line 376, in _ExecOp
>     results = cli.PollJob(job_id, cl=self.cl, feedback_fn=self.Feedback)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/cli.py", line 2241,
> in PollJob
>     return GenericPollJob(job_id, _LuxiJobPollCb(cl), reporter)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/cli.py", line 2063,
> in GenericPollJob
>     errors.MaybeRaise(msg)
>   File "/usr/local/lib/python2.7/dist-packages/ganeti/errors.py", line
> 526, in MaybeRaise
>     raise errcls(*args)
> ganeti.errors.OpExecError: 'NoneType' object has no attribute 'get'
> root@kir01gans002:~#
>
>
> On Tuesday, October 15, 2013 6:26:21 PM UTC-7, Jeffrey Silverman wrote:
>>
>> People,
>>
>> I am actually making good progress, although I am sure you don't think
>> so.  Tonight's problem is burnin is throwing an AttributeError.
>>
>> root@kir01gans002:~# /usr/local/lib/ganeti/tools/**burnin -o fullvirt+debian 
>> --disk-size 1G  --hypervisor-parameters 
>> xen-hvm:vnc_bind_address=0.0.**0.0,kernel_path=/srv/ganeti/**rhel5_install/i386/vmlinuz
>>  kir01test150.widevine.net
>> - Testing global parameters
>> - Creating instances
>>   * instance kir01test150.widevine.net
>>     on kir01gans002.widevine.net, kir01gans003.widevine.net
>> - Non-idempotent opcode failed, aborting
>> - Error detected: opcode buffer follows:
>>
>>
>> -
>> -
>>
>>
>> - Removing instances
>> Traceback (most recent call last):
>>   File "/usr/local/lib/ganeti/tools/**burnin", line 21, in <module>
>>     sys.exit(main.Main())
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 1165, in Main
>>     return Burner().BurninCluster()
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 1070, in BurninCluster
>>     self.BurnCreateInstances()
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 274, in wrapper
>>     val = fn(self, *args, **kwargs)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 294, in batched
>>     val = fn(self, *args, **kwargs)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 633, in BurnCreateInstances
>>     self.ExecOrQueue(instance, [op], 
>> post_process=remove_instance(**instance))
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 402, in ExecOrQueue
>>     val = self.ExecOp(self.queue_retry, *ops) # pylint: disable=W0142
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 394, in ExecOp
>>     return self.MaybeRetry(rval, "opcode", self._ExecOp, *ops)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 351, in MaybeRetry
>>     val = fn(*args)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/tools/**burnin.py", 
>> line 376, in _ExecOp
>>     results = cli.PollJob(job_id, cl=self.cl, feedback_fn=self.Feedback)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/cli.py", line 2241, 
>> in PollJob
>>     return GenericPollJob(job_id, _LuxiJobPollCb(cl), reporter)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/cli.py", line 2063, 
>> in GenericPollJob
>>     errors.MaybeRaise(msg)
>>   File "/usr/local/lib/python2.7/**dist-packages/ganeti/errors.**py", line 
>> 526, in MaybeRaise
>>     raise errcls(*args)
>> ganeti.errors.OpExecError: 'NoneType' object has no attribute 'get'
>> root@kir01gans002:~#
>>
>>
>>
>>
>>
>> I know that this is an AttributeError exception because I know enough
>> Python to know that NoneType objects have no attributes.   I wonder if the
>> problem is that I am using a fully virtualized debian operating system but
>> a RedHat 5 kernel?
>>
>>
>> Thank you for your continued support.
>>
>>
>> Jeff
>>
>>
>>


-- 
-- 
Helga Velroyen | Software Engineer | [email protected] |

Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to